Article View: news.software.readers
Article #220530Re: [slrn] Scoring based on message body
From: Frank Slootweg
Date: Tue, 06 May 2008 10:59
Date: Tue, 06 May 2008 10:59
32 lines
2691 bytes
2691 bytes
W. Citoan <wcitoan@nospam-yahoo.com> wrote: > I_Am_The_Walrus wrote: > > > > Is there a way, in slrn, to score based on the contents of the > > message? Certain posters that I want to filter out tend to use > > common words in all their messages, so if I can filter them out > > based on the message body, it should help to identify sock puppets > > and other nym-shifter. > > > > Google reveals nothing, so perhaps Andrew or Blinky can help or > > someone else. > > There is not a direct way, but you can do it indirectly. > > You would need to setup a local spool (using slrnpull or leafnode) and > then have a script that parses the new messages. The script would > search the message bodies and then extract the message id (or other > header field) and add a score using it to slrn's score file. You can > then set slrn's refresh groups to also reload the score file. > > It's a bit complicated, but it works. If you dig through Google's > archive of this group, you will find some more detailed examples. What you're describing is indeed needed for slrnpull, but AFAIK leafnode (and others) can "filter out" - i.e. 'killfile' - *themselves*, so there is no need to create/add entries to slrn's score file. Of course this means you have to maintain *two* score files - slrn's and leafnode's - but since they're used for different purposes, that's only different, not additional. FWIW, I'm doing this kind of thing with my newsreader - tin - and Hamster ((MS-)Windows only).
Technical Details
Message-ID:
<48203a2a$0$34884$dbd43001@news.wanadoo.nl>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!t-online.de!feeder.news-service.com!feeder4.cambrium.nl!feeder1.cambrium.nl!feed.tweaknews.nl!news2.euro.net!postnews2.euro.net!news.wanadoo.nl!not-for-mailReferences:
<481fa284$0$4082$9a566e8b@news.aliant.net> <slrng1vaoq.3no.wcitoan@wcitoan-via.verizon.net>Show Full Headers
Complete Article Headers
Message-ID: <48203a2a$0$34884$dbd43001@news.wanadoo.nl>
Subject: Re: [slrn] Scoring based on message body
Date: Tue, 06 May 2008 10:59:54 +0000
From: Frank Slootweg <this@ddress.is.invalid>
References: <481fa284$0$4082$9a566e8b@news.aliant.net> <slrng1vaoq.3no.wcitoan@wcitoan-via.verizon.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!t-online.de!feeder.news-service.com!feeder4.cambrium.nl!feeder1.cambrium.nl!feed.tweaknews.nl!news2.euro.net!postnews2.euro.net!news.wanadoo.nl!not-for-mail
Newsgroups: news.software.readers
Organization: NOYB
User-Agent: tin/1.6.2-20030910 ("Pabbay") (UNIX)
(CYGWIN_NT-6.0/1.5.22(0.156/4/2) (i686)) Hamster/2.0.2.2
Lines: 32
NNTP-Posting-Date: 06 May 2008 10:59:54 GMT
NNTP-Posting-Host: cd44075c2.cable.wanadoo.nl
X-Trace: 1210071594 dr2.euro.net 34884 212.64.117.194:62181
X-Complaints-To: abuse@wanadoo.nl