🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #78187

Re: INN: Feeding articles to another server

#78187
From: Russ Allbery
Date: Thu, 15 Nov 2007 22:47
41 lines
3101 bytes
Tim Fardell <tim.fardell.all-your-clothes@virgin.net> writes:

> First question: The INN FAQ gives a method of feeding all articles on a
> server to another server. This works, but is there a way of feeding just
> one group, or a subset of all the groups, to the other server?

Yes.  innxmit basically just takes a file that lists, as paths or storage
API tokens, all the articles that you want to send to the remote server in
the order that you want to send them.  So while you can use the recipe in
the FAQ to create a list of every article on your server, you can also
(particularly if using tradspool) just create lists of article files on
your server that you want to send and be however selective about it that
you want.

It's a bit harder to do this automatically unless you're using tradspool
(with tradspool, you can just use find -type f -print in the appropriate
places), but at least with tradindexed overview, you can use tdx-util -o
and parse out the storage API tokens from the Token: fields.

> Second question: The method given in the INN FAQ seems to feed the
> articles in a seemingly random order.

It feeds all the articles in the order in which they're listed in history,
which is actually in arrival order.  So I think it may already do what you
want.  However, if it doesn't...

> Is there a way of feeding the articles in chronological order, or in
> article-number order per group?

...see above about what innxmit takes.  You can sort the list yourself
beforehand if it's just a list of filenames, using whatever sort criteria
you want.  Or order it however else you want.  The only tricky part is
getting the right data on which you want to order it, which depends a lot
on what your particular setup is and what storage and overview backends
you're using.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID: <877ikjjfcu.fsf@windlord.stanford.edu>
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!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!news1.google.com!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail
References: <Pine.LNX.4.44.0711151700450.9603-100000@menace.crumblenet.co.uk>

Show Full Headers
Complete Article Headers
Message-ID: <877ikjjfcu.fsf@windlord.stanford.edu>
Subject: Re: INN: Feeding articles to another server
Date: Thu, 15 Nov 2007 14:47:29 -0800
From: Russ Allbery <rra@stanford.edu>
References: <Pine.LNX.4.44.0711151700450.9603-100000@menace.crumblenet.co.uk>
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!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!news1.google.com!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail
Newsgroups: news.software.nntp
Organization: The Eyrie
Lines: 41
NNTP-Posting-Host: windlord.stanford.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: news.Stanford.EDU 1195166849 11777 171.64.19.147 (15 Nov 2007
X-Complaints-To: news@news.stanford.edu
User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux)
Cancel-Lock: sha1:YAvAP43WRpOx8C97MADpRbfFjvQ=