Gnus development mailing list
 help / color / mirror / Atom feed
* htmlified mail
@ 2001-01-24  9:15 Joakim Hove
  2001-01-24 11:38 ` Bill White
  0 siblings, 1 reply; 18+ messages in thread
From: Joakim Hove @ 2001-01-24  9:15 UTC (permalink / raw)


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 ...)

<html>
<font size=3>Joakim Eg proever aa kommentere nedanfor, i teksten. Har
ikkje papira mine her paa kontoret naa, men eg trur eg hugsar bra. Eg
<b>uthevar</b> mine kommentarar slik at du lett kan finne dei, (men la det ikkje
bli staande slik i brevet!)<br>
<br>
At 10:59 PM 1/22/2001 +0100, you wrote:<br>
<blockquote type=cite cite>Hei,<br>
<br>
nedenfor kommer de tre brevene som jeg kommer til å sende ut ganske<br>
snart. Dersom jeg ikke hører noe innen kvelden torsdag 25. januar,
så<br>
sender jeg mailene uforandret til de personene som er listet opp på<br>
fredag morgen. <br>
<br>
[....]

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> 
cite> nedenfor kommer de tre brevene som jeg kommer til å sende ut ganske
cite> snart. Dersom jeg ikke hører noe innen kvelden torsdag 25. januar,
cite> så sender jeg mailene uforandret til de personene som er listet opp på
cite> fredag morgen. 

---------------

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 <font> </font> pairs
2. Remove <br> and &nbsp; and "prittify" linebreaks/paragraphs/spacing 
3. Replace <b>bold</b> -> *bold* and <i>italic</i> -> /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

-- 
==== Joakim Hove      www.phys.ntnu.no/~hove/   =======================
|| Institutt for fysikk  (735) 93637 / E3-166  |  Skøyensgate 10D    ||
|| N - 7491 Trondheim    hove@phys.ntnu.no     |  N - 7030 Trondheim ||
================================================= 73 93 31 68 =========


















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

end of thread, other threads:[~2001-02-06  6:51 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-01-24  9:15 htmlified mail Joakim Hove
2001-01-24 11:38 ` Bill White
2001-01-24 14:06   ` Randal L. Schwartz
2001-01-24 15:03     ` Stainless Steel Rat
2001-01-24 15:22     ` Hannu Koivisto
2001-01-26  3:59   ` Error with function gnus-summary-pipe-output (Was htmlified mail) Mike Pullen
2001-01-26  8:17     ` Bill White
2001-01-26 13:20       ` ShengHuo ZHU
2001-01-28 20:44         ` James H. Cloos Jr.
2001-01-29  0:35           ` ShengHuo ZHU
2001-01-29  1:49             ` James H. Cloos Jr.
2001-02-06  6:51               ` ShengHuo ZHU
2001-01-26 19:01       ` James H. Cloos Jr.
2001-01-26 19:17         ` ShengHuo ZHU
2001-01-26 22:32           ` James H. Cloos Jr.
2001-01-26 23:00             ` ShengHuo ZHU
2001-01-27 21:17               ` James H. Cloos Jr.
2001-01-27 21:44                 ` ShengHuo ZHU

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).