textproc/html2text 2.2.3,1 MidnightBSD
Converts HTML documents into plain text
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- License
- gpl2+
- Categories
- textproc
Description
html2text is a command line utility, written in C++, that converts HTML documents (HTML 3.2) into plain text (ISO 8859-1).
Each HTML document is loaded from a location indicated by an URI or read from standard input, and formatted into a stream of plain text characters that is written to standard output or into an output-file. The input-URI may specify a remote site, from that the documents are loaded with the Hypertext Transfer Protocol (HTTP). The program is even able to preserve the original positions of table fields and accepts also syntactically incorrect input, attempting to interpret it "reasonably". The rendering is largely customisable through an RC file.
In the other systems
| System | Port | Version |
|---|---|---|
| MidnightBSD | textproc/html2text | 2.2.3,1 |
| FreeBSD | textproc/html2text | 2.2.3,1 |
| OpenBSD | converters/html2text | 2.4.0pl20260113 |
| NetBSD | textproc/html2text | 1.3.2a |
| DragonFly | textproc/html2text | 2.2.3,1 |
Install
Binary package:
mport install html2text
From mports:
cd /usr/mports/textproc/html2text && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= html2text>0:textproc/html2text
Dependencies
Required by 2
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| html2text-2.2.3.tar.gz | 329841 | 859133528b3fd893562e41d84bc1ebc1f9166dd281d0fa8e17e7dd26337f5752 |
Master sites 1
- https://github.com/grobian/html2text/releases/download/v2.2.3/