The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

HTML::FormatText::Netrik - format HTML as plain text using netrik

SYNOPSIS

 use HTML::FormatText::Netrik;
 $text = HTML::FormatText::Netrik->format_file ($filename);
 $text = HTML::FormatText::Netrik->format_string ($html_string);

 $formatter = HTML::FormatText::Netrik->new;
 $tree = HTML::TreeBuilder->new_from_file ($filename);
 $text = $formatter->format ($tree);

DESCRIPTION

HTML::FormatText::Netrik turns HTML into plain text using the netrik program.

The module interface is compatible with formatters like HTML::FormatText, but all parsing etc is done by netrik.

See HTML::FormatExternal for the formatting functions and options, with the following caveats,

input_charset, output_charset

These charset overrides have no effect. Input might be single-byte only, and output probably follows the input (as of netrik 1.15.7).

SEE ALSO

HTML::FormatExternal, netrik(1)

HOME PAGE

http://user42.tuxfamily.org/html-formatexternal/index.html

LICENSE

Copyright 2008, 2009, 2010, 2013, 2015 Kevin Ryde

HTML-FormatExternal is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version.

HTML-FormatExternal is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with HTML-FormatExternal. If not, see http://www.gnu.org/licenses/.