🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #85448

Re: NNTP API (Java)

#85448
From: Thufir Hawat
Date: Tue, 19 Feb 2013 02:48
24 lines
2361 bytes
On Mon, 18 Feb 2013 17:58:09 +0000, Whiskers wrote:


> Newsgroup clients usually keep track of which articles have been fetched
> from the upstream server simply by recording that server's article
> number for the article 'seen' most recently in each newsgroup.  This
> record may take the form of a file for the upstream server concerned: eg
> slrn creates a file such as ~/.jnewsrc in the user's home directory;
> Leafnode creates a file such as
> /var/spool/news/leaf.node/news.individual.net for an upstream account
> with Individual.net.

In this case, the GNU API encapsulates the article number in such a way 
that it's completely hidden.

As there's no provision within the API to request articles by the article 
number (instead Message.messageNumber is used for this), I think I'm 
going to request an overly large range and then reject by duplicate 
Message-ID.  Annoying as that is, it seems better than the Apache API.

Definitely I'd be interested in thoughts or alternatives.


-Thufir
Technical Details
Message-ID: <lo5bv9-qg2.ln1@dur.bounceme.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.20141118.mbox.gz!border1.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!mx05.eternal-september.org!thufir.eternal-september.org!.POSTED!not-for-mail
References: <j204v9-5j2.ln1@dur.bounceme.net> <slrnki4qth.15v.catwheezel@ID-107770.user.individual.net>

Show Full Headers
Complete Article Headers
Message-ID: <lo5bv9-qg2.ln1@dur.bounceme.net>
Subject: Re: NNTP API (Java)
Date: Mon, 18 Feb 2013 18:48:21 -0800
From: Thufir Hawat <hawat.thufir@gmail.com>
References: <j204v9-5j2.ln1@dur.bounceme.net> <slrnki4qth.15v.catwheezel@ID-107770.user.individual.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.20141118.mbox.gz!border1.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!mx05.eternal-september.org!thufir.eternal-september.org!.POSTED!not-for-mail
Newsgroups: news.software.nntp
Organization: A noiseless patient Spider
Lines: 24
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Info: thufir.eternal-september.org;
 posting-host="a6b6f25e9fc8f470090c619c4a0b5a51";
 logging-data="2204"; mail-complaints-to="abuse@eternal-september.org";
 posting-account="U2FsdGVkX18eIZG8FBCZjuMXS0YUDfPJ"
User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508 git://git.gnome.org/pan2)
Cancel-Lock: sha1:XKFG3x6B6bjCE6CZ1cD0B2lxI70=
X-Original-Bytes: 2102