🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #50309

Re: new to channel feeds

#50309
From: Russ Allbery
Date: Tue, 30 Jan 2001 08:13
61 lines
3433 bytes
Mark W Modrall <modrall@world.std.com> writes:

> 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...

Correct.

> Presumably, one's program has to fetch the article out to process it?

Right.

> Does one use the message id or the token (what is the token anyway?
> some kind of local messageid?)?

The token.  The token is a black-box string that you pass to the storage
API to retrieve the article; it's interpreted differently depending on
what type of storage the article is in.  For scripts, you generally pass
it to sm(8) to get the article.

> 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.

Yes, that's what should happen.

> 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?

No, it sounds like you've found a bug.  If you can get a backtrace from
that core file, I'd be very interested, along with any additional
information you can provide.

> 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?

Yes.

> 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...

This may help, from the rewrite of the newsfeeds man page in CURRENT:

     g  The newsgroup the article is in; if cross-posted, then the first
        of the groups to which the article was posted that this site gets.
        (The difference from "G" is that this sends the newsgroup to which
        the article was posted even if it's a control message.)

     G  Where the article is stored.  If the newsgroup is crossposted,
        this is generally the first of the groups to which it was posted
        that this site receives; however, control messages are filed in
        control or control.* (which is the difference between this item
        and "g").

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>
Technical Details
Message-ID: <ylk87dtq3s.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!supernews.google.com!sn-xit-02!supernews.com!news.gv.tsc.tdk.com!newsfeed.berkeley.edu!ucberkeley!logbridge.uoregon.edu!newsfeed.stanford.edu!nntp.stanford.edu!not-for-mail
References: <G7y3Mw.HyD@world.std.com>

Show Full Headers
Complete Article Headers
Message-ID: <ylk87dtq3s.fsf@windlord.stanford.edu>
Subject: Re: new to channel feeds
Date: Tue, 30 Jan 2001 08:13:11 +0000
From: Russ Allbery <rra@stanford.edu>
References: <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.gv.tsc.tdk.com!newsfeed.berkeley.edu!ucberkeley!logbridge.uoregon.edu!newsfeed.stanford.edu!nntp.stanford.edu!not-for-mail
Newsgroups: news.software.nntp
Organization: The Eyrie
Lines: 60
Distribution: na
NNTP-Posting-Host: windlord.stanford.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: news.Stanford.EDU 980842391 4367 171.64.13.23 (30 Jan 2001 08:13:11 GMT)
X-Complaints-To: news@news.stanford.edu
User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands)