Article View: news.software.readers
Article #32540Mozilla 4.0b2's HTML (was: Re: Mozilla blamed for overload on newsservers)
From: Greg Berigan
Date: Fri, 04 Apr 1997 00:00
Date: Fri, 04 Apr 1997 00:00
69 lines
3813 bytes
3813 bytes
jfriend@netscape.com (John Friend) wrote:
>Greg Berigan wrote:
>>elderson@xs4all.nl (Peter Elderson) wrote:
>> Then there's the posting of HTML. 4.0b2 doesn't do it by default,
>> but when it does do it, it posts HTML that is worse than the HTML that
>> 4.0b1 posted.
> Can you tell me in what way you think 4.0b2's HTML is worse than that in
> 4.0b1?
4.0b2 does not attempt to preserve paragraphs, and instead breaks lines
with <br>. This removes the benefit of posting in HTML that text would
wrap on the screen regardless of screen width. At least when you were
abusing <dt> the text would wrap only as needed.
-----------------------------------|
Abusing the <br> |
tag, you get |
readers who will | screen border
see short lines as |
compared to their |
browser screen. |
-------------------------------------------------------|
Or you'll get readers who will see long lines followed |
by short |
lines because their narrower screens wrapped naturally |
before the |
<BR> tag was encountered. This is something the GNKSA |
says is |
bad when generating plain text messages. |
(These examples are exaggerated so that they are visible. In the first,
imagine a maximized window giving 120 columns yet the text is hard-
broken to 80 columns, wasting 40 columns on the right. On the other, a
60 column screen faced with 80 column hard-broken text. Add to that
that the font is displayed in a proportional font, not Geneva or
Courier, making even a good match have even more ragged of a right
margin.)
If you're going to let them post in HTML, you can't let them have
WYSIWOG by using <BR> on every line instead of wrapping paragraphs with
<P>..</P>.
And then there is the sextupling of the space taken up by a space
character by encoding it as . If the user wants to publish news
in HTML he must let go of some control. Either let the multiple spaces
collapse or drop in a <pre>. If preserving the two spaces after periods
and colons in sentences is so important, you should be doing that in
your HTML renderers. While you're at it, you could also drop in a
preference setting so users can see indented paragraphs rather than
double-spaces between paragraphs. (If you'd done that last bit sooner,
people wouldn't be using transparent GIFs to force it themselves, and
you would have been a lot closer in having support for style sheets than
you are now.)
The way it is now, you'd be better off using heuristics to identify
paragraph breaks in plain-text incoming articles than sending HTML out.
--
_-<#)-=# http://cse.unl.edu/~gberigan/War-of-the-Worlds.html
___/___
_-~_--<###) "Take a look around you at the world we've come to know
<~c>' __--< Does it seem to be much more than a crazy circus show
\_--=____#) Maybe from the madness something beautiful will grow...."
Technical Details
Message-ID:
<5i3uv9$ka2@crcnis3.unl.edu>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mailReferences:
<3342D596.AF8@xs4all.nl> <5hunp9$nbp@crcnis3.unl.edu> <33455C2D.6C3DCD0A@netscape.com>Show Full Headers
Complete Article Headers
Message-ID: <5i3uv9$ka2@crcnis3.unl.edu> Subject: Mozilla 4.0b2's HTML (was: Re: Mozilla blamed for overload on newsservers) Date: Fri, 04 Apr 1997 00:00:00 +0000 From: Greg Berigan <gberigan@cse.unl.edu> References: <3342D596.AF8@xs4all.nl> <5hunp9$nbp@crcnis3.unl.edu> <33455C2D.6C3DCD0A@netscape.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail X-Deja-AN: 230760287 Organization: http://cse.unl.edu/~gberigan/ Newsgroups: news.software.readers