Quick Navigator

Search Site

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

Contact Us
Online Help
Domain Status
Man Pages

Virtual Servers

Topology Map

Server Agreement
Year 2038

USA Flag



Man Pages
XML::Atom::Syndication::Content(3) User Contributed Perl Documentation XML::Atom::Syndication::Content(3)

XML::Atom::Syndication::Content - class representing Atom entry content.

The content element either contains or links to the content of the entry. The content of this element is Language-Sensitive.

XML::Atom::Syndication::Content is a subclass of XML::Atom::Syndication::Object that it inherits numerous methods from. You should already be familiar with this base class before proceeding.
The constructor of XML::Atom::Syndication::Content acts like any other subclass of XML::Atom::Syndication::Object recognizing "Elem", "Namespace" and "Version" elements in the optional HASH that can be passed. This class also recognizes "Body" and "Type" elements in the hash which map to the like named methods.
You can also pass in a string instead of a HASH. This string will be used as the body of the content and stored as escaped content.
NOTE: If you pass in a string it will be stored as escaped content. In other words, Base64 and XML content cannot use this shorthand. Instead developers should pass a Body and Type element in a hash.
An accessor to set the body of the content if any. If a src attribute has been defined the body should be empty.
NOTE: You must set the content type before you set the body in order for the content to be stored properly. As per section of the Atom Syndication Format specification, content processing is determined by the type attribute regardless of what the actual content is. The body method will not attempt to determine the format of content, it will simply reference the type attribute and process it accordingly. If type has not been defined then it is treated as escaped text.
The format of the content. The value of type may be one "text", "html", or "xhtml". Failing that, it must conform to the syntax of a MIME media type, but not be a composite type. See section 4.2.6 of draft-freed-media-type-reg-04 for more.
This accessor returns a string. You can set this attribute by passing in an optional string.
An IRI that can be used to retrieve the content.
This accessor returns a string. You can set this attribute by passing in an optional string.

Indicates the method used to encode the content. This attribute was present in version 0.3 of the format and removed by version 1.0. It function was assumed by the type attribute and refinements to the content processing model.
This accessor returns a string. You can set this attribute by passing in an optional string.

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

Hey! The above document had some coding errors, which are explained below:
Around line 122:
=begin without a target?
Around line 214:
You forgot a '=back' before '=head1'
Around line 221:
'=end' without a target?
2007-12-31 perl v5.28.1

Search for    or go to Top of page |  Section 3 |  Main Index

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