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

FreeBSD Manual Pages

  
 
  

home | help
XML::Feed::Content(3) User Contributed Perl DocumentationXML::Feed::Content(3)

NAME
       XML::Feed::Content - Wrapper for	content	objects

SYNOPSIS
	   my $content = $entry->content;
	   print $content->body;

DESCRIPTION
       XML::Feed::Content represents a content object in an XML::Feed::Entry
       entry in	a syndication feed. This could be a _description_ element in
       an RSS feed, a _content_	element	in an Atom feed, etc. In other words,
       any element where knowing both the actual data and the type of data is
       useful.

USAGE
   wrap
       Take params and turn them into a	XML::Feed::Content object.

   new
       A synonym for wrap.

   $content->body
       The actual data.

   $content->type
       The MIME	type of	the content in body.

       This is really only useful in Atom feeds, because RSS feeds do not
       specify the type	of content included in an entry. In RSS	feeds,
       generally the MIME type defaults	to text/html.

   $content->base
       The url base of the content.

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

perl v5.32.0			  2019-02-06		 XML::Feed::Content(3)

NAME | SYNOPSIS | DESCRIPTION | USAGE | AUTHOR & COPYRIGHT

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

home | help