tony-o / perl6-html-parser-xml

html -> xml::document converter
2 stars 5 forks source link

Perl 6: HTML::Parser::XML;

This module will read HTML and attempt to build an XML::Document (https://github.com/supernovus/exemel/#xmldocument-xmlnode)

Features:

Status:

Bugs/feature requests Maintenance mode

Usage:

my $html   = LWP::Simple.get('http://some-non-https-site.com/');
my $parser = HTML::Parser::XML.new;
$parser.parse($html);
$parser.xmldoc; # XML::Document

or

my $html   = LWP::Simple.get('http://some-non-https-site.com/');
my $parser = HTML::Parser::XML.new;
my $xmldoc = $parser.parse($html);

Contact me, tony-o on irc.freenode #perl6 (tony-o)

License: Artistic 2.0