HTML::FormatText::W3m3pm
Format html as plain text using w3m
Usage
use HTML::FormatText::W3m;$text = HTML::FormatText::W3m->format_file ($filename);$text = HTML::FormatText::W3m->format_string ($html_string);$formatter = HTML::FormatText::W3m->new (rightmargin => 60);$tree = HTML::TreeBuilder->new_from_file ($filename);$text = $formatter->format ($tree);
Overview
"HTML::FormatText::W3m" turns HTML into plain text using the "w3m" program.
<http://sourceforge.net/projects/w3m>
The module interface is compatible with formatters like "HTML::FormatText", but all parsing etc is done by w3m.
See "HTML::FormatExternal" for the formatting functions and options, all of which are supported by "HTML::FormatText::W3m".
Home page
<http://user42.tuxfamily.org/html-formatexternal/index.html>
Releases
5 releases since Debian 9 (Stretch); the text changed 2 times.