www/p5-HTML-SimpleParse 0.12nb20 NetBSD
Perl5 module implementing a bare-bones HTML parser
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- Last update
- Commit
618415630a- Categories
- www, perl5
- Package size
- 10.2 KiB, 23.5 KiB installed
Description
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.
In the other systems
| System | Port | Version |
|---|---|---|
| NetBSD | www/p5-HTML-SimpleParse | 0.12nb20 |
| FreeBSD | www/p5-HTML-SimpleParse | 0.12_1 |
| OpenBSD | www/p5-HTML-SimpleParse | 0.12p2 |
| DragonFly | www/p5-HTML-SimpleParse | 0.12_1 |
| HardenedBSD | www/p5-HTML-SimpleParse | 0.12_1 |
| GhostBSD | www/p5-HTML-SimpleParse | 0.12_1 |
Install
Binary package:
pkgin install p5-HTML-SimpleParse
From pkgsrc:
cd /usr/pkgsrc/www/p5-HTML-SimpleParse && make install clean
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | Version |
|---|---|
| NetBSD 10.1 x86_64 | 0.12nb20 |
| NetBSD 10.1 aarch64 | 0.12nb19 |
| SmartOS / illumos x86_64 | 0.12nb20 |
| macOS 15 arm64 | 0.12nb20 |