🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #133856

Re: [slrn] Request range of headers? (a la Xnews Ctrl+Enter)

#133856
From: J.B. Nicholson-Owens
Date: Sun, 21 Sep 2003 05:55
32 lines
2712 bytes
Jonathan A. wrote:
> If the server has articles numbered 946591-952713 in a certain
> group, and I only want articles from a certain day, it would be helpful
> if I could request, say, headers 947500-950000 to avoid downloading all
> the headers that I don't want.

Neither slrn nor NNTP really cater to this type of access.  If you want all
the articles from a certain day, I'd recommend either using a news archive
that lets you select articles by date, setting up an offline pool of
articles (slrnpull or some other proxy), or estimating it by downloading
more articles than you need and removing the articles you don't want.

With an offline pool of articles or enough NOV data, any news reader could
do this search as well as any other.  The third option could be done with a
slrn macro, for example, but since you want to avoid downloading more
articles than you need this approach isn't going to be perfect for you.

NNTP isn't going to be helpful here either--it is not designed for this kind
of access.  Article numbers have no obvious correlation to the day in which
the article was posted or received.  You'll either have to settle for a
fast-and-inaccurate list of results or slow-but-accurate list of results.
The main thing separating the fast and slow algorithms is how quickly your
search program can download the headers or NOV data and the assumption that
date rise with article numbers (articles posted later have higher article
numbers).  This is not a valid assumption, but it could be valuable for a
quick search over a low-bandwidth pipe searching a large group.

If I recall correctly, CPAN offers NNTP modules that should come in handy
whipping up programs to do this kind of search.

Good luck.
Technical Details
Message-ID: <slrnbmqi3j.r3f.jbn@forestfield.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsmi-us.news.garr.it!NewsITBone-GARR!news.mailgate.org!newscore.univie.ac.at!fu-berlin.de!uni-berlin.de!forestfield.ORG!not-for-mail
References: <slrnbmpglh.jfr.me@yomomma.example.net>

Show Full Headers
Complete Article Headers
Message-ID: <slrnbmqi3j.r3f.jbn@forestfield.org>
Subject: Re: [slrn] Request range of headers? (a la Xnews Ctrl+Enter)
Date: Sun, 21 Sep 2003 05:55:41 +0000
From: "J.B. Nicholson-Owens" <jbn@forestfield.org>
References: <slrnbmpglh.jfr.me@yomomma.example.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsmi-us.news.garr.it!NewsITBone-GARR!news.mailgate.org!newscore.univie.ac.at!fu-berlin.de!uni-berlin.de!forestfield.ORG!not-for-mail
Newsgroups: news.software.readers
Organization: Forest Field OmniMedia
Lines: 31
NNTP-Posting-Host: forestfield.org (208.216.67.173)
X-Trace: news.uni-berlin.de 1064123741 2392346 208.216.67.173 (16 [35848])
Mail-Copies-To: nobody
User-Agent: slrn/0.9.8.0 (Linux)