logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

HTML::Microformats::Format::hListing - the hListing microformat

Author

       Toby Inkster <tobyink@cpan.org>.

Bugs

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

Description

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

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.

perl v5.32.1                                       2021-09-12             HTML::Microform...ormat::hListing(3pm)

Microformat

       HTML::Microformats::Format::hListing supports hListing 0.0 as described at
       <http://microformats.org/wiki/hListing>, with the following additions:

       •   Supports partial datetimes for 'dtexpired'.

           If,  say,  only  a  time  is  provided,  the date and timezone are filled in from 'dtlisted'. This is
           similar to the behaviour of 'dtstart' and 'dtend' in hCalendar.

Name

       HTML::Microformats::Format::hListing - the hListing microformat

Rdf Output

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

See Also

       HTML::Microformats::Format, HTML::Microformats.

Synopsis

        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);
        }

See Also