HTML::...hEntry(3pm)
β¨ HTML::Microformats::Format::hEntry β an hAtom entry β¨
okay bestie, so this page is from the User Contributed Perl Documentation collection, and it's literally about HTML::Microformats::Format::hEntry. Let's get into it π
πΈ NAME πΈ
HTML::Microformats::Format::hEntry β it's an hAtom entry. that's the whole vibe. π
π¦ SYNOPSIS π¦
use Data::Dumper;
use HTML::Microformats::DocumentContext;
use HTML::Microformats::Format::hAtom;
my $context = HTML::Microformats::DocumentContext->new($dom, $uri);
my @feeds = HTML::Microformats::Format::hAtom->extract_all(
$dom->documentElement, $context);
foreach my $feed (@feeds)
{
foreach my $entry ($feed->get_entry)
{
print $entry->get_link . "\n";
}
}
look at that. iconic. no notes. π
π DESCRIPTION π
HTML::Microformats::Format::hEntry is a helper module for HTML::Microformats::Format::hAtom, bestie. it's the class that represents entries within feeds. but fr fr, generally speaking? you want to use HTML::Microformats::Format::hAtom instead. this one's the sidekick, not the main character. π
HTML::Microformats::Format::hEntry inherits from HTML::Microformats::Format. and if you wanna know about property getter/setter methods, constructors, all that good stuff β go peek at the base class definition. it's all there. β¨
π Additional Method π
to_atomβ this method exports the data as an XML file containing an Atom<entry>. heads up though: it needsXML::Atom::FromOWLto work, and it will throw an error at run-time if that's not available. no cap. πto_icalendarβ this method exports the data in iCalendar format (as a VJOURNAL). it requiresRDF::iCalendarto work, and yep, it will throw an error at run-time if it's not available. same energy. π
π BUGS π
found a bug? please report it to <http://rt.cpan.org/>. do it for the culture. π«Ά
π SEE ALSO π
HTML::Microformats::Format, HTML::Microformats, HTML::Microformats::Format::hAtom, HTML::Microformats::Format::hNews.
the whole friend group, honestly. π
β AUTHOR β
Toby Inkster <tobyink@cpan.org>. legend behaviour. π
π 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. slay. π
π¨ 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, don't come for anyone if it breaks, bestie. it said what it said. π
and that's the whole page!! this one's running on perl v5.32.1, dated 2021-09-12 β so yeah, vintage but still cute. stay hydrated, go extract some microformats, mwah π¦β¨π
π¦ 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