1HTML::FormatText::W3m(3U)ser Contributed Perl DocumentatiHoTnML::FormatText::W3m(3)
2
3
4

NAME

6       HTML::FormatText::W3m - format HTML as plain text using w3m
7

SYNOPSIS

9        use HTML::FormatText::W3m;
10        $text = HTML::FormatText::W3m->format_file ($filename);
11        $text = HTML::FormatText::W3m->format_string ($html_string);
12
13        $formatter = HTML::FormatText::W3m->new (rightmargin => 60);
14        $tree = HTML::TreeBuilder->new_from_file ($filename);
15        $text = $formatter->format ($tree);
16

DESCRIPTION

18       "HTML::FormatText::W3m" turns HTML into plain text using the "w3m"
19       program.
20
21           <http://sourceforge.net/projects/w3m>
22
23       The module interface is compatible with formatters like
24       "HTML::FormatText", but all parsing etc is done by w3m.
25
26       See "HTML::FormatExternal" for the formatting functions and options,
27       all of which are supported by "HTML::FormatText::W3m".
28

SEE ALSO

30       HTML::FormatExternal, w3m(1)
31

HOME PAGE

33       <http://user42.tuxfamily.org/html-formatexternal/index.html>
34

LICENSE

36       Copyright 2008, 2009, 2010, 2013, 2015 Kevin Ryde
37
38       HTML-FormatExternal is free software; you can redistribute it and/or
39       modify it under the terms of the GNU General Public License as
40       published by the Free Software Foundation; either version 3, or (at
41       your option) any later version.
42
43       HTML-FormatExternal is distributed in the hope that it will be useful,
44       but WITHOUT ANY WARRANTY; without even the implied warranty of
45       MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
46       General Public License for more details.
47
48       You should have received a copy of the GNU General Public License along
49       with HTML-FormatExternal.  If not, see <http://www.gnu.org/licenses/>.
50
51
52
53perl v5.30.0                      2019-07-26          HTML::FormatText::W3m(3)
Impressum