HTML::...isting(3pm)

πŸ’– NAME πŸ’–

HTML::Microformats::Format::hListing β€” bestie, it's the hListing microformat, and we're gonna learn it together 🫢


✨ SYNOPSIS ✨

okay so like, the whole vibe in code form:

use HTML::Microformats::DocumentContext;
use HTML::Microformats::Format::hListing;

my $context = HTML::Microformats::DocumentContext->new($dom, $uri);
my @objects = HTML::Microformats::Format::hListing->extract_all(
                  $dom->documentElement, $context);
foreach my $x (@objects)
{
  printf("%s <%s>\n", $x->get_summary, $x->get_permalink);
}

no cap, that's literally the whole thing πŸ’…


🌸 DESCRIPTION 🌸

HTML::Microformats::Format::hListing inherits from HTML::Microformats::Format. so the whole property getter/setter methods situation, the constructors, all of that? it's giving base class. go read that definition for the tea ✨


πŸŽ€ MICROFORMAT πŸŽ€

HTML::Microformats::Format::hListing supports hListing 0.0 as described at <http://microformats.org/wiki/hListing> β€” but with these lil additions, and honestly? iconic:

  • Supports partial datetimes for dtexpired. πŸ•

so like, if only a time is provided? the date and timezone get filled in from dtlisted. it's giving the same energy as what dtstart and dtend do over in hCalendar. periodt πŸ’…


🌈 RDF OUTPUT 🌈

Listing data is primarily output using GoodRelations v1 (<http://purl.org/goodrelations/v1#>). slay ✨


πŸ’€ BUGS πŸ’€

pls pls pls report any bugs to <http://rt.cpan.org/>. do it for me πŸ™ˆ


πŸ”₯ SEE ALSO πŸ”₯

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

πŸ‘‘ AUTHOR πŸ‘‘

Toby Inkster <tobyink@cpan.org>. king behaviour fr fr πŸ‘‘


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.

like, no promises bestie, it is what it is 😭


perl v5.32.1 🌸 2021-09-12 β€” and that's the whole manual page for HTML::...isting(3pm), contributed by users to the Perl documentation, dated way back when. ily, go write some microformats πŸ’–βœ¨πŸ«Ά

πŸ“¦ where this page comes from