🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.misc
Article #2346

Re: which header keeps serial numbers ?

#2346
From: Russ Allbery
Date: Mon, 20 Nov 2000 00:00
19 lines
1509 bytes
In news.software.nntp, aclexports <aclexports@usa.net> writes:

> Which header keeps track of the articles inside a news-server.  I am
> writing the code for retrieving the articles from a news-server on a
> daily basis. Which is the counter I need to keep track of so I know
> which articles I have already downloaded before ? Is it the message-id
> or the Xref header ?

The article number is usually available in the Xref header, although it's
worth noting that Xref is not a mandatory header.  If you use GROUP and
ARTICLE with article numbers to retrieve messages like most news readers
do, you can keep track of what article numbers you've already downloaded
that way (which is how most news readers maintain their .newsrc or
equivalent).

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

Technical Details
Message-ID: <ylpujqceb4.fsf@windlord.stanford.edu>
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>

Show Full Headers
Complete Article Headers
Message-ID: <ylpujqceb4.fsf@windlord.stanford.edu>
Subject: Re: which header keeps serial numbers ?
Date: Mon, 20 Nov 2000 00:00:00 +0000
From: Russ Allbery <rra@stanford.edu>
References: <3a19887f.5090825@news.alt.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!not-for-mail
X-Deja-AN: 695986853
Content-Type: text/plain; charset=us-ascii
Organization: The Eyrie
Mime-Version: 1.0
User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands)
Newsgroups: news.software.readers,news.software.nntp,news.software.misc