🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #258691

Re: Mozilla Thunderbird understands HTML and Unicode.

#258691
From: Michael Baeuerle
Date: Fri, 12 Dec 2014 16:46
54 lines
3593 bytes
Adam H. Kerman wrote:
> Michael Baeuerle wrote:
> > Jeff-Relf.Me wrote:
> > > 
> > > Mozilla Thunderbird understands HTML and Unicode.
> > > So it properly converts it to plain?text, if you want.
> > > Also, Google/MicroSoft's products are HTML aware.
> > > 
> > > Besides me, no "basement-dwelling kook" knows what
> > > "Content-Type: Text/HTML" is, much less how to post it; instead,
> > > they use/abuse "Content-Type: multipart/mixed; boundary=[...]".
> > 
> > For the intended purpose "multipart/alternative" would be a better
> > content type. Every MIME compliant client software should be able to
> > display all variants (but only one at a time).
> 
> HTML isn't plain text; it doesn't belong on News or Mail. Furthermore,
> it's not actually non-standard if there were unrelated content in the
> two parts.

For "multipart/alternative" RFC2046 [1] specify:
| 
| [...] In particular, each of the body parts is an "alternative"
| version of the same information.
| 
| Systems should recognize that the content of the various parts are
| interchangeable.  Systems should choose the "best" type based on the
| local environment and references, in some cases even through user
| interaction.
| 
| [...] Each part of a
| "multipart/alternative" entity represents the same data, but the
| mappings between the two are not necessarily without information
| loss.

"unrelated content" don't match this definition (even if there is no
technical problem to violate it).

> There's no standard translation between HTML and plain text,
> although there are logical ways to make the conversion.

Yes, but if both variants are provided there is no need for conversion.
This is the advantage over pure HTML. I read newsgroups that contain re-
directed content from mailing lists and there are many mails with the
content type "multipart/alternative" and a "text/plain" section.
Rendering only the "text/plain" section gives a perfect result without
even touching HTML.

In other words:
I don't want to convert the HTML, I want the option to ignore it (if
the author thought it really should be there for whatever reason).

________________
[1] http://tools.ietf.org/html/rfc2046#section-5.1.4
Technical Details
Message-ID: <AABUixKrbYMAAB10.A1.flnews@WStation3.stz-e.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20141227.mbox.gz!border2.nntp.dca1.giganews.com!nntp.giganews.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!feeder.erje.net!eu.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!newsfeed.straub-nv.de!news-1.dfn.de!news.dfn.de!news.informatik.hu-berlin.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <m64br7$31g$1@dont-email.me> <JLJhw.743818$JH1.661234@fx08.iad> <Jeff-Relf.Me@Dec.9{6.27P.Seattle.2014}> <AABUiBujlMgAAAnP.A1.flnews@WStation3.stz-e.de> <m6f0tk$dso$1@news.albasani.net>

Show Full Headers
Complete Article Headers
Message-ID: <AABUixKrbYMAAB10.A1.flnews@WStation3.stz-e.de>
Subject: Re: Mozilla Thunderbird understands HTML and Unicode.
Date: Fri, 12 Dec 2014 16:46:32 +0000
From: Michael Baeuerle <michael.baeuerle@stz-e.de>
References: <m64br7$31g$1@dont-email.me> <JLJhw.743818$JH1.661234@fx08.iad> <Jeff-Relf.Me@Dec.9{6.27P.Seattle.2014}> <AABUiBujlMgAAAnP.A1.flnews@WStation3.stz-e.de> <m6f0tk$dso$1@news.albasani.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20141227.mbox.gz!border2.nntp.dca1.giganews.com!nntp.giganews.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!feeder.erje.net!eu.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!newsfeed.straub-nv.de!news-1.dfn.de!news.dfn.de!news.informatik.hu-berlin.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: news.software.readers
Lines: 54
Reply-To: Michael Baeuerle <michael.baeuerle@gmx.net>
Mime-Version: 1.0
X-Trace: individual.net ArZNYmxUXpXxDsjf+CRoGgRtrqPsW3g3uvqWsiGgVMFQJpCy3M
X-Orig-Path: not-for-mail
Cancel-Lock: sha1:gFv2ig7olQ18gAzWwM12YTqC4Is=
 sha1:TOb1vgO/e3/TG9IxEzgOoC54raM=
Injection-Date: 12 Dec 2014 16:46:32 -0000
User-Agent: flnews/0.10pre20 (for GNU/Linux)