🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #61966

Re: ARTICLE by artno vs msgid

#61966
From: Curt Welch
Date: Thu, 14 Nov 2002 04:12
32 lines
2620 bytes
xnews@newsguy.com wrote:
> curt@kcwc.com (Curt Welch) wrote in
> news:20021113152940.724$XM@newsreader.com...
>
> >
> > And you can assume that a newsreader which only tries to accesss by
> > Message-ID is going to have more problems with missing articles than
> > one that only tries to access by article number.
>
> I normally fetch by article no., but I have a feature that lets the user
> pull headers from one server and retrieve the articles from another, and
> that's where this problem shows up.

Another possible option is to do xhdr <message-id> on the other servers and
build your own mapping of message-id to article number and then fetch by
article number on the second.  xhdr will be a lot faster than having to do
a full xover on the others but less likely to run into the type of problems
you are seeing.

Or I guess if you want to write more code, try to test the server to see if
the oldest articles in the group can be correctly fetched by Message-ID.
When fetching by Message-ID doesn't work correctly, that's the most likely
place for it to fail.  You can then either warn the user about the problem
or just automatcially switch to the xhdr trick, etc.

Warning the user about the problem and getting them to report it to the
admin of the server would be a good thing I think.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
Technical Details
Message-ID: <20021113231223.294$BY@newsreader.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!logbridge.uoregon.edu!snoopy.risq.qc.ca!chi1.webusenet.com!rip!news.webusenet.com!feed3.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
References: <Xns92C573E90584luutrangeocities@192.216.136.216> <20021113152940.724$XM@newsreader.com> <Xns92C5BC98A762Dluutrangeocities@192.216.136.216>

Show Full Headers
Complete Article Headers
Message-ID: <20021113231223.294$BY@newsreader.com>
Subject: Re: ARTICLE by artno vs msgid
Date: Thu, 14 Nov 2002 04:12:23 +0000
From: curt@kcwc.com (Curt Welch)
References: <Xns92C573E90584luutrangeocities@192.216.136.216> <20021113152940.724$XM@newsreader.com> <Xns92C5BC98A762Dluutrangeocities@192.216.136.216>
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!logbridge.uoregon.edu!snoopy.risq.qc.ca!chi1.webusenet.com!rip!news.webusenet.com!feed3.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
Organization: NewsReader.Com
Newsgroups: news.software.nntp
X-Trace: NewsReader.Com 8wDpZnc@CmWQb+_RjXQsqhjuiYF1/-yyiM+fcfRAl+f7Fq7gE
X-Face: "p}G*1KH{+F7EYGKLb>ogDguabZ+%,?^epeFB!nzu`)`$=QcvL1KF6<0GH!Tbc!Sqo[|tV5
  %IW48mQf3K=Ci&gZ7]]aazx@]Y-nq!r5{yH/#,?@lDdUDvOfByB2hVW0.@OM%{l/{cT'{w
X-Url: http://CurtWelch.Com/
User-Agent: NewsReader.Com
Lines: 31