🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.misc
Article #2359

Re: which header keeps serial numbers ?

#2359
From: bill davidsen
Date: Tue, 28 Nov 2000 00:00
30 lines
2316 bytes
In article <3A1A8744.A608406C@us.ibm.com>,
David M. Chess <chess@us.ibm.com> wrote:
| You can keep track of message-ids; that makes the database server-
| independant, but you'll have to keep a list of every message id
| you've ever seen (modulo expiration and so on), and when you
| go to retrieve new ones you'll have no easy way of asking the
| server for just the unseen ones.  Or you can keep track of the
| article number, which is server specific but also monotonically
| increasing, so you only need to keep track of one number per
| newsgroup, and you can use "next"s to get only the new ones.

  Or combine the items and keep one number per group per server, and
pull down (XHDR) the message IDs for lookup. If one were running some
form of multi-server suck, you could take all the IDs from all the
tracked groups, run them through some uniq filter, and then pass them
through grephistory with the "-i" option to get a list of IDs you don't
have.

  Not surprisingly, I have a little C program which accepts a list of
IDs and pulls them from a server, and builds a rnews format output file
which can be fed into news at a convenient point, compressed and sent,
etc. I pull overview, let a perl program do some selection based of
various things, and then go grab the articles. This from a low bandwidth
site, obviously.

-- 
  bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
Make the rules? I don't make the rules. I don't even FOLLOW the rules!

Technical Details
Message-ID: <901272$5jj6$1@newssvr06-en0.news.prodigy.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: <3a19887f.5090825@news.alt.net> <3A1A8744.A608406C@us.ibm.com>

Show Full Headers
Complete Article Headers
Message-ID: <901272$5jj6$1@newssvr06-en0.news.prodigy.com>
Subject: Re: which header keeps serial numbers ?
Date: Tue, 28 Nov 2000 00:00:00 +0000
From: davidsen@tmr.com (bill davidsen)
References: <3a19887f.5090825@news.alt.net> <3A1A8744.A608406C@us.ibm.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
X-Deja-AN: 698805041
X-Complaints-To: abuse@prodigy.net
X-Trace: newssvr06-en0.news.prodigy.com 975440930 183910 192.168.190.236 (28 Nov 2000 19:48:50 GMT)
Organization: TMR Associates, Schenectady NY
NNTP-Posting-Date: 28 Nov 2000 19:48:50 GMT
Newsgroups: news.software.readers,news.software.nntp,news.software.misc
Originator: davidsen@darkstar.prodigy.com