Package Info

perl-HTML-TokeParser-Simple


Easy to use C<HTML::TokeParser> interface


Development/Libraries/Perl

'HTML::TokeParser' is an excellent module that's often used for parsing HTML. However, the tokens returned are not exactly intuitive to parse:

["S", $tag, $attr, $attrseq, $text] ["E", $tag, $text] ["T", $text, $is_data] ["C", $text] ["D", $text] ["PI", $token0, $text]

To simplify this, 'HTML::TokeParser::Simple' allows the user ask more intuitive (read: more self-documenting) questions about the tokens returned.

You can also rebuild some tags on the fly. Frequently, the attributes associated with start tags need to be altered, added to, or deleted. This functionality is built in.

Since this is a subclass of 'HTML::TokeParser', all 'HTML::TokeParser' methods are available. To truly appreciate the power of this module, please read the documentation for 'HTML::TokeParser' and 'HTML::Parser'.


License: Artistic-1.0 or GPL-1.0+
URL: http://search.cpan.org/dist/HTML-TokeParser-Simple/

Categories

Releases

Package Version Update ID Released Package Hub Version Platforms Subpackages
3.16-bp155.2.8 info GA Release 2023-05-17 15 SP5
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-HTML-TokeParser-Simple
3.16-bp154.1.15 info GA Release 2022-05-09 15 SP4
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-HTML-TokeParser-Simple
3.16-bp153.1.12 info GA Release 2021-03-06 15 SP3
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-HTML-TokeParser-Simple
3.16-bp152.3.15 info GA Release 2020-04-16 15 SP2
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-HTML-TokeParser-Simple
3.16-bp151.3.1 info GA Release 2019-07-16 15 SP1
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-HTML-TokeParser-Simple
3.16-bp151.2.12 info GA Release 2019-05-18 15 SP1
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-HTML-TokeParser-Simple
3.16-bp150.2.4 info GA Release 2018-07-30 15
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-HTML-TokeParser-Simple