Article View: news.software.readers
Article #217705Re: [SLRNPULL] Script for Marking Replies to Posts
From: Tom Newton
Date: Wed, 12 Mar 2008 23:15
Date: Wed, 12 Mar 2008 23:15
66 lines
2668 bytes
2668 bytes
On 2008-03-12, Tom Newton <tom@server.invalid> wrote:
> On 2008-03-12, Troy Piggins <usenet-0803@piggo.com> wrote:
>> * Tom Newton wrote:
>>
><snip>
>> I don't understand. You wrote the above functions and scripts to
>> give a score of 1000 to followups of your posts?
>>
>
> Yes. How could you not understand? The post was very clear.
>
> It was hardly a big deal. Took about two minutes.
>
>> What's wrong with a simple score rule in your score file?
>>
>> [*]
>> Score: =+1000
>> References: <slrn.*tom@treeoflife\.3v8l2x\.net>$
>>
>> Or something like that? The last line is just a pcre.
>>
>> $ man pcre
>> $ man pcrepattern
>
> I see. If that works as well, I'd be a fool not to use it.
>
> Thanks. And thanks to Whiskers, too.
>
> The versatility and adaptability of slrn is still something I
> haven't come to terms with.
>
> Okay I've tested the above and it seems to work fine.
>
> But I think that it is an slang regex, rather than a pcre.
>
> Or is it both in this case? I don't think slrn uses pcre's does it?
>
> THanks again,
>
> Tom
Inspired by Troy and Whiskers I spent some time really going over
score.txt and came up with this:
[*]
Score: 1000
References: <slrn.*tom@treeoflife\.3v8l2x\.net>$
[*]
Score: 500
References: <slrn.*tom@treeoflife\.3v8l2x\.net>
{:
~References: <slrn.*tom@treeoflife\.3v8l2x\.net>$
}
That gives me a score of 1000 for direct followups and 500 for
any other posts with my MID in the references header.
At least it seems to work that way so far. :)
Tom
--
calhobbit (at) | The Truth will set you free:
gmail [DOT] com | http://www.sethcenter.com
Technical Details
Message-ID:
<slrnftgm16.bss.tom@treeoflife.3v8l2x.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.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.straub-nv.de!aioe.org!not-for-mailReferences:
<slrnftgcva.opf.tom@treeoflife.3v8l2x.net> <20080313063931.284@usenet.piggo.com> <slrnftgk6m.6im.tom@treeoflife.3v8l2x.net>Show Full Headers
Complete Article Headers
Message-ID: <slrnftgm16.bss.tom@treeoflife.3v8l2x.net> Subject: Re: [SLRNPULL] Script for Marking Replies to Posts Date: Wed, 12 Mar 2008 23:15:55 +0000 From: Tom Newton <tom@server.invalid> References: <slrnftgcva.opf.tom@treeoflife.3v8l2x.net> <20080313063931.284@usenet.piggo.com> <slrnftgk6m.6im.tom@treeoflife.3v8l2x.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.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.straub-nv.de!aioe.org!not-for-mail Newsgroups: news.software.readers Organization: Aioe.org NNTP Server Lines: 66 Reply-To: tom@server.invalid NNTP-Posting-Host: rZuTe0d7K+08sfgRl4wYDg.user.aioe.org X-Complaints-To: abuse@aioe.org User-Agent: slrn/0.9.8.1 (Linux)