| XML-Atom-Ext-Media documentation | view source | Contained in the XML-Atom-Ext-Media distribution. |
XML::Atom::Ext::Media::Base - Stuff shared between group and content
version 0.092840
Returns the title for a <media:group> or <media:content>
Returns the description for a <media:group> or <media:content>
Returns the keywords string for a <media:group> or <media:content>
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.
Like thumbnail, but will in SCALAR context return an arrayref.
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.
Will return an ARRAYREF in SCALAR context, otherwise like category
Returns the namescpare for this node, the same as for element_ns in XML::Atom::Ext::Media.
Implemented in the subclasses.
Returns the name of the namespaced element we represent, like group for <media:group>
Andreas Marienborg <andremar@cpan.org>
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.
| XML-Atom-Ext-Media documentation | view source | Contained in the XML-Atom-Ext-Media distribution. |