🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #150530

Re: Download headers within a date range

#150530
From: Murray Peterson
Date: Wed, 23 Jun 2004 03:40
19 lines
1866 bytes
jakelundy@hotmail.com (Jake) wrote in 
news:b5178b80.0406221912.5a02c93f@posting.google.com:

> I bring this up again because from what I've seen of the NNTP
> protocol, what I'm asking should be possible:  The lower and upper
> message numbers in a group can be determined (as Xnews does) and a
> binary search within this range can quickly hone in on the first
> message that was posted on a specified date.

A simple binary search will fail, since the message numbers are somewhat 
sparse (ordered, but not necessarily contiguous).  It's still possible to 
speed up the search, but in all but the larger groups, it would 
(probably) be simpler and faster to download all the headers, and then 
discard the ones not wanted.

-- 
Murray Peterson
Email: murray_peterson@shaw.ca (remove underscore)
URL:   http://members.shaw.ca/murraypeterson/
Technical Details
Message-ID: <Xns9510DD9025CA0farkle@24.71.223.159>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!internal1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!pd7cy2so!shaw.ca!pd7tw3no.POSTED!53ab2750!not-for-mail
References: <b5178b80.0406221912.5a02c93f@posting.google.com>

Show Full Headers
Complete Article Headers
Message-ID: <Xns9510DD9025CA0farkle@24.71.223.159>
Subject: Re: Download headers within a date range
Date: Wed, 23 Jun 2004 03:40:28 GMT
From: Murray Peterson <mwp@home.com.invalid>
References: <b5178b80.0406221912.5a02c93f@posting.google.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!internal1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!pd7cy2so!shaw.ca!pd7tw3no.POSTED!53ab2750!not-for-mail
X-Trace-PostClient-IP: 68.145.154.18
Newsgroups: news.software.readers
Organization: None
User-Agent: Xnews/06.02.16
Lines: 19
NNTP-Posting-Host: 24.71.223.147
X-Complaints-To: abuse@shaw.ca
X-Trace: pd7tw3no 1087962028 24.71.223.147 (Tue, 22 Jun 2004 21:40:28 MDT)
NNTP-Posting-Date: Tue, 22 Jun 2004 21:40:28 MDT