in reply to Display html in plaintext

Note that there are command-line tools that you may have available that will do pretty much what you want; no need to whip up a perl script when lynx will do:

lynx --dump <url>

This preserves some of the formatting, and labels the links as well. Lynx' table-savvy descendant, links, also takes --dump as an option, but the output is not as nice.

If not P, what? Q maybe?
"Sidney Morgenbesser"

Replies are listed 'Best First'.
Re: Re: Display html in plaintext
by trs80 (Priest) on Oct 09, 2002 at 14:38 UTC
    w3m is my favorite tool to convert to text and has good support for tables as well, in fact that is why I started using. I needed to send out emails with an HTML and text version of the same inforamtion that was in a table and w3m is working nicely.
    See this node for more information.