Re: Stripping HTML and/or MIME-encoded messages?

From: Howard Schwartz (theo@ncal.verio.com)
Date: Tue, 7 Dec 1999 16:28:37 -0800 (PST)

> Is there some add-on software for Yarn (Yarn95 specifically)
>that will strip out the HTML or MIME-encoding of messages? That stuff is
>just plain ugly and, for the most part, useless.

If the html is an attachment, you have the choice of viewing it, using
for instance the metamail program and an html viewer. Presently, I
find the editor, elvis, to be about the best at displaying html text,
skipping the images, and showing bold, underline and so on in different
colors. Elvis also permits you to save the file, somewhat formatted
(e.g., lines centered, indented, etc.) but without the html tags. You
could also try to use another DOS or even windows browser to display
html -- for instance bobcat, doslynx, arachne, or even IE.

The problem for MIME attachments is that yarn does not appear to swap
itself out of memory when it launches a program to view a MIME attachment.
Thus, even though one is using the 32-bit yarnx, programs like the browser,
arachne, find they do not have enough conventional memory to load, because
yarnx is using it.

If you just want to strip the tags and see plain text somewhat formatted,
I think the best html stripper is probably Bruce Guthrie's, htmlstrip.
It strips tags and displays the resulting text, semi-formatted. To
use the program, employ Yarn's pipe command thus:

| htmlstrip %s <ENTER>

You can find links to htmlstrip and to html viewers and browsers for
dos at Rich Green's site:

http://geocities.com/SiliconValley/Lakes/1401/softlib1.htm