Text::EtText::HTML2EtText
x
Text::EtText::HTML2EtText - convert from HTML to the EtText editable-text
format
my $t = new Text::EtText::HTML2EtText;
print $t->html2text ($html);
or
my $t = new Text::EtText::HTML2EtText;
print $t->html2text (); # from STDIN
ethtml2text will convert a HTML file into the EtText editable-text format,
for use with webmake or ettext2html.
For more information on the EtText format, check the WebMake documentation on
the web at http://webmake.taint.org/ .
-
$f = new Text::EtText::HTML2EtText
-
Constructs a new
Text::EtText::HTML2EtText object.
-
$text = $f->html2text( [$html] )
-
Convert HTML, either from the argument or from STDIN, into EtText.
See also http://webmake.taint.org/ for more information.
webmake ettext2html ethtml2text HTML::WebMake Text::EtText::EtText2HTML Text::EtText::HTML2EtText
Justin Mason <jm /at/ jmason.org>
WebMake is distributed under the terms of the GNU Public License.
The latest version of this library is likely to be available from CPAN
as well as:
http://webmake.taint.org/
|