🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #187131

Re: slrnpull and multiple news servers

#187131
From: Troy Piggins
Date: Sun, 02 Jul 2006 07:28
39 lines
2424 bytes
* Anonymous wrote:
>
> how can I get slrnpull to feed from multiple nntp servers?

Call it up twice with different NNTP servers in the "-h" host parameter?

slrnpull -h nntpserver1
slrnpull -h nntpserver2

> particularly when grabbing different sets of groups from each.
> I want to grab three different sets of groups from three different
> servers and have that presented as a single collection of groups
> in slrn.  Ideally with new posts and follups going automaticaly 
> to the correct server based on the group it's posted in.

Hmm, not sure about that.  I think it'll try to use your default
$NNTPSERVER for that.

Unless you write a macro that changes your nntp posting host variable
depending on what group you're in?

define make_group_specific_settings ()
{
  if (is_substr (current_newsgroup (), "alt.group1"))
    set_string_variable ("server", "nntphost1");
  else
    set_string_variable ("server", "nntphost2");
}
() = register_hook ("article_mode_hook", "make_group_specific_settings");

Actually, that won't work I don't think.  "server" is not assigned with
"set" command so not sure.  You get the general idea though.  Maybe
someone else can complete it.

-- 
Troy Piggins :                            "My karma just ran over my dogma"
 ,-o  
o   ) Ubuntu linux 6.06 http://ubuntu.com  RLU#415538 http://counter.li.org
 `-o  uptime: 17:16:31 up 3 days,18:42,2 users,load average:0.00,0.00,0.00
Technical Details
Message-ID: <20060702171631@usenet.piggo.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!border1.nntp.dca.giganews.com!nntp.giganews.com!nntp.waia.asn.au!203.59.27.186.MISMATCH!newsfeed.iinet.net.au!newsfeed.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsreader-01.iinet.net.au!not-for-mail
References: <W8IN71NY38900.0945833333@anonymous>

Show Full Headers
Complete Article Headers
Message-ID: <20060702171631@usenet.piggo.com>
Subject: Re: slrnpull and multiple news servers
Date: Sun, 02 Jul 2006 17:28:06 +1000
From: Troy Piggins <usenet-0607@piggo.com>
References: <W8IN71NY38900.0945833333@anonymous>
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!nntp.waia.asn.au!203.59.27.186.MISMATCH!newsfeed.iinet.net.au!newsfeed.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsreader-01.iinet.net.au!not-for-mail
Newsgroups: news.software.readers
Reply-To: usenet-0607@piggo.com
User-Agent: slrn/0.9.8.1/rt (Linux)
Lines: 39
NNTP-Posting-Host: 203.206.109.220
X-Trace: 1151825510 per-qv1-newsreader-01.iinet.net.au 1977 203.206.109.220