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

HTML::Microformats::Format::hNews3pm

The hnews microformat

Usage

 use HTML::Microformats::DocumentContext;
 use HTML::Microformats::Format::hNews;
 my $context = HTML::Microformats::DocumentContext->new($dom, $uri);
 my @objects = HTML::Microformats::Format::hNews->extract_all(
                   $dom->documentElement, $context);
 foreach my $article (@objects)
 {
   printf("%s %s\n", $article->get_link, $article->get_dateline);
 }

Overview

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

Microformat

HTML::Microformats::Format::hNews supports hNews as described at <http://microformats.org/wiki/hNews>.

RDF output

hNews is an extension of hAtom; data is returned using the same vocabularies as hAtom, with additional news-specific terms from <http://ontologi.es/hnews#>.

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 2 times.

  1. 7
  2. 8–9
  3. 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.