Article View: news.software.readers
Article #52810Re: HowTo: Put Cool pictures in headers
From: J. Moreno
Date: Fri, 08 Oct 1999 00:00
Date: Fri, 08 Oct 1999 00:00
99 lines
5812 bytes
5812 bytes
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. > 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, 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. Even for a million articles it's not that much of an increase. > 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. The only time I see the full headers being pulled before filtering is in programs that get the whole article and then filter -- and although this probably has a large dollop of "in my limited experience", it's at least somewhat valid. > 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). > I can appreciate your point about X headers being discrete. But frankly > I'm not exactly sure what it was the earlier generation of readers coughed > on. Was it MIME in general or just specific content types/subtypes? How > common are those readers/problems today? My thinking is that additional > content like X-Face would naturally go in an unregistered subtype or > something and the vast majority of non-aware clients would know to ignore > it. Or is that not how it works? The vast majority of non-aware clients are not MIME aware (yes, even now it's not that common for news programs to not be MIME aware, even new programs -- for better or worse, MIME is slowly gaining some acceptance, but it IS slow). 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). OTOH, parsing of the headers to only show the ones that the user desires to see has been around since rn -- I don't know of a single client that shows the full headers and only the full headers. -- John Moreno
Technical Details
Message-ID:
<1dzcrxs.ior2up35ewizN@roxboro0-0055.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-mailReferences:
<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>Show Full Headers
Complete Article Headers
Message-ID: <1dzcrxs.ior2up35ewizN@roxboro0-0055.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> 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: 534369662 Mail-Copies-To: nobody X-ACLA-Charter: <http://www.dejanews.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 X-FAQs-Read: perl, pascal.mac User-Agent: MacSOUP/2.4 Newsgroups: news.software.readers