Web::DOM::AtomLinkElement
The DOM AtomLinkElement object
DESCRIPTION
The Web::DOM::AtomLinkElement class implements the DOM AtomLinkElement interface.
The class is used by the Atom link element.
METHODS
In addition to the methods available for classes Web::DOM::Element and Web::DOM::AtomElement, following methods are available:
$string = $el->href$el->href ($string)-
Return or set the
hrefattribute. [ATOMDOM] $string = $el->hreflang$el->hreflang ($string)-
Return or set the
hreflangattribute. [ATOMDOM] $string = $el->length$el->length ($string)-
Return or set the
lengthattribute. [ATOMDOM] $string = $el->rel$el->rel ($string)-
Return or set the
relattribute. The getter expands the link relation type with no:character by prependinghttp://www.iana.org/assignments/relation/. The setter removes any precedinghttp://www.iana.org/assignments/relation/substring from the new value. [ATOMDOM]Therefore, the
relattribute value of anatom:linkelement whoserelcontent attribute value isselfishttp://www.iana.org/assignments/relation/self. The Atom specification defines that therelattribute valueshttp://www.iana.org/assignments/relation/selfandselfare equivalent. $string = $el->title$el->title ($string)-
Return or set the
titleattribute. [ATOMDOM] $string = $el->thread_count$el->thread_count ($string)-
Return or set the
thr:countattribute. [ATOMDOM] $number = $el->thread_updated$el->thread_updated ($number)-
Return or set the date-time value of the
thr:updatedattribute. The date-time value is represented astime_treal number (i.e. seconds from the Unix epoch). [ATOMDOM] [DOMPERL] $string = $el->type$el->type ($string)-
Return or set the
typeattribute. [ATOMDOM]
DEPENDENCY
For the thread_updated method,
the perl-web-datetime package <https://github.com/manakai/perl-web-datetime> is required.
SPECIFICATIONS
- ATOMDOM
-
Atom DOM
<http://suika.suikawiki.org/www/markup/xml/atomdom>. - DOMPERL
-
manakai's DOM Perl Binding
<http://suika.suikawiki.org/~wakaba/wiki/sw/n/manakai%27s%20DOM%20Perl%20Binding>.
SEE ALSO
AUTHOR
Wakaba <wakaba@suikawiki.org>.
LICENSE
Copyright 2013-2014 Wakaba <wakaba@suikawiki.org>.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.