🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #42383

Re: Header-Only feeds (was: A nice side benefit of WebReader)

#42383
From: Curt Welch
Date: Sat, 18 Dec 1999 00:00
97 lines
5857 bytes
Brad Knowles <brad@shub-internet.org> wrote:
> In article <19991216152219.196$Pi_-_@newsreader.com>, curt@kcwc.com
> (Curt Welch) wrote:

>     I think we'd have to have a different way to identify an article
> that a server wanted to send as header only, as opposed to the entire
> body, and conversely I think we'd need a way to say "Nope, I don't want
> the header only, I only want the article if you've got the entire body"

I can't see why a server would ever want to say that.  That is, if the
server knew how to deal with head only articles, then it would always want
the article, even it was only the header.

If the server didn't know how to deal with head only articles, then it's
upstream feed should never be trying to send it those articles.  If it
does, then it's just configured wrong.

> or "Nope, I don't want the entire article from you, I want only the
> headers".  That way you could choose to accept or refuse an article
> based on whether or not it would be complete or header-only.

And if you only wanted headers, once again, the upstream server would
be configured to feed you only the headers for all articles which had
the Body: header -- even it it happened to have the full article.

If you wanted either, then it would either.

The only thing that I can see as useful in this sense would be a server
which had received the header from one feed, and then was offered the
entire article from another feed.  There are times I think where you
would want to config your server to takes those instead of turnning them
down.

To do that all you need is a way for the sending site to tell you if
the article it was offering was a full aritlce or only a head.

Maybe the way to do that is add a IHEAD/CKHEAD commands that would be
used if the sending site had a head-only article it wanted to send.
It would use IHAVE/CHECK for full articles (even if the article had
the Body: header).

This way, if someone configs a feed wrong, and starts trying to send
head-only articles to a site which didn't support it, the site would
automatically reject the offers because it didn't support the IHEAD/CKHEAD
commands.  And this I'm now seeing would be very important, because when
you run a site with a mix of header-only and real articles, it would
be a disaster if those head-only aritlces "leaked" out into the portion
of Usenet that didn't support them.  The head-only versions would quickly
beat the real articles to all the sites around the world and when people
tried to read them there would be no body!

So it looks like special feed comands are a MUST for the headers.

Now this doesn't give the downstream server the option of asking for
only the header if the full body was available, but I don't think
that's a problem.  If you want only headers then the upstream feed
will be configured to send it to you that way.  And by looking at your
articles as the show up, you can easilly tell if the upstream is configured
wrong.

>     Also, instead of manually configuring feeds to be pure header-only
> or full articles, I think we ought to mix the feeds, and offer full
> articles for small messages (say, anything smaller than 32KB), and
> headers only for larger articles.

For sure.  It would be stupid for example to add a Body: line to cancel
message which just had a single line to begin with in the body, and then
feed only the head and force people to come back later to get the body.

The way I see this working is that servers which support the idea if
bodyless articles would be able to deal with a mix of both types in their
incomming streams. The head-only technology I currently use can't do this.
It assume that everything being feed it has only the head.  I'm pretty sure
that Diablo works the same way.

Mixing full articles and head-only article in the same stream/same server
is a big part of why this idea is a different twist on the pure header-only
feeds in use today.

The advantage is two fold.  One, like you just pointed out, for small
articles, it makes more sense to feed the entire thing than to use the
head-only technology.  And two, it allows compatibility with the existing
net.

Another twist I just though of.  You could configure a stream to try and
feed you everything.  But if it backlogs (because you run out of
bandwidth), it would automaticlly stop feeding the bodies to allow you to
catch up.  This way, you get full use out of your incomming streams.  (or
the same thing could be bandwidth limited on the feed size instead of the
backlog. i.e., feed bodies if the current feed size is below some defined
level, but feed only heads if it's above that.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/

Technical Details
Message-ID: <19991218134356.062$Re@newsreader.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <38569b7a$0$224@nntp1.ba.best.com> <6aJWOE2g9YI1qQ46VtGbCuiICWXm@4ax.com> <3856bc3d$0$229@nntp1.ba.best.com> <19991216152219.196$Pi_-_@newsreader.com> <brad-1F6669.00533517121999@news.skynet.be>

Show Full Headers
Complete Article Headers
Message-ID: <19991218134356.062$Re@newsreader.com>
Subject: Re: Header-Only feeds (was: A nice side benefit of WebReader)
Date: Sat, 18 Dec 1999 00:00:00 +0000
From: curt@kcwc.com (Curt Welch)
References: <38569b7a$0$224@nntp1.ba.best.com> <6aJWOE2g9YI1qQ46VtGbCuiICWXm@4ax.com> <3856bc3d$0$229@nntp1.ba.best.com> <19991216152219.196$Pi_-_@newsreader.com> <brad-1F6669.00533517121999@news.skynet.be>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 562397186
X-Face: "p}G*1KH{+F7EYGKLb>ogDguabZ+%,?^epeFB!nzu`)`$=QcvL1KF6<0GH!Tbc!Sqo[|tV5 %IW48mQf3K=Ci&gZ7]]aazx@]Y-nq!r5{yH/#,?@lDdUDvOfByB2hVW0.@OM%{l/{cT'{w
X-User: Curt@NewsReader.Com
Organization: NewsReader.Com
X-Url: http://CurtWelch.Com/
Newsgroups: news.software.readers,news.software.nntp