Timothy Appnel > XML-RAI-1.2 > XML::RSS::Parser::Feed

Download:
XML-RAI-1.2.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  1
View Bugs
Report a bug
Source   Latest Release: XML-RAI-1.21

NAME ^

XML::RSS::Parser::Feed -- the root element of a parsed RSS feed.

METHODS ^

XML::RSS::Parser::Feed->new

Constructor. Returns a XML::RSS::Parser::Feed object.

$feed->rss_namespace_uri

Returns the namespace URI the RSS elements are in, if at all. This is important since different RSS namespaces are in use. Return a null string if a namespace cannot be determined or was not defined at all in the feed.

$feed->item_count

Returns an integer representing the number of item elements in the feed.

ALIAS METHODS

$feed->channel

Returns a reference to the channel element object.

$feed->items

Returns an array of reference to item elements object.

$feed->image

Returns a reference to the image object if one exists.

$feed->as_xml

Alias to the channel element's as_xml method which outputs the XML of the entire feed. (See the as_xml method in XML::RSS::Parser::Element for more detail.)

SEE ALSO ^

XML::RSS::Parser, XML::RSS::Parser::Element, XML::SimpleObject

AUTHOR & COPYRIGHT ^

Please see the XML::RAI manpage for author, copyright, and license information.