🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #50178

Re: Xref in filter_art?

#50178
From: Andrew Gierth
Date: Fri, 26 Jan 2001 16:16
26 lines
2163 bytes
>>>>> "Mark" == Mark W Modrall <modrall@world.std.com> writes:

 Mark> Hi...
 Mark> 	sorry to keep pestering the list with filter questions, but as
 Mark> I'm getting more into it, i keep thinking of other things to
 Mark> try...

 Mark> 	Is there any api through the perl filter hook (or others) to
 Mark> try and make sense of the Xref header?  I mean, the xref comes
 Mark> in with the references relative to the host that's sending it
 Mark> to you, but i'm interested more in how those map to the
 Mark> messages i've got instead...

the perl hook is run too early for the local article numbers to be
easily available (they haven't been assigned yet). Note that the article
can be rejected by subsequent code even if the perl hook accepts it.

 Mark> is there a way to do this in the hook, or is the best approach
 Mark> to get those going to be approaching the server as a reader and
 Mark> fetching the article out?

or alternatively running a channel feed of article headers

-- 
Andrew.
Technical Details
Message-ID: <87zogez3u6.fsf@erlenstar.demon.co.uk>
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!nntp-relay.ihug.net!ihug.co.nz!newsfeed.berkeley.edu!ucberkeley!logbridge.uoregon.edu!news-feed.riddles.org.uk!erlenstar.demon.co.uk!newsmonster
References: <G7s0Bu.G1r@world.std.com>

Show Full Headers
Complete Article Headers
Message-ID: <87zogez3u6.fsf@erlenstar.demon.co.uk>
Subject: Re: Xref in filter_art?
Date: Fri, 26 Jan 2001 16:16:17 +0000
From: Andrew Gierth <andrew@erlenstar.demon.co.uk>
References: <G7s0Bu.G1r@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!nntp-relay.ihug.net!ihug.co.nz!newsfeed.berkeley.edu!ucberkeley!logbridge.uoregon.edu!news-feed.riddles.org.uk!erlenstar.demon.co.uk!newsmonster
Newsgroups: news.software.nntp
Organization: disorganised
Lines: 25
Distribution: na
NNTP-Posting-Host: erlenstar.demon.co.uk (6a71:03d1)
Cc: modrall@world.std.com (Mark W Modrall)
X-Mayan-Date: Long count = 12.19.7.16.11; tzolkin = 10 Chuen; haab = 14 Muan
X-Pgp-0x0E9FFBE9: 87 25 7F 14 41 24 B3 51 E0 19 8B DE 49 74 0C 29
X-Attribution: AG
X-P-Persistent-Headers: are a bad idea.
X-Newsreader: Gnus v5.5/Emacs 20.2
X-Complaints-To: andrew@erlenstar.demon.co.uk
X-Post-Filter: postfilter v0.6 alpha