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 familar 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.

2 POD Errors

The following errors were encountered while parsing the POD:

Around line 15:

=begin without a target?

Around line 78:

'=end' without a target?