Article View: news.software.readers
Article #220735Re: [slrn] Slrnpull scoring - was Editing and using the slrn score file
From: Troy Piggins
Date: Sun, 11 May 2008 22:18
Date: Sun, 11 May 2008 22:18
80 lines
3962 bytes
3962 bytes
* Felix Karpfen wrote:
> It is possible that I asked the wrong question(s) because I did not
> understand the slrnpull options.
>
> I currently run "slrnpull --kill-score 0" and it is configured to
> download only the headers of new postings.
>
> Based on my observations:
>
> - either "kill-score 0" does not apply to header-downloads;
> - or I need guidance in writing simple regexes.
>
> The following (annotated) extract from my current score file
> illustrates the problem:
>
>| *existing entry*
>|
>| %BOS
>| [comp.editors]
>| Score:: =-9999
>| Subject: .*(Quinn|Tyler)
^^^^^^^^^^^^^^
Don't think you can use logical "OR" expressions here. SLRN
doens't use regexes.
[comp.editors]
Score:: =-9999
Subject:.*Quinn
Subject:.*Tyler
Read the manual about what the difference between Score: and
Score::
Also might like to note that the patterns are case insensitive by
default. To force case sensitivity use the "\c" switch. Your
rule would also catch "quinn" in the subject.
Another point would be word boundaries. Your rule would also
match "quinntessential" (a misspelling I know). "\<" and "\>"
delimit words.
[comp.editors]
Score:: =-9999
Subject:.*\c\<Quinn\>
Subject:.*\c\<Tyler\>
Pretty sure this will only catch the individual words Quinn or
Tyler in the subject, and only if they start with capital.
>| %EOS
>|
>| *new entry*
>|
>| %BOS
>| %Score created by slrn on Sat May 10 10:23:56 2008
>|
>| [comp.editors]
>| Score: =-9999
>| %Expires:
>| % Subject: Hey, still under the rock Quinn Tyler Jackson\?
>
> If slrnpull had used the existing entry in the score file, it should not
> have fetched the "May 10 header". But it did, as the second entry in
> the score file shows.
>
> I would like to take this opportunity to thank Peter J Ross, W. Citoan
> and andrew for their replies to my initial query. Since I am a new
> arrival to "slrn", the pointer to
>
> http://slrn.sourceforge.net/macros/index.html
>
> was particularly welcome.
Hope that helps.
--
Troy Piggins | http://piggo.com/~troy/slrn ___ | __ __
|___ | |/ |/ |
___| | | | |
Technical Details
Message-ID:
<20080512080936.55@usenet.piggo.com>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!nx01.iad01.newshosting.com!newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!feeder.news-service.com!news.motzarella.org!motzarella.org!not-for-mailReferences:
<slrng2cf3h.655.felixk@carrot.cabbage.patch>Show Full Headers
Complete Article Headers
Message-ID: <20080512080936.55@usenet.piggo.com> Subject: Re: [slrn] Slrnpull scoring - was Editing and using the slrn score file Date: Mon, 12 May 2008 08:18:48 +1000 From: Troy Piggins <usenet-0805@piggo.com> References: <slrng2cf3h.655.felixk@carrot.cabbage.patch> 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!nx01.iad01.newshosting.com!newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!feeder.news-service.com!news.motzarella.org!motzarella.org!not-for-mail Newsgroups: news.software.readers Organization: A noiseless patient Spider Lines: 80 Reply-To: usenet-0805@piggo.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: feeder.motzarella.org U2FsdGVkX19k4hL1J1gsisXwBg1NwRKpsB9S8qpnhUiYX5C2uMtASCdcF3nPpsanrUD3x6nJDtZdXu1W0VlBUXlVZnEcmTEaqECeaVlTdmaCZ7iQ5hw2H1Y5VFKK0c9snC9e3eahG5dDbYOWFw681Q== X-Complaints-To: Please send complaints to abuse@motzarella.org with full headers NNTP-Posting-Date: Sun, 11 May 2008 22:18:55 +0000 (UTC) X-Auth-Sender: U2FsdGVkX19sQTBWinVcKHSHk9tOht9eFZX9nX+YIvVLTExbfh9HUQ== X-NNTP-Proxy: Leafnode-2 (http://www-dt.e-technik.uni-dortmund.de/~ma/leafnode/beta/) Cancel-Lock: sha1:71WonueD5gM6qRzajO00tGuuMq4= User-Agent: slrn/pre0.9.9-102/rt (Linux)