The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

HTML::Microformats::hRecipe - the hRecipe microformat

SYNOPSIS

 use Data::Dumper;
 use HTML::Microformats::_context;
 use HTML::Microformats::hRecipe;

 my $context = HTML::Microformats::_context->new($dom, $uri);
 my @recipes = HTML::Microformats::hRecipe->extract_all(
                   $dom->documentElement, $context);
 foreach my $recipe (@recipes)
 {
   print $recipe->get_summary . "\n";
 }

DESCRIPTION

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

MICROFORMAT

HTML::Microformats::hRecipe supports hRecipe 0.23 as described at http://microformats.org/wiki/hrecipe.

RDF OUTPUT

http://linkedrecipes.org/schema/, http://ontologi.es/hrecipe#.

BUGS

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

SEE ALSO

HTML::Microformats::BASE, HTML::Microformats, HTML::Microformats::hCard, HTML::Microformats::geo.

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.