From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/996 Path: news.gmane.org!not-for-mail From: Ichimusai Newsgroups: gmane.emacs.gnus.user Subject: HTML in mail Date: 28 Aug 2002 18:26:00 +0200 Organization: ichimusai.org Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1138667838 9259 80.91.229.2 (31 Jan 2006 00:37:18 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2006 00:37:18 +0000 (UTC) Original-X-From: nobody Tue Jan 17 17:28:28 2006 Original-Path: quimby.gnus.org!lackawana.kippona.com!news.stealth.net!news.stealth.net!newsfeed1.bredband.com!bredband!newsfeed1.telenordia.se!algonet!news2.tninet.se!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-Sender: krikkit@algonet.invalid Original-NNTP-Posting-Host: wilhelmina.algonet.se Original-X-Trace: green.tninet.se 1030552008 10979 194.213.75.170 (28 Aug 2002 16:26:48 GMT) Original-X-Complaints-To: abuse@telenordia.se Original-NNTP-Posting-Date: Wed, 28 Aug 2002 16:26:48 +0000 (UTC) X-Home-Page: http://www.ichimusai.org/ X-PGP: Key ID: 1024D/930B07E8, Valid to: 2002-07-05, Fingerprint: D42D B550 2D76 4FE9 5E2D 3B99 2FD7 69DF 930B 07E8, Keyserver: pgp.mit.edu User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Original-Xref: bridgekeeper.physik.uni-ulm.de gnus-emacs-gnus:1136 Original-Lines: 41 X-Gnus-Article-Number: 1136 Tue Jan 17 17:28:28 2006 Xref: news.gmane.org gmane.emacs.gnus.user:996 Archived-At: 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