🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #60331

Re: How common are extensions like XOVER?

#60331
From: Russ Allbery
Date: Wed, 11 Sep 2002 03:27
27 lines
2237 bytes
ABS <avrombay@sville.com> writes:

> I have to write a gateway to import NNTP messages from a newsserver into
> a database.  I don't want to import duplicate messages, so I am keeping
> track of all the messageID's i come in contact with in each group. I'm
> using Perl and Net::NNTP.

> I'd like to try to avoid looping through every article if possible
> everytime I download more messages. xhdr and xover look like a great
> way to do this by keeping track of the last message number on every
> batch processed.

> Since I could encounter many different kinds of NewsServers, how common
> are commands like xover that aren't mentioned in the RFCs? Is there a
> more up todate RFC I need to look at? Or should I just trust that xover
> and xhdr are available in all newsservers?

It depends a lot on what commands you're talking about, but XOVER is
essentially universally implemented.  XHDR is *mostly* there, but with a
lot of variation between servers.  Other stuff like XPAT is a bit rarer.

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

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID: <yly9a9jjcw.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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!nntp.stanford.edu!not-for-mail
References: <hudtnug6trhqp205713nqbb5v8ge7vv898@4ax.com>

Show Full Headers
Complete Article Headers
Message-ID: <yly9a9jjcw.fsf@windlord.stanford.edu>
Subject: Re: How common are extensions like XOVER?
Date: Tue, 10 Sep 2002 20:27:59 -0700
From: Russ Allbery <rra@stanford.edu>
References: <hudtnug6trhqp205713nqbb5v8ge7vv898@4ax.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!nntp.stanford.edu!not-for-mail
Newsgroups: news.software.nntp
Organization: The Eyrie
Lines: 26
NNTP-Posting-Host: windlord.stanford.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: news.Stanford.EDU 1031714879 1521 171.64.13.23 (11 Sep 2002 03:27:59 GMT)
X-Complaints-To: news@news.stanford.edu
User-Agent: Gnus/5.090008 (Oort Gnus v0.08) XEmacs/21.4 (Honest Recruiter,
 sparc-sun-solaris2.6)
Cancel-Lock: sha1:r1VW7JLFvgynQ5JUhpNTTxs8lwA=