🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Mark W Modrall Fri, 26 Jan 2001 15:28
Xref in filter_art?
#50177
Author: Mark W Modrall
Date: Fri, 26 Jan 2001 15:28
19 lines
1253 bytes
Hi...

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

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

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

Re: Xref in filter_art?
#50178
Author: 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.
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