Article View: news.software.readers
Article #52805Re: HowTo: Put Cool pictures in headers
From: Glen Harman
Date: Fri, 08 Oct 1999 00:00
Date: Fri, 08 Oct 1999 00:00
138 lines
8023 bytes
8023 bytes
J. Moreno <planb@newsreaders.com> wrote in message news:1dzcrxs.ior2up35ewizN@roxboro0-0055.dyn.interpath.net... > 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?) 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. > > 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? 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? > 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. Yeah, I would imagine that few people are doing this. In large part due to client and/or bandwidth limitations. I see bandwidth increasing and I really like the empowering nature of being able to make use of all the filter fodder, so I'm hoping we'll get to a point where it is more readily available to those who would like to. > > 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? > > 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. 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]. Ever come across a list of which clients have a problem with this stuff?
Technical Details
Message-ID:
<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-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> <1dzcrxs.ior2up35ewizN@roxboro0-0055.dyn.interpath.net>Show Full Headers
Complete Article Headers
Message-ID: <7tlicr$alv$1@autumn.news.rcn.net> Subject: Re: HowTo: Put Cool pictures in headers Date: Fri, 08 Oct 1999 00:00:00 +0000 From: "Glen Harman" <gharman@erols.com> 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> 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: 534447763 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="iso-8859-1" X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 X-Complaints-To: abuse@rcn.com X-Trace: mUlPdct+YRW9/lDyLVEa7YKnAHFeqG4K1x4bUob/BtM= X-MSMail-Priority: Normal Mime-Version: 1.0 NNTP-Posting-Date: 8 Oct 1999 19:58:19 GMT Newsgroups: news.software.readers