NAME HTML::HTML5::Microdata::Parser - fairly experimental parser for HTML 'microdata' SYNOPSIS use HTML::HTML5::Microdata::Parser; my $parser = HTML::HTML5::Microdata::Parser->new($html, $baseURI); my $graph = $parser->graph; DESCRIPTION This package aims to have a roughly compatible API to RDF::RDFa::Parser. Microdata is an experimental metadata format, not in wide use. Use this module at your own risk. $p = HTML::HTML5::Microdata::Parser->new($html, $baseuri, \%options, $storage) This method creates a new HTML::HTML5::Microdata::Parser object and returns it. The $xhtml variable may contain an XHTML/XML string, or a XML::LibXML::Document. If a string, the document is parsed using HTML::HTML5::Parser and HTML::HTML5::Sanity, which may throw an exception. HTML::HTML5::Microdata::Parser does not catch the exception. The base URI is used to resolve relative URIs found in the document. Options [default in brackets]: * alt_stylesheet - Magic rel="alternate stylesheet". [1] * auto_config - See section "Auto Config" [0] * mhe_lang - Process . [1] * prefix_empty - URI prefix for itemprops of untyped items. [undef] * strategy - URI generation strategy for itemprops of typed items. [HTML::HTML5::Microdata:: Strategy::Heuristic] * tdb_service - thing-described-by.org when possible. [0] * xhtml_base - Process element. [1] * xhtml_lang - Process @lang. [1] * xhtml_meta - Process . [0] * xhtml_cite - Process @cite. [0] * xhtml_rel - Process @rel. [0] * xhtml_time - Process