a bare-bones HTML parser

Edit Package perl-HTML-SimpleParse

This is the HTML::SimpleParse module. It is a bare-bones HTML parser,
similar to HTML::Parser, but with a couple important distinctions:

First, HTML::Parser knows which tags can contain other tags, which
start tags have corresponding end tags, which tags can exist only in
the portion of the document, and so forth. HTML::SimpleParse
does not know any of these things. It 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 distiguish between different _types_ of tags, such
as comments, starting tags like , ending tags like , 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.

  • Sources inherited from project openSUSE:13.1
  • Download package
  • osc -A https://api.opensuse.org checkout openSUSE:13.1:Update/perl-HTML-SimpleParse && cd $_
  • Create Badge
Refresh
Refresh
Source Files
Filename Size Changed
HTML-SimpleParse-0.12.tar.gz 0000008486 8.29 KB over 15 years
perl-HTML-SimpleParse.changes 0000002408 2.35 KB over 11 years
perl-HTML-SimpleParse.spec 0000002715 2.65 KB over 11 years
Comments 0
openSUSE Build Service is sponsored by