NAME
HTML::Microformats::hReview - the hReview microformat
SYNOPSIS
use HTML::Microformats::_context;
use HTML::Microformats::hReview;
my $context = HTML::Microformats::_context->new($dom, $uri);
my @reviews = HTML::Microformats::hReview->extract_all(
$dom->documentElement, $context);
foreach my $review (@reviews)
{
print $review->get_reviewer->get_fn . "\n";
}
DESCRIPTION
HTML::Microformats::hReview inherits from HTML::Microformats::BASE. See the base class definition for a description of property getter/setter methods, constructors, etc.
MICROFORMAT
HTML::Microformats::hReview supports hReview 0.3 and xFolk as described at http://microformats.org/wiki/hreview and http://microformats.org/wiki/xfolk, with the following differences:
hAudio
hAudio microformats can be used as the reviewed item.
(At the time of writing this documentation however, HTML::Microformats didn't support hAudio!)
Jumbled-up
Support for xFolk and hReview are bundled together, so properties are usually supported in both, even if only defined by one microformat spec. (e.g. reviewer is defined by hReview, but this module supports it in xFolk entries.)
RDF OUTPUT
http://www.purl.org/stuff/rev#, http://ontologi.es/hreview#.
BUGS
Please report any bugs to http://rt.cpan.org/.
SEE ALSO
HTML::Microformats::BASE, HTML::Microformats.
AUTHOR
Toby Inkster <tobyink@cpan.org>.
COPYRIGHT
Copyright 2008-2010 Toby Inkster
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.