Re: Determing Threads

2005-04-21 13:26:59
On April 20, 2005 at 23:36, East Coast Coder wrote:

Earl - wow, didn't catch those - very nice.  If someone wanted to
apply those filters to html messages (that is, very often, even a
message coded in text/html will use >'s and not <blockquote>), what
path would you recommend?

Quoting is part of the message body itself, not something mhonarc
does.  What the text/plain filter does is detect if quoting is used,
and if so, can perform special highlighting of quoted text (similiar
to how modern MUAs operate).

Therefore, for HTML messages, any quoting will part of the message
body itself.  From my experience, HTML-aware MUAs already markup
quoted text, so mhonarc really has nothing to do.

To summarize, quoting is a function of the originating MUA and
not mhonarc.  For text/plain messages, mhonarc is able to provide
special rendering of text that is quoted.  For HTML messages, it is
up to the originating MUA to provide any quoted highlighted.

Note: If you want mhonarc to translate '>'s in HTML messages into
<blockquote>, then you need to write your own filter (see MIMEFILTERS).
Personally, I do not think it is worth the effort, but your needs
may differ.  You can use the m2h_text_html::filter as a template for
your own, or even better, create a wrapper filter to it.  See
for more information about wrapper filters.


To sign-off this list, send email to majordomo(_at_)mhonarc(_dot_)org with the

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