🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #54975

Re: Article numbering and handling article number rollover

#54975
From: Howard Siegel
Date: Mon, 05 Nov 2001 15:44
31 lines
2261 bytes
andrew@erlenstar.demon.co.uk writes:
> The right way to do this is:
> 
> use the DATE command on the server to get the current time, record
> that for the next pass.
> 
> use the time from the previous run, preferably wound back a few
> minutes, for doing one or more NEWNEWS commands (you can specify lots
> of groups at one go, provided you keep the command length down to the
> 510-byte limit). Take the resulting list of message-ids, remove any
> duplicates, and remove any that correspond to articles that you
> already have seen recently. Then fetch the articles.

Sounds good.

> (Not keeping at least a small history between runs will always lead
> to the possibility of either missing or duplicating the occasional
> article.)

The occasional missed/duplicate article is not all that critical at
this time.

I had thought about setting the times so that there would be some
overlap so as not to miss any articles and then keeping the history
between runs to weed out the duplicates.  Just haven't implemented
it as yet.
-- 

-- 
Netcom Class of '93, RIP Netcom!     <*>     hsiegel<->at<->pobox<->dot<->com
Technical Details
Message-ID: <9s6c5e$76o$1@news.panix.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!bloom-beacon.mit.edu!panix!news.panix.com!not-for-mail
References: <9r5agg$7ma$1@news.panix.com> <illnU1B5lT37EALM@crowfam.org.uk> <9s5dtq$sns$1@news.panix.com> <87elndu1d4.fsf@erlenstar.demon.co.uk>

Show Full Headers
Complete Article Headers
Message-ID: <9s6c5e$76o$1@news.panix.com>
Subject: Re: Article numbering and handling article number rollover
Date: Mon, 05 Nov 2001 15:44:46 +0000
From: Howard Siegel <not.interested@nospam.invalid>
References: <9r5agg$7ma$1@news.panix.com> <illnU1B5lT37EALM@crowfam.org.uk> <9s5dtq$sns$1@news.panix.com> <87elndu1d4.fsf@erlenstar.demon.co.uk>
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!bloom-beacon.mit.edu!panix!news.panix.com!not-for-mail
Newsgroups: news.software.readers,news.software.nntp
Organization: Gallifrey Beach Club
Lines: 30
Distribution: inet
Reply-To: not.interested@nospam.invalid
NNTP-Posting-Host: panix3.panix.com
X-Trace: news.panix.com 1004975086 7384 166.84.1.3 (5 Nov 2001 15:44:46 GMT)
X-Complaints-To: abuse@panix.com
NNTP-Posting-Date: 5 Nov 2001 15:44:46 GMT
X-Newsreader: trn 4.0-test74 (May 26, 2000)