HTML::...regate(3pm)

✨ HTML::...regate(3pm) ✨

okay bestie so this is the manual page for HTML::Microformats::Format::hReviewAggregate πŸ’… it lives in the Perl user-contributed docs, and it's all about the hReview-aggregate microformat. sit down, grab a boba, we're doing this πŸ§‹


🌸 NAME 🌸

HTML::Microformats::Format::hReviewAggregate β€” literally the hReview-aggregate microformat. that's it, that's the name, no cap πŸ’–


✨ SYNOPSIS ✨

here's the vibe, copy-paste girlies:

use HTML::Microformats::DocumentContext;
use HTML::Microformats::Format::hReviewAggregate;

my $context = HTML::Microformats::DocumentContext->new($dom, $uri);
my @reviews = HTML::Microformats::Format::hReviewAggregate->extract_all(
                  $dom->documentElement, $context);
foreach my $review (@reviews)
{
  print Dumper($review->data) . "\n";
}

so you make a context, you extract_all from the document element, you loop through, you Dumper the data. iconic behaviour honestly 🫢


πŸ’œ DESCRIPTION πŸ’œ

HTML::Microformats::Format::hReviewAggregate inherits from HTML::Microformats::Format. so like, all the base class stuff is yours too, bestie. getter/setter methods for properties, constructors, the whole wardrobe πŸ‘‘

go read the base class definition for the deets on those getters, setters and constructors β€” this page isn't gonna repeat them all, periodt.

πŸ¦‹ MICROFORMAT πŸ¦‹

this module supports hReview-aggregate 0.2 exactly as described at <http://microformats.org/wiki/hreview-aggregate> β€” but with these lil differences, and no we're not skipping them:

  • hAudio β€” hAudio microformats can be used as the reviewed item πŸ‘€βœ¨
  • hReview properties β€” a few properties are supported from the (non-aggregate) hReview, like 'bookmark', 'tag', 'description' and 'type' πŸ’…

🌈 RDF OUTPUT 🌈

it spits out RDF using these namespaces:


πŸŽ€ BUGS πŸŽ€

found a bug? not cute. please report any bugs to <http://rt.cpan.org/> β€” do it for me πŸ™ˆ


⭐ SEE ALSO ⭐

  • HTML::Microformats::Format
  • HTML::Microformats::Format::hReview
  • HTML::Microformats

the whole friend group πŸ«‚


πŸ‘‘ AUTHOR πŸ‘‘

Toby Inkster <tobyink@cpan.org> β€” thank u king πŸ’–


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. so like, same energy as Perl, iykyk πŸͺ


πŸ’€ 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.

translation bestie: no promises, no guarantees, you get what you get 😭 fr fr.

and that's the whole page! this was perl v5.32.1, dated 2021-09-12, from the HTML::...regate(3pm) corner of the User Contributed Perl Documentation πŸ’… mwah, go build something slay βœ¨πŸ¦‹

πŸ“¦ where this page comes from