Article View: news.software.nntp
Article #51451Re: NNTP Commands Question
From: Andrew Gierth
Date: Sat, 24 Mar 2001 03:48
Date: Sat, 24 Mar 2001 03:48
28 lines
2276 bytes
2276 bytes
>>>>> "Darrell" == Darrell Davis <darrell.davis@usa.net> writes: > Thanks for the responses. They are a big help. Few more questions. >> The more widely useful method is to keep track of article numbers >> read for each group, and compare those with the result of GROUP or >> LIST ACTIVE to work out which new articles to download. Darrell> Thanks. I will use this method. It occurs to me that by Darrell> doing this I would need to keep a permanent list of message Darrell> ids ever received (not just what I currently have in my Darrell> database) plus I would be reexamining many more message ids Darrell> each day than would actually be new to my system. why? Assuming you really mean "article numbers" rather than message-ids, most of the time you would simply record the highest article number received so far. (You need to refine this slightly if you are dealing with servers that can create article numbers out of order, i.e. where article, say, 1001 may exist and be available before article 1000. Most large server clusters exhibit this behaviour, though it may only be noticable if you check a specific group at very frequent intervals.) -- Andrew.
Technical Details
Message-ID:
<87g0g3ltdw.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!supernews.google.com!sn-xit-03!supernews.com!news-feed.riddles.org.uk!erlenstar.demon.co.uk!newsmonsterReferences:
<3abbee87$1@carrock.netin.com> <878zlvnbse.fsf@erlenstar.demon.co.uk> <3abc1704$1@carrock.netin.com>Show Full Headers
Complete Article Headers
Message-ID: <87g0g3ltdw.fsf@erlenstar.demon.co.uk> Subject: Re: NNTP Commands Question Date: Sat, 24 Mar 2001 03:48:11 +0000 From: Andrew Gierth <andrew@erlenstar.demon.co.uk> References: <3abbee87$1@carrock.netin.com> <878zlvnbse.fsf@erlenstar.demon.co.uk> <3abc1704$1@carrock.netin.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!supernews.google.com!sn-xit-03!supernews.com!news-feed.riddles.org.uk!erlenstar.demon.co.uk!newsmonster Newsgroups: news.software.nntp Organization: disorganised Lines: 27 NNTP-Posting-Host: erlenstar.demon.co.uk (07c6:0b4b) X-Mayan-Date: Long count = 12.19.8.1.8; tzolkin = 2 Lamat; haab = 11 Cumku X-Pgp-0x0E9FFBE9: 87 25 7F 14 41 24 B3 51 E0 19 8B DE 49 74 0C 29 X-Attribution: AG X-P-Persistent-Headers: are a bad idea. X-Newsreader: Gnus v5.5/Emacs 20.2 X-Complaints-To: andrew@erlenstar.demon.co.uk X-Post-Filter: postfilter v0.6 alpha