Timothy Appnel > XML-Atom-Syndication > XML::Atom::Syndication::Link

Download:
XML-Atom-Syndication-0.942.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  3
View/Report Bugs
Source  

NAME ^

XML::Atom::Syndication::Link - class representing an Atom link

DESCRIPTION ^

A link defines a reference from an entry or feed to a Web resource.

METHODS ^

XML::Atom::Syndication::Link is a subclass of XML::Atom::Syndication:::Object that it inherits a number of methods from. You should already be familiar with this base class before proceeding.

All of these accessors return a string. You can set these attributes by passing in an optional string.

href

The link's IRI. Link elements must have an href attribute.

hreflang

The language of the resource pointed to by the href attribute.

length

An advisory length of the linked content in octets; it is a hint about the content length of the representation returned when the IRI is dereferenced.

rel

Indicates the link relation type. Atom defines five initial values for the rel attribute: alternate, related, self, enclosure, via.

title

Conveys human-readable information about the link.

type

An advisory media type; it is a hint about the type of the representation that is expected to be returned when the value of the href attribute is dereferenced.

AUTHOR & COPYRIGHT ^

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

syntax highlighting: