🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #219037

Re: [SLRN][LEAFNODE] Slrnpull vs. Leafnode

#219037
From: Tom Newton
Date: Thu, 10 Apr 2008 11:22
55 lines
2873 bytes
On 2008-04-09, in <slrnfvq9be.mb3.tom@treeoflife.3v8l2x.net> Tom
Newton <tom@server.invalid> wrote:

> I tried leafnode 1 and now I have been using leafnode 2 for a
> while.
>
> Compared to slrnpull it is a pain in the ass. The only
> advantage it has is that you can download and post to mutliple
> servers using the same newspool.
>
> If slrnpull could do this I'd drop leafnode so fast it would
> make your head spin.
>
> Has anyone done any work on merging two or more slrnpull
> newspools?
>
> Could it be done with a script?

Yes! You can create two newspools for slrnpull, sp1 and sp2, with
sp1 being the one you read from. Each is for a different server
with the same newsgrpoups subscribed to.

Download new posts with sp1 and put the MIDs of the new posts in
a file for each group, sourced by the sp2 scorefile. Include a
datestamp so they can be expired.

Then run sp2, which will kill any posts with those MIDs. If there
are any posts that didn't come in from sp1, give them a server
number below that of the minimum listed in sp1/data/active in
their xref header and update .../data/active and the .minmax file in
the directory for that newsgroup. Cp the post to sp1 with the
name of the file being the server number you've given it.

Then prepend the xover information to the .overview file for that
group and expire the posts in sp2, so as not to waste disk space.
Expire any MIDs that are more than a couple of days old in the
scorefiles sourced by the main sp2 scorefile.

Neither slrn nor slrnpull have any objections to this...
Works just fine manually.

So you've got two newspools, but one is almost empty all the
time, and you aren't wasting time and bandwidth and server
resources downloading duplicate artices.

Now for writing the script. I guess it would be better to
do it for up to three servers, but one step at a time.

Tom


-- 
The Truth will set you free:
http://www.sethcenter.com
Technical Details
Message-ID: <slrnfvru2u.9pe.tom@treeoflife.3v8l2x.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.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.straub-nv.de!aioe.org!not-for-mail
References: <slrnfvq9be.mb3.tom@treeoflife.3v8l2x.net>

Show Full Headers
Complete Article Headers
Message-ID: <slrnfvru2u.9pe.tom@treeoflife.3v8l2x.net>
Subject: Re: [SLRN][LEAFNODE] Slrnpull vs. Leafnode
Date: Thu, 10 Apr 2008 11:22:13 +0000
From: Tom Newton <tom@server.invalid>
References: <slrnfvq9be.mb3.tom@treeoflife.3v8l2x.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.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.straub-nv.de!aioe.org!not-for-mail
Newsgroups: news.software.readers
Organization: Aioe.org NNTP Server
Lines: 55
Reply-To: tom@server.invalid
NNTP-Posting-Host: rZuTe0d7K+08sfgRl4wYDg.user.aioe.org
X-Complaints-To: abuse@aioe.org
User-Agent: slrn/0.9.8.1 (Linux)