HTML::Microformats::Format::RelTag(3pm)

HTML::Microformats::Format::RelTag3pm

The rel-tag microformat

Usage

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

Overview

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

Additional Methods

"$reltag->get_tag()"

Returns the tag being linked to. Given the following link:

  http://example.com/foo/bar?baz=quux#xyzzy

the tag is "bar".

"$reltag->get_tagspace()"

Returns the tagspace of the tag being linked to. Given the following link:

  http://example.com/foo/bar?baz=quux#xyzzy

the tagspace is "http://example.com/foo/".

Microformat

HTML::Microformats::Format::RelTag supports rel-tag as described at <http://microformats.org/wiki/rel-tag>.

The "title" attribute on the link, and the linked text are taken to be significant.

RDF output

Data is returned using the Richard Newman's tag vocabulary (<http://www.holygoat.co.uk/owl/redwood/0.1/tags/>), the Atom OWL vocabulary (<http://bblfish.net/work/atom-owl/2006-06-06/#>) and occasional other terms.

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.