From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/34373 Path: main.gmane.org!not-for-mail From: Joakim Hove Newsgroups: gmane.emacs.gnus.general Subject: htmlified mail Date: 24 Jan 2001 10:15:40 +0100 Sender: owner-ding@hpc.uh.edu Message-ID: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1035170311 30082 80.91.224.250 (21 Oct 2002 03:18:31 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 03:18:31 +0000 (UTC) Return-Path: Original-Received: from karazm.math.uh.edu (karazm.math.uh.edu [129.7.128.1]) by mailhost.sclp.com (Postfix) with ESMTP id AC217D049D for ; Wed, 24 Jan 2001 04:16:58 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by karazm.math.uh.edu (8.9.3/8.9.3) with ESMTP id DAC03072; Wed, 24 Jan 2001 03:16:13 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 24 Jan 2001 03:15:24 -0600 (CST) Original-Received: from mailhost.sclp.com (postfix@66-209.196.61.interliant.com [209.196.61.66] (may be forged)) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id DAA24922 for ; Wed, 24 Jan 2001 03:15:14 -0600 (CST) Original-Received: from solan.itea.ntnu.no (solan.itea.ntnu.no [129.241.190.100]) by mailhost.sclp.com (Postfix) with ESMTP id 8E36ED049D for ; Wed, 24 Jan 2001 04:15:42 -0500 (EST) Original-Received: from metropolis.phys.ntnu.no.phys.ntnu.nu (IDENT:hove@metropolis.phys.ntnu.no [129.241.48.32]) by solan.itea.ntnu.no (8.11.1/8.11.1) with ESMTP id f0O9FeF27075 for ; Wed, 24 Jan 2001 10:15:41 +0100 (MET) Original-To: ding@gnus.org User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.5 Precedence: list X-Majordomo: 1.94.jlt7 Original-Lines: 80 Xref: main.gmane.org gmane.emacs.gnus.general:34373 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:34373 Hello, I quite often get htmlized mail were people have underlined or marked up text with bold or italic. These mails are generally quite horrible to read. However most of the markup (underline/bold/italic) can be simply reproduced in a normal emacs buffer without resorting to w3 (or any other browser). Is there a way I can do a simple washing of text/html messages. A typical example message looks like this (hopefully this looks as bad in *your* gnus as it does in mine ...) Joakim Eg proever aa kommentere nedanfor, i teksten. Har ikkje papira mine her paa kontoret naa, men eg trur eg hugsar bra. Eg uthevar mine kommentarar slik at du lett kan finne dei, (men la det = ikkje bli staande slik i brevet!)

At 10:59 PM 1/22/2001 +0100, you wrote:
Hei,

nedenfor kommer de tre brevene som jeg kommer til =E5 sende ut ganske
snart. Dersom jeg ikke h=F8rer noe innen kvelden torsdag 25. januar, s=E5
sender jeg mailene uforandret til de personene som er listet opp p=E5
fredag morgen.

[....] I would like this to wash into something like: Joakim Eg proever aa kommentere nedanfor, i teksten. Har ikkje papira mine her paa kontoret naa, men eg trur eg hugsar bra. Eg *uthevar* mine kommentarar slik at du lett kan finne dei, (men la det ikkje bli staande slik i brevet!) At 10:59 PM 1/22/2001 +0100, you wrote: cite> Hei, cite>=20 cite> nedenfor kommer de tre brevene som jeg kommer til =E5 sende ut ganske cite> snart. Dersom jeg ikke h=F8rer noe innen kvelden torsdag 25. januar, cite> s=E5 sender jeg mailene uforandret til de personene som er listet opp= p=E5 cite> fredag morgen.=20 --------------- Of course, the washing in question should be simple, tables and other more "advanced" html features should of course not be supported. But if washing could: 1. Remove and ignore pairs 2. Remove
and   and "prittify" linebreaks/paragraphs/spacing=20 3. Replace bold -> *bold* and italic -> /italic/ This would *greatly* increase the readability of these messages. Is there anything like this in the works, or if not do anyone have suggestions on how to implement something like this? Joakim --=20 =3D=3D=3D=3D Joakim Hove www.phys.ntnu.no/~hove/ =3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D || Institutt for fysikk (735) 93637 / E3-166 | Sk=F8yensgate 10D || || N - 7491 Trondheim hove@phys.ntnu.no | N - 7030 Trondheim || =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 73= 93 31 68 =3D=3D=3D=3D=3D=3D=3D=3D=3D