NAME
HTML::Microformats::hMeasure - the hMeasure microformat
SYNOPSIS
use HTML::Microformats::_context;
use HTML::Microformats::hMeasure;
my $context = HTML::Microformats::_context->new($dom, $uri);
my @objects = HTML::Microformats::hMeasure->extract_all(
$dom->documentElement, $context);
foreach my $m (@objects)
{
printf("%s %s\n", $m->get_number, $m->get_unit);
}
DESCRIPTION
HTML::Microformats::hMeasure inherits from HTML::Microformats::BASE. See the base class definition for a description of property getter/setter methods, constructors, etc.
MICROFORMAT
HTML::Microformats::hMeasure supports hMeasure as described at http://microformats.org/wiki/hmeasure.
RDF OUTPUT
This module outputs RDF using the Extensible Measurement Ontology (http://buzzword.org.uk/rdf/measure#).
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.