On Thu, Apr 04, 2002 at 10:36:36AM -0800, Agustin Rivera wrote:

> 
> Are you looking to keep the basic formatting of the HTML in tact during the
> conversion, or just want the HTML stripped?  I wouldn't imagine that it
> would be that hard to convert the HTML to text if the HTML wasn't overly
> complicated.
> 

I am just trying to strip the tags and preserve formatting. Of
course, you can do a quick hack (s/<.*?>//g;#etc), but that still
leaves you with messy line breaks. I've already tried saving the
file as text from both Netscape and Lynx, and they did a pretty
poor job.

A good script might put a "*" before list items, might
apporxtimate tables, etc. 

No sense in hacking something together when someone problably
wrote a powerful version. 

Paul

-- 

************************
*Paul Tremblay         *
*[EMAIL PROTECTED]*
************************

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to