Thread View: news.software.nntp
2 messages
2 total messages
Started by gr
Thu, 02 Aug 2001 19:42
Proper channel newsfeeds usage.
Author: gr
Date: Thu, 02 Aug 2001 19:42
Date: Thu, 02 Aug 2001 19:42
28 lines
1766 bytes
1766 bytes
I'm trying to get a channel newsfeed to receive some piece of
information that I can use to get the actual body of the posted
message. I *seemed* that adding the Wn flag to the newsfeed
definition would get me what I wanted, presuming I was using
tradspool for my storage method (I am). In fact, newsfeeds(5) even
goes so far as to show an example:
nntpfunnel1:!*\
:Tc,Wmn*:<PREFIX specified with --prefix at configure>/bin/nntpfanout
Which it claims will get something like this on stdin:
<124@litchi.foo.com> ne/general/1003 nic.near.net
I have a newsfeed declared like this:
foobar!:foo.*:Tc,Ac,Wn:/path/to/foobar.pl
My script, which is just dumping what it receives on stdin to a log
file, is instead receiving something more like this:
@0500000000080000000C0000000000000000@
What gives? What is that token meant to express?
--
~ g r @ eclipsed.net
Re: Proper channel newsfeeds usage.
Author: Terrance Richard Boyes
Date: Fri, 03 Aug 2001 17:29
Date: Fri, 03 Aug 2001 17:29
25 lines
1988 bytes
1988 bytes
gr@eclipsed.net wrote: > tradspool for my storage method (I am). In fact, newsfeeds(5) even > goes so far as to show an example: > <124@litchi.foo.com> ne/general/1003 nic.near.net That's the old behaviour, looks like the man page needs a little updating. > My script, which is just dumping what it receives on stdin to a log > file, is instead receiving something more like this: > @0500000000080000000C0000000000000000@ > What gives? What is that token meant to express? It's a storage manager token, use sm to get the article, or use a flag other than n, eg m to get the Message-ID if that's what you actually want. -- <URL:http://www.pierrot.co.uk/> Team AMIGA Bizarreness is the essence of the exotic
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads