| 1 |
Source: libhtml-simpleparse-perl |
| 2 |
Maintainer: Debian Perl Group <[email protected]> |
| 3 |
Uploaders: Ansgar Burchardt <[email protected]> |
| 4 |
Section: perl |
| 5 |
Testsuite: autopkgtest-pkg-perl |
| 6 |
Priority: optional |
| 7 |
Build-Depends: debhelper-compat (= 12), |
| 8 |
libmodule-build-perl |
| 9 |
Build-Depends-Indep: perl |
| 10 |
Standards-Version: 3.9.6 |
| 11 |
Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libhtml-simpleparse-perl |
| 12 |
Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libhtml-simpleparse-perl.git |
| 13 |
Homepage: https://metacpan.org/release/HTML-SimpleParse |
| 14 |
|
| 15 |
Package: libhtml-simpleparse-perl |
| 16 |
Architecture: all |
| 17 |
Depends: ${misc:Depends}, |
| 18 |
${perl:Depends} |
| 19 |
Multi-Arch: foreign |
| 20 |
Description: bare-bones HTML parser |
| 21 |
HTML::SimpleParse is a bare-bones HTML parser, similar to HTML::Parser, |
| 22 |
but with a couple important distinctions: |
| 23 |
. |
| 24 |
First, HTML::Parser knows which tags can contain other tags, which start |
| 25 |
tags have corresponding end tags, which tags can exist only in the <HEAD> |
| 26 |
portion of the document, and so forth. HTML::SimpleParse does not know any |
| 27 |
of these things. It just finds tags and text in the HTML you give it, it |
| 28 |
does not care about the specific content of these tags (though it does |
| 29 |
distinguish between different _types_ of tags, such as comments, starting |
| 30 |
tags like <b>, ending tags like </b>, and so on). |
| 31 |
. |
| 32 |
Second, HTML::SimpleParse does not create a hierarchical tree of HTML |
| 33 |
content, but rather a simple linear list. It does not pay any attention to |
| 34 |
balancing start tags with corresponding end tags, or which pairs of tags are |
| 35 |
inside other pairs of tags. |