in reply to How can I download HTML and save it as txt?
You can always use your browser of choice -- they have a 'Save As' and you can choose 'As Text'. Something tells me this is not sufficient enough for you, however. The Perl Cookbook has a recipe devoted to converting HTML to ASCII. This is straight from the first edition, Recipe 20.5:
use HTML::FormatText; use HTML::Parse; $html = parse_htmlfile($filename); $formatter = HTML::FormatText->new(leftmargin => 0, rightmargin => 50) +; $ascii = $formatter->format($html);
jeffa
L-LL-L--L-LL-L--L-LL-L-- -R--R-RR-R--R-RR-R--R-RR B--B--B--B--B--B--B--B-- H---H---H---H---H---H--- (the triplet paradiddle with high-hat)
|
---|