🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #50298

new to channel feeds

#50298
From: Mark W Modrall
Date: Mon, 29 Jan 2001 22:25
36 lines
2154 bytes
Hi...

	I've been trying to implement some post-processing on
new posts with the perl hook.  Andrew recently repointed me
at channel feeds as the more appropriate place to be doing 
this sort of thing, but i still have a few questions...

	From what i can tell, programs that are sent channel
feeds get, at most, some of the header information about new
articles, not the article itself...  Presumably, one's program
has to fetch the article out to process it?  Does one use
the message id or the token (what is the token anyway?  some
kind of local messageid?)?

	I read the newsfeeds man page, the archive man page,
and the innfeed man page...  The newsfeeds man page says 
that if inn can't start the designated program, it will
spool the articles to a file named for the site and try to
restart it later.  But when i tried to rename my program and
test that, inn just crashed.  Any attempt to restart it as
long as it couldn't find the program file got it to core dump
again...  Is the spooling thing no longer applicable?

	I'm also not entirely clear on what happens to cross-
posted articles in the channel feed program.  Does it get just
one notice for the article?  or does it get one for each group
it's being fed to?  i'd imagine the former, but the newsfeeds
man page config options "g" and "G" confused me...  It seemed
to say that it would operate one ng at a time...

	Sorry if this is too remedial; i'm still acclimating...

thanks
-mark

Technical Details
Message-ID: <G7y3Mw.HyD@world.std.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.mbox.zip!supernews.google.com!sn-xit-02!supernews.com!news.tele.dk!212.74.64.35!colt.net!newspeer.clara.net!news.clara.net!news-hub.cableinet.net!uunet!ash.uu.net!world!modrall

Show Full Headers
Complete Article Headers
Message-ID: <G7y3Mw.HyD@world.std.com>
Subject: new to channel feeds
Date: Mon, 29 Jan 2001 22:25:43 GMT
From: modrall@world.std.com (Mark W Modrall)
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!supernews.google.com!sn-xit-02!supernews.com!news.tele.dk!212.74.64.35!colt.net!newspeer.clara.net!news.clara.net!news-hub.cableinet.net!uunet!ash.uu.net!world!modrall
Newsgroups: news.software.nntp
Distribution: na
Organization: The World Public Access UNIX, Brookline, MA
Lines: 35