GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  XML::FEED::CONTENT (3)

.ds Aq ’

NAME

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

CONTENTS

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 <B>typeB> of data is useful.

USAGE

    wrap

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

    new

A synonym for wrap.

CW$content->body

The actual data.

CW$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.

CW$content->base

The url base of the content.

AUTHOR & COPYRIGHT

Please see the XML::Feed manpage for author, copyright, and license information.
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 XML::FEED::CONTENT (3) 2015-12-14

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.