mhonarc-users

Re: How to Handle "Stylized" Messages?

1996-02-06 13:27:45
"itsol(_at_)io(_dot_)com" said:
Does anyone know how to convert normal text messages (typical mail
messages) to "normal html" without the need for preformatted text, 
either in or prior to MHonArc?  I've seen several html-to-text
converters, but am not aware of the reverse case.  (It seems to me
one would have to understand something about the "context" of the
message to make inferences about the proper html.)

There are ascii to html translators out there. You will find them below
'Misc Filters' at:

        <URL:http://www.w3.org/hypertext/WWW/Tools/Filters.html>

Much more tools could be found at:

        <URL:http://www.stars.com/Vlib/>
 
I'd like this capability so that I can set up MHonArc to present
stylized messages, complete with imbedded web links and images.

Any ideas about how to handle this easily?  As I understand it, I
can specify messages as type "text/html" and MHonArc will preserve
all the html formatting, but that doesn't seem to solve the problem
of converting regular text (without <P> separators between paragraphs
and strategically placed <BR> tags) to html, so the text would all
run together.  Am I missing something?  (Quite possible.)

Any ideas or recommendations would be most appreciated.  Earl, does
the new version help out here?  Thanks.

Jerry Werner

If you want/able to write a filter for mhonarc, how about this: 
Write your message in HTML. Dump it to (pretty) ASCII using lynx, Mosaic,
Netscape, ... Compose a multipart/alternative (sp?) email from both
version. So the first part in text/plain is readable (except the
disturbing mime headers) and the last part in text/html will be (should?)
be used by your mhonarc filter and is a full featured HTML document
(gzip and base64 it to make it smaller and less disturbing).

Achim

<Prev in Thread] Current Thread [Next in Thread>