Path to this page:
./
www/p5-HTML-SimpleParse,
Perl5 module implementing a bare-bones HTML parser
Branch: pkgsrc-2016Q1,
Version: 0.12nb9,
Package name: p5-HTML-SimpleParse-0.12nb9,
Maintainer: pkgsrc-usersThis module is a bare-bones HTML parser. It is similar in concept to
HTML::Parser, but it differs in a couple of important ways.
First, HTML::SimpleParse just finds tags and text in the HTML you give it;
it does not care about the specific content of these tags (though it does
distinguish between different _types_ of tags, such as comments, starting
tags like <b>, ending tags like </b>, and so on).
Second, HTML::SimpleParse does not create a hierarchical tree of HTML
content, but rather a simple linear list. It does not pay any attention to
balancing start tags with corresponding end tags, or which pairs of tags
are inside other pairs of tags.
Because of these characteristics, you can make a very effective HTML filter
by sub-classing HTML::SimpleParse.
Required to run:[
lang/perl5]
Master sites: (Expand)
SHA1: 46823e4344ab6ca91078a21e16434a26aafe5f9d
RMD160: 97e26d2e8fe5da6b897a9ced6815ebaf03792242
Filesize: 8.287 KB
Version history: (Expand)
- (2016-04-07) Package added to pkgsrc.se, version p5-HTML-SimpleParse-0.12nb9 (created)