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 \s-1RSS\s0 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. The actual data. The \s-1MIME\s0 type of the content in body.

This is really only useful in Atom feeds, because \s-1RSS\s0 feeds do not specify the type of content included in an entry. In \s-1RSS\s0 feeds, generally the \s-1MIME\s0 type defaults to text/html. The url base of the content.

AUTHOR & COPYRIGHT

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