HTML::...hRecipe(3pm)
β¨ NAME β¨
okay bestie, so like β HTML::Microformats::Format::hRecipe π it's the hRecipe microformat, and it's living in the 3pm man section, iykyk. That's the whole vibe. Recipes, but make them machine-readable. Slay.
π SYNOPSIS π
here's the whole thing, copy-paste ready, no notes:
use Data::Dumper;
use HTML::Microformats::DocumentContext;
use HTML::Microformats::Format::hRecipe;
my $context = HTML::Microformats::DocumentContext->new($dom, $uri);
my @recipes = HTML::Microformats::Format::hRecipe->extract_all(
$dom->documentElement, $context);
foreach my $recipe (@recipes)
{
print $recipe->get_summary . "\n";
}
like. look at her go. β¨
π DESCRIPTION π
so HTML::Microformats::Format::hRecipe inherits from HTML::Microformats::Format. that's the parent, the mother, the blueprint π
if you wanna know about property getter/setter methods, constructors, and all that other foundational lore β go read the base class definition, because this page is not the place. this page is the recipe-specific girlie. π§
πΈ MICROFORMAT πΈ
HTML::Microformats::Format::hRecipe supports hRecipe 0.23 β yes, exactly that version, no cap β as described at <http://microformats.org/wiki/hrecipe>. go read the source, bestie, it's giving documentation. π
π RDF OUTPUT π
two namespaces in the mix, keep them in your notes:
π BUGS π
found a bug? π please report any bugs to <http://rt.cpan.org/>. do not suffer in silence, that's not the move. π«Ά
π₯ SEE ALSO π₯
HTML::Microformats::FormatHTML::Microformats
both iconic, both worth your time. periodt.
π AUTHOR π
Toby Inkster <tobyink@cpan.org>. the main character. the one who did that. π
π COPYRIGHT AND LICENCE π
Copyright 2008-2012 Toby Inkster
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
π 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.
ok so like, big dramatic warning but it is REAL β no promises, no guarantees, that's the whole deal. β οΈ
aaaand that's the page bestie!! π this was perl v5.32.1, dated 2021-09-12, and it came to you courtesy of HTML::...hRecipe(3pm). mwah π go read some recipes. π¦
π¦ where this page comes from
- debian bookworm: libhtml-microformats-perl 0.105-6 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libhtml-microformats-perl 0.105-6 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu jammy: libhtml-microformats-perl 0.105-6 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libhtml-microformats-perl 0.105-6 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libhtml-microformats-perl 0.105-6 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libhtml-microformats-perl 0.105-6 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms