🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #29054

Re: Out-of-band HTML Re: Netscape 4 hitting the streets

#29054
From: Neil Harris
Date: Wed, 08 Jan 1997 00:00
92 lines
4041 bytes
Here's a small worked example of out-of-band HTML.  I composed a small
(25 line) pseudo-post using a well-known editing browser, making use of
editing features in much the same way that I would in a word-processor
when  writing a note about a moderately technical subject.  

I used <blockquote>, <pre> and <ol>, I added bold and italics in a 
couple of places, and added a couple of links.  Then I looked at the
result:

1422 characters, of which 496 were tags and meta-information, including
the DTD information.

There were 54 tags in the message. The HTML came to a total of 51 lines
of text.

To render the result in ASCII with indentation to match would have added
perhaps another 50 characters.

I also added in the headers of a typical message: 
<rnewman-0701970935510001@mfd-dial1-1.cybercom.net> has 823 characters
of headers at my server.

So:

Traditional posting:

  Headers:        823 chars
  ASCII version:  976 chars, including extra indent characters
  Total:         1799 chars
  Total visible lines: 25

2-part posting with HTML:

  Headers:        823 chars
  ASCII version:  976 chars, including extra indent characters
  HTML version:  1422 chars
  Total:         3221 chars
  Total visible lines: 72

  Bandwidth increase relative to original: 79%
  Visible lines increase relative to original: 188%

I then took the sterotypical chunks of tags (eg "<B>","</B>","<HEAD>",
"<A HREF=") and changed them into one byte each.  I also added a byte
for each tag, assuming that that would be reasonable for a pointer
indication.  I use this as a simulation of 'compressed out-of-band
markup'.  Note that I assume that an efficient code would do better
than this, hopefully enough to cancel out the fact that I made no 
allowance for base-64 encoding of the compressed markup.

At the end of this I get:

  Headers:            823 chars
  ASCII version:      976 chars, including extra indent characters
  Compressed markup:  284 chars
  Total:             2083 chars
  Total visible lines: 30 [or 25 if in headers]

  Bandwidth increase relative to original: 16%
  Visible lines increase relative to original: 20% [or 0% if in headers]

Note that I made reasonably heavy use of HTML features, and that this
was a deliberately small message so as to approximate a worst case.

284 characters of base-64 coding look something like this:

Be9593kfkjsokdbAFeVdsFsREvS5isjkfkjsokdbAFeVdsFdsFsREvS5isjkjsokdbAFeVd
RGYhhdGIxwf453453TghdsgTfD5IqqeoxkHYhxdxwfkndbAFeVdexEdrgS5isjkjsRGDTok
HmBeRFkfkjsokdbAFeisj345345345Tg534VdsFsREvS55345554EvS5isRRjsbxqoNSrIq
Or9593xsXwfbxqoNSrIqfSfERiF5vfwxG0NsbxqoNSrIqfSqfSsREvS5isjkjsokdbAFeVd
eVtK

That is to say, 4 lines of gabble added to the header of (or appended as
a part of) a 25-line message.

Whilst these figures are rough, (for example they the ignore the overhead
of MIME headers) I think they demonstrate 

1  the potential for aggravation and significant waste of bandwidth
   in the double ASCII and HTML method

2  the relatively low impact of the compressed out-of-band markup
   method

-- 
   Neil Harris
   Sohonet Limited
   http://www.sohonet.co.uk/
   The ATM network for the media industry

Technical Details
Message-ID: <neil-0801971832460001@nharris.demon.co.uk>
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
References: <59rvoh$i5d@epimetheus.algonet.se> <vxkpvzi3f5k.fsf@pocari-sweat.jprc.com> <5ars1m$44o@fugue.clari.net> <vxk681adx94.fsf@pocari-sweat.jprc.com> <5at70l$lr8@fugue.clari.net> <rnewman-0701970935510001@mfd-dial1-1.cybercom.net>

Show Full Headers
Complete Article Headers
Message-ID: <neil-0801971832460001@nharris.demon.co.uk>
Subject: Re: Out-of-band HTML Re: Netscape 4 hitting the streets
Date: Wed, 08 Jan 1997 00:00:00 +0000
From: neil@nharris.demon.co.uk (Neil Harris)
References: <59rvoh$i5d@epimetheus.algonet.se> <vxkpvzi3f5k.fsf@pocari-sweat.jprc.com> <5ars1m$44o@fugue.clari.net> <vxk681adx94.fsf@pocari-sweat.jprc.com> <5at70l$lr8@fugue.clari.net> <rnewman-0701970935510001@mfd-dial1-1.cybercom.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.mbox.zip!not-for-mail
X-Deja-AN: 208734108
X-nntp-posting-host: nharris.demon.co.uk
Newsgroups: news.software.readers