Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
XML::RSS::Parser::FeedUser Contributed Perl DocumentaXML::RSS::Parser::Feed(3)

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([$encoding])
	   Alias to the	"channel" element's "as_xml" method which outputs the
	   XML of the entire feed including a standard XML 1.0 declaration. An
	   optional encoding can be defined.  The default encoding is 'utf-8'.

       $feed->query
	   A pass-thru to the root element's "query" method.

AUTHOR & COPYRIGHT
       Please see the XML::RSS::Parser manpage for author, copyright, and
       license information.

POD ERRORS
       Hey! The	above document had some	coding errors, which are explained
       below:

       Around line 54:
	   =begin without a target?

       Around line 119:
	   '=end' without a target?

perl v5.32.0			  2005-11-18	     XML::RSS::Parser::Feed(3)

NAME | METHODS | AUTHOR & COPYRIGHT | POD ERRORS

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=XML::RSS::Parser::Feed&sektion=3&manpath=FreeBSD+12.2-RELEASE+and+Ports>

home | help