/HTML-Zoom-Parser-HTML-Parser

Glue for using HTML::Parser with HTML::Zoom

Primary LanguagePerl

NAME

HTML::Zoom::Parser::HTML::Parser - Glue to power HTML::Zoom with HTML::Parser

VERSION

version 1.113400

SYNOPSIS

my $zoom = HTML::Zoom->new( {
    zconfig => {
        parser => 'HTML::Zoom::Parser::HTML::Parser'
    }
} );

$zoom->from_html($template); # etc ...

DESCRIPTION

This module provides a bridge to HMTL::Parser to be used with HTML::Zoom. You may want to use this over Parser::BuiltIn for improved handling of malformed html. There could potentially be a performance boost from HTML::Parser's XS bits, though I've not benchmarked.

Using this Parser over BuiltIn should require no different usage with HTML::Zoom.

SEE ALSO

AUTHOR

Matthew Phillips mattp@cpan.org

COPYRIGHT AND LICENSE

This software is copyright (c) 2011 by Matthew Phillips.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.