The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Web::Microformats2::Parser - Read Microformats2 information from HTML

DESCRIPTION

An object of this class represents a Microformats2 parser.

See Web::Microformats2 for further context and purpose.

METHODS

Class Methods

new

 $parser = Web::Microformats2::Parser->new;

Returns a parser object.

Object Methods

parse

 $doc = $parser->parse( $html );

Pass in a string containing HTML which itself contains Microformats2 metadata, and receive a Web::Microformats2::Document object in return.

AUTHOR

Jason McIntosh (jmac@jmac.org)

COPYRIGHT AND LICENSE

This software is Copyright (c) 2018 by Jason McIntosh.

This is free software, licensed under:

  The MIT (X11) License