Article View: news.software.nntp
Article #45423Re: News routing software
From: Russ Allbery
Date: Thu, 30 Mar 2000 00:00
Date: Thu, 30 Mar 2000 00:00
25 lines
2234 bytes
2234 bytes
Sven Paulus <sven@karlsruhe.org> writes:
> No, these are different things. At the moment, the Perl code hasn't the
> capabilities to select which hosts get an article. You only can check if
> you want to take an article or not. There is no way saying "I want to
> send this article to peer a and peer c, not to peer b" from the perl
> subroutine.
> Modifying innd for example to add this feature to the perl hooks would
> require a major design change (you would need another perl call
> somewhere in ARTpropagate, but again you should have all the headers
> available as well as an list of all peers, which should get this article
> ...).
A better way of implementing this is to have the Perl code return a list
of classifications for the article ("binary", "control", "local", etc.)
and then be able to assign classifications to particular outgoing feeds so
that they only get articles with that classification.
This is actually on my long-term list of things to look at adding to INN.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Technical Details
Message-ID:
<yln1ngj9uq.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.mbox.zip!not-for-mailReferences:
<38dc7c3a$1_1@news.nntpserver.com> <8bolap$586$1@newssvr02.news.prodigy.com> <brad-94F99A.19563828032000@news.skynet.be> <38e9f672.1258337254@news.nntpserver.com> <brad-5F04F8.23200028032000@news.skynet.be> <38eb21d9.1269450604@news.nntpserver.com> <brad-8CC6CB.14352029032000@news.skynet.be> <38e2872c.67348366@news.nntpserver.com> <brad-B813AF.02500530032000@news.skynet.be> <38e44efa.118505996@news.nntpserver.com> <brad-2E377B.00205831032000@news.skynet.be> <Marie-Claire.Kinder@consciousness.pool-60.oops.inka.de>Show Full Headers
Complete Article Headers
Message-ID: <yln1ngj9uq.fsf@windlord.stanford.edu> Subject: Re: News routing software Date: Thu, 30 Mar 2000 00:00:00 +0000 From: Russ Allbery <rra@stanford.edu> References: <38dc7c3a$1_1@news.nntpserver.com> <8bolap$586$1@newssvr02.news.prodigy.com> <brad-94F99A.19563828032000@news.skynet.be> <38e9f672.1258337254@news.nntpserver.com> <brad-5F04F8.23200028032000@news.skynet.be> <38eb21d9.1269450604@news.nntpserver.com> <brad-8CC6CB.14352029032000@news.skynet.be> <38e2872c.67348366@news.nntpserver.com> <brad-B813AF.02500530032000@news.skynet.be> <38e44efa.118505996@news.nntpserver.com> <brad-2E377B.00205831032000@news.skynet.be> <Marie-Claire.Kinder@consciousness.pool-60.oops.inka.de> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 604558221 Content-Type: text/plain; charset=us-ascii Organization: The Eyrie Mime-Version: 1.0 User-Agent: Gnus/5.0802 (Gnus v5.8.2) XEmacs/21.1 (Biscayne) Newsgroups: news.software.nntp