XML::Atom::Ext::Media::Base - Stuff shared between group and content


XML-Atom-Ext-Media documentation  | view source Contained in the XML-Atom-Ext-Media distribution.

Index


NAME

Top

XML::Atom::Ext::Media::Base - Stuff shared between group and content

VERSION

Top

version 0.092840

CLASSES THAT INHERIT US

Top

* XML::Atom::Ext::Media::Group
* XML::Atom::Ext::Media::Content

title

Returns the title for a <media:group> or <media:content>

description

Returns the description for a <media:group> or <media:content>

keywords

Returns the keywords string for a <media:group> or <media:content>

thumbnail

In SCALAR context it returns the first <media:thumbnail> we find in this <media:group> or <media:content>.

In LIST context it will return all of them.

thumbnails

Like thumbnail, but will in SCALAR context return an arrayref.

category

Will in SCALAR context return the first <media:category> as an XML::Atom::Category, and will in LIST context return an array of all such objects.

categories

Will return an ARRAYREF in SCALAR context, otherwise like category

element_ns

Returns the namescpare for this node, the same as for element_ns in XML::Atom::Ext::Media.

element_name

Implemented in the subclasses.

Returns the name of the namespaced element we represent, like group for <media:group>

AUTHOR

Top

  Andreas Marienborg <andremar@cpan.org>

COPYRIGHT AND LICENSE

Top


XML-Atom-Ext-Media documentation  | view source Contained in the XML-Atom-Ext-Media distribution.