Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* HTML in mail
@ 2002-08-28 16:26 Ichimusai
  2002-08-28 16:29 ` Ichimusai
  2002-08-28 17:00 ` Vasily Korytov
  0 siblings, 2 replies; 8+ messages in thread
From: Ichimusai @ 2002-08-28 16:26 UTC (permalink / raw)



At the company where I work, several people sends mail in RTF[1]. The
mailserver however changes it into HTML before it is dumped in my
mailbox and I installed the w3 package to cope with that.

It works well with those who use clients that produce proper HTML, for
example Eudora, the w3 package renders it well and it works
satisfactory.

But the RTF mail from Outlook that has been converted to HTML on the
mailserver does not render in w3. I have not investigated it further,
but it says "Drawing../" etc in the status line for a second, and then
it says that it gives up and shows it as plain text, with the HTML
tags and all. There is something in the "HTML" that Exchange produce
that makes w3 give up on it, and when I press W h to wash the mail all
text goes and all I get is a blank message with only the important
headers showing.

For fun I saved a mail, stripped everything but the HTML and ran it
through validator.w3.org and it came up with 53 errors (when I
selected DTD manually) and this was a small mail with perhaps 10 lines
of text.

To the question -- I know there are many very skilled people in here
who knows Emacs and Gnus much better then I do, what I would like is a
function that deletes everything betwen < and > so that I can at least
get rid of the ugly HTML tags when I read/reply to a mail. I am sure
this is easily done in a couple of lines of eLisp, but unfortunately I
am not skilled enough to write this myself, I would be very happy if
someone would lend me a couple of minutes if his/hers time and help me
with this, and how to hook that function into the wash keymap of Gnus
so that I can easily wash away the non-standard "HTML" of the Exchange
server.

[1] Rich Text Format (yes they use MS Outlook).

-- 
  // AA#769 ICQ: 1645566 http://www.ichimusai.org/
\X/  ASCII ribbon campaign - No HTML, RTF or MS Word in mail
Fools seldom defer
    -- Guy King, uk.rec.sheds


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2002-09-14 15:15 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-28 16:26 HTML in mail Ichimusai
2002-08-28 16:29 ` Ichimusai
2002-08-28 17:00 ` Vasily Korytov
     [not found]   ` <m3it1ueqkj.fsf_-_@ichimusai.org>
     [not found]     ` <871y8ig4cy.fsf@unix.home>
2002-08-28 19:54       ` HTML in mail (or perhaps replace-regexp might work?) Vasily Korytov
2002-08-28 20:15       ` Ichimusai
2002-08-28 20:31         ` Ichimusai
     [not found]       ` <5llm6qwvio.fsf@rum.cs.yale.edu>
     [not found]         ` <wupr9gda.fsf@ID-23066.news.dfncis.de>
2002-09-13 15:26           ` Stefan Monnier <foo@acm.com>
2002-09-14 15:15             ` Clemens Fischer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).