The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

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

VERSION

version 0.092840

CLASSES THAT INHERIT US

ATTRIBUTES

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

  Andreas Marienborg <andremar@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2009 by Andreas Marienborg.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.