Article View: news.software.readers
Article #191746Re: [slrn] Highlighting Search Results
From: Peter J Ross
Date: Thu, 19 Oct 2006 21:45
Date: Thu, 19 Oct 2006 21:45
54 lines
2578 bytes
2578 bytes
On Thu, 19 Oct 2006 20:48:50 GMT, Merrilee Larson <merrile@telus.net>
wrote in news.software.readers:
> On 2006-10-19, Keith@winvaild.ddd <Keith@winvaild.ddd> wrote:
>> Scorefile
>> [news.group.name]
>> Score: =-9999
>> ~Subject: whatever
>>
>> IOW
>> NOT Subject: whatever
>> assign a locked score of -9999
>> or you can use
>>
>> [news.group.name]
>> Score: =1000
>> Subject: whatever
>>
>> Which will put the highest scoring articles at the top of the messsage
>> list, I would go with the second example since you could miss a few
>> subjects with misspellings.
>>
> thanks for the example! So the "whatever" in the Subject line -- is that the
> keyword I want to score on?
Yes. For multiple keywords, try this:
[news.group.name]
Score:: =1000
Subject: foo
Subject: bar
Subject: etc
The double colon after "Score" means than the rule will apply if any
of the following strings matches. With a single colon, *all* the
following strings have to match. This makes it possible to set up AND
or OR rules.
> Another question: [news.group.name] Do I need to include the [ ]s? TIA...
Yes. Also, you can use wildmats in the newsgroup name, e.g. "alt.*" or
"*.bio*".
Here's a useful link about scoring in slrn:
<http://www.slrn.org/docs/score.txt>
PJR :-)
--
_ _(o)_(o)_ _ | The fool hath said in his heart, "There is no Cabal."
._\`:_ F S M _:' \_, | FSM: <http://www.venganza.org/>
/ (`---'\ `-. | AUK: <http://www.netcabal.com/auk/>
,-` _) (_, F_P | PJR: <http://insurgent.org/~pjr/>
Technical Details
Message-ID:
<slrnejfsgg.4i8.pjr@nntp.alcatroll.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!newsfeed.hal-mli.net!feeder1.hal-mli.net!news.alt.net!nntp.alcatroll.com!not-for-mailReferences:
<6jtZg.70163$E67.7816@clgrps13> <Xns9860A0707629Flouiscypherhellorg@140.99.99.130> <oJFZg.70405$E67.17992@clgrps13> <kpefj25s0ie7ajl42sc8v2to8tqdvlq6a5@4ax.com> <SwRZg.27884$H7.19097@edtnps82>Show Full Headers
Complete Article Headers
Message-ID: <slrnejfsgg.4i8.pjr@nntp.alcatroll.com> Subject: Re: [slrn] Highlighting Search Results Date: Thu, 19 Oct 2006 22:45:31 +0100 From: Peter J Ross <pjr@kookbusters.org> References: <6jtZg.70163$E67.7816@clgrps13> <Xns9860A0707629Flouiscypherhellorg@140.99.99.130> <oJFZg.70405$E67.17992@clgrps13> <kpefj25s0ie7ajl42sc8v2to8tqdvlq6a5@4ax.com> <SwRZg.27884$H7.19097@edtnps82> 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!newsfeed.hal-mli.net!feeder1.hal-mli.net!news.alt.net!nntp.alcatroll.com!not-for-mail Newsgroups: news.software.readers Organization: Cabal Obsidian Order [TINCOO] Lines: 54 X-Operating-System: Debian GNU/Linux (Etch/Testing) X-Kernel: Linux 2.6.17-2-686 User-Agent: slrn/0.9.8.1pl1 (Debian)