diff options
Diffstat (limited to 'www/p5-HTML-SimpleParse/DESCR')
-rw-r--r-- | www/p5-HTML-SimpleParse/DESCR | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/www/p5-HTML-SimpleParse/DESCR b/www/p5-HTML-SimpleParse/DESCR new file mode 100644 index 00000000000..a5db83b581c --- /dev/null +++ b/www/p5-HTML-SimpleParse/DESCR @@ -0,0 +1,15 @@ +This 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. |