Subject: Conversion HTML to ASCII

From: "H. Bork" <[email-masked]>
Date: Tue, 23 Sep 1997 20:27:03 +0200 (CEST)

Hi to ye all,

please, don't mind, if this should seem somewhat 
off-topic at first sight. Anyway, here's the problem: 

I'd like to read (import) an HTML page into a pine letter. 
The HTML pages we are talking about contain almost nothing but pure HTML text.
No problem, you may say, it's ascii anyway.
But I need it simply readable for a recipient who has no browser at hand. 
So the results should be
	HTML ---> pure ASCII-7 
Can anyone tell me where to get some sort of script, sed, awk or other 
to eliminate all those HTML-tags ? Any useful hints welcome.

Please direct replies to me, 
if you consider this to be too off-topic

TIA !
hal :-)
----------------------------------------------------------
                                               [email-masked]

---

From: "Robin S. Socha" <[email-masked]>
Date: 23 Sep 1997 20:22:38 +0200

-----BEGIN PGP SIGNED MESSAGE-----

>> "HB" == H Bork <[email-masked]> writes:

HB> I'd like to read (import) an HTML page into a pine letter.  The
HB> HTML pages we are talking about contain almost nothing but pure
HB> HTML text.  No problem, you may say, it's ascii anyway.  But I
HB> need it simply readable for a recipient who has no browser at
HB> hand.  So the results should be HTML ---> pure ASCII-7 Can anyone
HB> tell me where to get some sort of script, sed, awk or other to
HB> eliminate all those HTML-tags ? Any useful hints welcome.

Netrape, save as ascii

lynx -dump > filename

The latter is to be preferred as it can be used in a script.

Later,
Robin

-- 
Robin S. Socha
Proudly running Linux 2.0.30 at work...