HTML::Microformats::Format_Rel(3pm)

HTML::Microformats::Format_Rel3pm

Base rel-* microformat class

Usage

 my @tags = HTML::Microformats::RelTag->extract_all(
                   $doc->documentElement, $context);
 foreach my $tag (@tags)
 {
   print $tag->get_href . "\n";
 }

Overview

HTML::Microformats::Format_Rel inherits from HTML::Microformats::Format. See the base class definition for a description of property getter/setter methods, constructors, etc.

Additional Methods

"$relfoo->get_href()"

Returns the absolute URL of the resource being linked to.

"$relfoo->get_label()"

Returns the linked text of the <a> element. Microformats patterns like value excerpting are used.

"$relfoo->get_title()"

Returns the contents of the title attribute of the <a> element, or the same as "$relfoo->get_label()" if the attribute is not set.

Disclaimer of warranties

THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.

Releases

5 releases since Debian 7 (Wheezy); the text changed 3 times.

  1. 7
  2. 8
  3. 9
  4. 12–13

Bugs

Please report any bugs to <http://rt.cpan.org/>.

Author

Toby Inkster <[email protected]>.

From libhtml-microformats-perl 0.105-6 in Debian 13 (Trixie). Parsed by carta from the page's man source.