🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #56508

Re: Limiting XOVER by date ?

#56508
From: Curt Welch
Date: Thu, 14 Feb 2002 15:56
43 lines
3083 bytes
archiver@i3w.com (The Archiver) wrote:
> I believe that "load headers from the last 7 days" would be far better.

As a UI feature, sure, that's a valid concept.  But I don't see that a
desire to create a UI feature like that calls for any changes to the NNTP
protocol.

> I believe that the best method for xover-download for "regular nntp-host"
> would be to read 'backwards' in chuncks of 1000 headers and then stop
> whenever a certain date is reached.

That's true.

But keep in mind that dates on articles are many times bogus.  So you
can't stop on the first article you see from the date in question, and
you can't keep going until all dates are before the date in quesiton.  The
whole concept of downloading the "last 7 days" of headers is something
most news servers just can't do very easilly because they don't tend to
keep track of when articles showed up and the dates on the articles
themself can be off by days.

So if you were to try and download 7 days of articles, it's going to be an
approximation at best.

> An easy solution for MyNews (where CPU-cycles are cheap) could be to
> send the xover in reverse order until a "STOP" command is received.

That could be done with NNTP.  You could add a "STOP" command which could
be treated as a NO-OP in general (i.e. it never returns any type of return
code), but it would, when received, cause the current output to be stop
earily.

But in fact, I think it would be much easier to code on both sides (the
client and the server), if the client was simply expected to send xover
commands for a few hundred headers at a time.  If you pipeline the
commands, then they won't be any slower than using one large xover with an
abort command and it can all be done with no changes to NNTP or the
servers.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
Technical Details
Message-ID: <20020214105619.960$f9@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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!cpk-news-hub1.bbnplanet.com!news.gtei.net!newsfeed1.cidera.com!Cidera!feed1.newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
References: <14029.d22200@archiver.winews.net> <20020213093719.452$nS@newsreader.com> <39149.e22201@archiver.winews.net>

Show Full Headers
Complete Article Headers
Message-ID: <20020214105619.960$f9@newsreader.com>
Subject: Re: Limiting XOVER by date ?
Date: Thu, 14 Feb 2002 15:56:20 +0000
From: curt@kcwc.com (Curt Welch)
References: <14029.d22200@archiver.winews.net> <20020213093719.452$nS@newsreader.com> <39149.e22201@archiver.winews.net>
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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!cpk-news-hub1.bbnplanet.com!news.gtei.net!newsfeed1.cidera.com!Cidera!feed1.newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
Organization: NewsReader.Com
Newsgroups: news.software.nntp
X-Trace: NewsReader.Com nC3_X+1@y5tefwbts+Zi8e@5PGrhVnHVIFa25DCFlWdDPFhW
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-Url: http://CurtWelch.Com/
User-Agent: NewsReader.Com
Lines: 42