-
-
26 Jan 2016 00:14:08 UTC
- Distribution: HTML-Microdata
- Module version: 0.05
- Source (raw)
- Browse (raw)
- Changes
- Homepage
- How to Contribute
- Repository
- Issues (1)
- Testers (423 / 134 / 0)
- Kwalitee
Bus factor: 0- % Coverage
- License: perl_5
- Activity
24 month- Tools
- Download (12.24KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
and 2 contributors-
Syohei YOSHIDA
-
Vaclav Haisman
NAME
HTML::Microdata - Extractor of microdata from HTML.
SYNOPSIS
use HTML::Microdata; my $microdata = HTML::Microdata->extract(<<EOF, base => 'http://example.com/'); ... EOF my $json = $microdata->as_json; use Data::Dumper; warn Dumper $microdata->items; # returns top level items
DESCRIPTION
HTML::Microdata is extractor of microdata from HTML to JSON etc.
Implementation of http://www.whatwg.org/specs/web-apps/current-work/multipage/microdata.html#microdata .
TODO
itemref implementation has not been completed.
WHY
There already is HTML::HTML5::Microdata::Parser in CPAN. But it has very heavy dependency and I can't install it. And more, package name should not include "HTML5" because HTML5 is just HTML now.
AUTHOR
cho45 <cho45@lowreal.net>
SEE ALSO
HTML::HTML5::Microdata::Parser
LICENSE
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Module Install Instructions
To install HTML::Microdata, copy and paste the appropriate command in to your terminal.
cpanm HTML::Microdata
perl -MCPAN -e shell install HTML::Microdata
For more information on module installation, please visit the detailed CPAN module installation guide.