🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #52816

Re: HowTo: Put Cool pictures in headers

#52816
From: J. Moreno
Date: Fri, 08 Oct 1999 00:00
163 lines
9023 bytes
Glen Harman <gharman@erols.com> wrote:

> J. Moreno <planb@newsreaders.com> wrote in message
> > Glen Harman <gharman@erols.com> wrote:
> >
> > > J. Moreno <planb@newsreaders.com> wrote in message
> > > > Glen Harman <gharman@erols.com> wrote:
> > -snip-
> > > > > I think it would be wise to discourage people from bloating the header
> > > > > with extraneous information and message formatting/content data.
> > > >
> > > > The one I'm currently using is 85 bytes (including extra spaces, 77 if
> > > > you just count the header contents), smaller than a lot of message-id's
> > > > and subjects as Jeremy points out.
> > > >
> > > > If formatting could be added with as little bloat and as discrete as the
> > > > X-Face, I'd go for it in second.  The thing is that it could, it's just
> > > > that it isn't.
> > >
> > > Well, I may have miscounted but FWIW here is what I came up with:
> > >
> > >     2327 for the entire article
> > >     1072 for the entire header
> > >     88 bytes extra to carry the X-Face
> > >     249 bytes extra to carry the X-Face, X-FAQs-Read, and X-ACLA-Charter
> > >
> > >     8.2% header increase for X-Face
> > >     23.2% header increase for X-Face, X-FAQs-Read, and X-ACLA-Charter
> > >
> > >     3.8% article increase for X-Face
> > >     10.7% article increase for X-Face, X-FAQs-Read, and X-ACLA-Charter
> >
> > Well, I'll drop the X-FAQs-Read -- it never went anywhere anyway.
> 
> Well if it no longer serves a usefull purpose (what was it there for?)

An attempt to avoid some arguments.

> you might consider it.  But my concern isn't about what you in particular
> are doing, its about what large percentages of users are doing.
> 
> > > The reason I'm not too keen on this is three-fold.  First, it would seem
> > > to increase server load in terms of header parsing and Path/Xref appending
> > > (however trivial that increase would be for a single article).
> >
> > Path is normally first and unaffected by actual header size,
> 
> Doh! Good point.
> 
> > xref is last and would increase the server load ever so slightly, it IS
> > ever so slightly -- being simply the extra time spent looking for \n\n
> > and making sure that it's not already present.
> 
> Yeah, in the end I suspect they parse for and check each header that
> is present.

I don't see why -- I'd look for \nx-ref: and pass it on by at the first
mis-match (except when filling out the over view of course, and then I'd
look for specific headers, and ignore as much as possible everything
else).  If I was looking for maximum speed, I'd only go through the
headers once, that's not too hard to arrange (although not as simple in
concept as simply parsing the headers looking for a specific header).
 
> > > Second, as the email and/or news header contains various bits of
> > > information that are not (always) easy to get at without pulling down
> > > the whole thing, it makes it more time consuming to do enhanced
> > > filtering and some other header based analysis.
> >
> > It may not always be easy to get, but it is certainly normally easy to
> > get -- most of the filtering is done by xover or xhdr.  I don't believe
> > mail has an equivalent to xover, but it certainly has the equivalent of
> > xhdr.
> 
> Depends on whether we are talking basic filtering or enhanced filtering,
> and of course what server we're using.  The XHDR approach doesn't
> work (well and/or efficently) on a number of server's I've used.  Just
> curious...  Can you XHDR for X-Face on your server?

Yes, although you're right about it's difficulties (my server doesn't
deal well with folded headers when doing xhdr).
 
> I'm not familiar with anything other than TOP 0 to get at email headers
> (for example, to avoid downloading ridiculously huge and unwanted
> messages).  Would you enlighten me?

Nope, I was WRONG (confused if you want to be nice about it).

Although I don't see that it would be that hard to add a xhdr like
command to POP3.

-snip-
> > > Third, the intermixing of what I'll term routing/control and content
> > > information is something that I've found to be in general a bad idea. It
> > > usually complicates software implementation and decreases flexibility by
> > > making things less modular.  Thats not to say I wouldn't like to see a
> > > little more about content *type* up in the header - but layout, image
> > > data, and other content stuff just doesn't seem to belong if you know what
> > > I mean.
> >
> > I understand what you mean, and I've heard it before -- but although
> > they are in the same place, I don't think they can properly be called
> > intermixed; any more than putting them in the body does at least. The
> > article is divided into two sections headers and contents, but it is
> > still one article -- and putting the formatting information in the
> > headers is MORE flexible than putting it in the body (you can leave the
> > contents alone and send multiple encodings in the headers).
> 
> Well like I said, I would like to see more information about content type.
> I run into alot of foreign messages where the character set information
> just isn't up there.  I think we need a reliable, easy way to hide them.
> But I'm not sure I appreciate the benefits of putting different encodings
> in the header as opposed to putting them below.  From the clients point of
> view it wouldn't seem to matter.  Are you thinking about gateway translators
> which automatically adjust things as they come into a different country or
> service?

If you put different encodings in the header then you only change the
encodings, not the contents -- say I had a 'reader that knew about
X-HTML-Formatting which had as it's contents a way to turn the body of
the message into a HTML message, but didn't know about X-RTF-Formatting,
you had a 'reader that knew about X-RTF-Formatting but not XHF.  If
someone wanted to send us both the same message and wanted both version
to be formatted he could send it with both XHF and XRF, since the body
of the message isn't changed the extra size of the XHF or XRF would be
minimal.

And of course if it was sent to someone whose reader didn't understand
either, he'd still get the plain text version.

-snip-
> > The problem with MIME is that in non-aware clients people end up seeing
> > the raw data, which is very annoying (and don't forget that there are
> > still clients where the user has to finish one article before going on
> > to the next, which makes MIME particularly annoying).
-snip- 
> What are we talking about here.  Are we talking 5% of users having
> problems or 30% or 60% or what?  I would think the most common clients
> have enough of a following that somebody would have gone in and added a
> few checks to avoid the problem article [parts].  

Approximately 1/3 of all news messages are posted by programs without an
X-Newsreader/X-Mailer/User-Agent header -- it's a pretty good bet that
99% of those messages are from programs that don't do MIME (rn, trn,
etc).  About 50% of the articles come from MS/NS. So it's reasonable to
suppose that anywhere from 33-50 of the articles are posted via programs
that don't do MIME -- this of course doesn't get you the number of
READERS, but it's the best you can do (and of course it was even worse
when MIME was first attempted).

> Ever come across a list of which clients have a problem with this stuff?

It'd be a lot easier to come up with a list of programs that don't have
a problem.

Some aspects of MIME have been adopted enthusiastically -- Content-Type
and other language issues, but not the greater part of it (it's been
more successful in mail, but then again that is what it was designed
for).

-- 
John Moreno

Technical Details
Message-ID: <1dzd6lx.1jig0pu13i4og5N@roxboro0-0028.dyn.interpath.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
References: <061019991455211735%mooch@thrustre.com> <37FC74DE.D81A1249@mitel.com> <7tiunp$o9c$1@news.btv.ibm.com> <1dzbcfd.1gsm61puk15qwN@roxboro0-0029.dyn.interpath.net> <7tjc6p$gsl$1@autumn.news.rcn.net> <1dzbr87.1h7nlsmn77351N@roxboro0-0045.dyn.interpath.net> <7tkg8u$hqn$1@autumn.news.rcn.net> <1dzcrxs.ior2up35ewizN@roxboro0-0055.dyn.interpath.net> <7tlicr$alv$1@autumn.news.rcn.net>

Show Full Headers
Complete Article Headers
Message-ID: <1dzd6lx.1jig0pu13i4og5N@roxboro0-0028.dyn.interpath.net>
Subject: Re: HowTo: Put Cool pictures in headers
Date: Fri, 08 Oct 1999 00:00:00 +0000
From: planb@newsreaders.com (J. Moreno)
References: <061019991455211735%mooch@thrustre.com> <37FC74DE.D81A1249@mitel.com> <7tiunp$o9c$1@news.btv.ibm.com> <1dzbcfd.1gsm61puk15qwN@roxboro0-0029.dyn.interpath.net> <7tjc6p$gsl$1@autumn.news.rcn.net> <1dzbr87.1h7nlsmn77351N@roxboro0-0045.dyn.interpath.net> <7tkg8u$hqn$1@autumn.news.rcn.net> <1dzcrxs.ior2up35ewizN@roxboro0-0055.dyn.interpath.net> <7tlicr$alv$1@autumn.news.rcn.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: 534467840
Mail-Copies-To: nobody
X-ACLA-Charter: <http://www.deja.com/msgid.xp?MID=%3Cphenix-121119981748546229@roxboro0-023.dyn.interpath.net%3E&ST=&AH=1>
X-Face: ]lUBtDImSD_`E"<*ZgyJUoCT\=CdRLFX4qCMLK[xy^L7v|uX|f8`cFDd*PaH8 N*x>d^h
Organization: phenix@interpath.com
User-Agent: MacSOUP/2.4
Newsgroups: news.software.readers