🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #124047

Re: Just what you've been waiting for, another newbie XNews question! Yay!

#124047
From: Peter J Ross
Date: Mon, 28 Apr 2003 09:09
62 lines
2743 bytes
On Sun, 27 Apr 2003 at 22:11 GMT, a jury from news.software.readers
found Blinky the Shark guilty of posting this:

>Peter J Ross wrote:
>
>> On Sun, 27 Apr 2003 at 08:42 GMT, a jury from news.software.readers
>> found Hombre guilty of posting this:
>
>>>Howdy all,
>
>>>I'm in the migration process form OE to XNews
>
>> Good.
>
>>>and one feature I haven't found yet, (and I have given the manual a
>>>thorough skimming), is how to filter by threads in which I've posted.
>>>This is perhaps the most important feature to me, and I hope XNews has
>>>a way to do that because it seems to beat OE in every other way. So the
>>>question, (obviously), is can XNews do this and if so how?
>
>>>Thank you
>
>> I think you need to add a filter for the References line, using the
>> personalised token that Xnews inserts into your Message-Ids.
>
>If you can filter on your token appearing in only the *last* MID in
>References, you can have that score only apply to *direct* responses,
>not to everything downthread that still has your token in there, however
>far removed from your post.  (That's how I do it, anyway.)

Being completely new to writing regular expressions, I took this as a
challenge.

This works for me:

	[*]
	Score: 100
	References: gadfly\.meow\.org>$

If Hombre's Message-Ids end with a domain name, he probably wants
something like this:

	[*]
	Score: =9999
	References: sometoken@some\.domain\.name>$

If his Message-Ids end with an IP number that varies (d they vary?),
it gets a little messier:

	[*]
	Score: =9999
	References: sometoken@\d+\.\d+\.\d+\.\d+>$

That works in God's Own Newsreader, but I don't know if Xnews supports
"\d" and "+".

You're now going to tell me that there's a far more elegant way of
detecting "sometoken" in the last Message-Id, aren't you?

-- 
PJR :-)
Technical Details
Message-ID: <5o7vn-v9d.ln1@gadfly.meow.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news.alt.net!gadfly.meow.org!news
References: <PJMqa.662325$S_4.712321@rwcrnsc53> <fvvtn-bea.ln1@gadfly.meow.org> <slrnbaolbk.gtg.no.spam@adam.blinkynet.net>

Show Full Headers
Complete Article Headers
Message-ID: <5o7vn-v9d.ln1@gadfly.meow.org>
Subject: Re: Just what you've been waiting for, another newbie XNews question! Yay!
Date: Mon, 28 Apr 2003 10:09:57 +0100
From: Peter J Ross <gadfly@meow.org>
References: <PJMqa.662325$S_4.712321@rwcrnsc53> <fvvtn-bea.ln1@gadfly.meow.org> <slrnbaolbk.gtg.no.spam@adam.blinkynet.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news.alt.net!gadfly.meow.org!news
Newsgroups: news.software.readers
Organization: the chaotic purr
Lines: 61
X-GnuPG-KeyID: 9006C434
X-GnuPG-Keyserver: keyserver.linux.it
User-Agent: slrn/0.9.7.4 (Linux)