Article View: news.software.nntp
Article #82766Re: news.daily and missing innfeed.conf
From: Julien ÉLIE
Date: Sun, 07 Feb 2010 22:29
Date: Sun, 07 Feb 2010 22:29
37 lines
2747 bytes
2747 bytes
Hi Michael,
>> Which does not prevent people from using shell scripts to launch
>> innfeed :-)
>
> I didn't know that that's possible, how could one do that, BTW?
Well, that's not useful but as the funnel entry "innfeed!" is "Wnm*",
it means that you know the input of the feed.
It can be fed to a script instead of the innfeed program itself.
The script may do anything it wants (logging?) and then give the
output to innfeed. Be sure it is a channel feed ("Tc") so as not
to spawn your script each time you receive an article. And also
only spawn one innfeed.
See what Debian does for ninpaths. Here is the ginpaths2 script:
#!/bin/sh -e
# Add this line in /etc/news/newsfeeds:
# !inpaths:*:Tc,WP:/usr/lib/news/bin/ginpaths2
exec /usr/lib/news/bin/ninpaths -p -d /var/log/news/path/inpaths.%d
+ Also see controlchan.
I believe you can do something similar with innfeed. I have never
tested but I do not see why it couldn't be done.
--
Julien ÉLIE
« Mon âme a son secret, ma vie a son mystère. » (Félix Arvers)
Technical Details
Message-ID:
<hknet1$ugm$1@news.trigofacile.com>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.ams.giganews.com!nntp.giganews.com!news.musoftware.de!wum.musoftware.de!weretis.net!feeder2.news.weretis.net!news.trigofacile.com!.POSTED.aaubervilliers-151-1-2-159.w83-114.abo.wanadoo.fr!not-for-mailReferences:
<hkibmo$1ql2$3@de-l.enfer-du-nord.net> <hkjkms$56g$1@news.trigofacile.com> <hkjo4s$4ri$1@de-l.enfer-du-nord.net> <hkjtok$gd6$1@news.trigofacile.com> <hkka52$2f2o$1@de-l.enfer-du-nord.net> <hkmtlc$b1v$1@news.trigofacile.com> <hkn9ln$1r2h$1@de-l.enfer-du-nord.net> <hknc2j$rt5$1@news.trigofacile.com> <hkncgj$1r2h$3@de-l.enfer-du-nord.net>Show Full Headers
Complete Article Headers
Message-ID: <hknet1$ugm$1@news.trigofacile.com> Subject: Re: news.daily and missing innfeed.conf Date: Sun, 7 Feb 2010 23:29:54 +0100 From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> References: <hkibmo$1ql2$3@de-l.enfer-du-nord.net> <hkjkms$56g$1@news.trigofacile.com> <hkjo4s$4ri$1@de-l.enfer-du-nord.net> <hkjtok$gd6$1@news.trigofacile.com> <hkka52$2f2o$1@de-l.enfer-du-nord.net> <hkmtlc$b1v$1@news.trigofacile.com> <hkn9ln$1r2h$1@de-l.enfer-du-nord.net> <hknc2j$rt5$1@news.trigofacile.com> <hkncgj$1r2h$3@de-l.enfer-du-nord.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.ams.giganews.com!nntp.giganews.com!news.musoftware.de!wum.musoftware.de!weretis.net!feeder2.news.weretis.net!news.trigofacile.com!.POSTED.aaubervilliers-151-1-2-159.w83-114.abo.wanadoo.fr!not-for-mail Newsgroups: news.software.nntp Organization: TrigoFACILE -- http://www.trigofacile.com/ Lines: 37 Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-15"; reply-type=original Content-Transfer-Encoding: 8bit Injection-Date: Sun, 7 Feb 2010 22:29:54 +0000 (UTC) Injection-Info: news.trigofacile.com; posting-host="aaubervilliers-151-1-2-159.w83-114.abo.wanadoo.fr:83.114.1.159"; logging-data="31254"; mail-complaints-to="abuse@trigofacile.com" In-Reply-To: <hkncgj$1r2h$3@de-l.enfer-du-nord.net> X-MSMail-Priority: Normal X-Newsreader: Microsoft Windows Mail 6.0.6002.18005 X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6002.18005