🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #124416

Re: [slrn] score order matters?

#124416
From: J.B. Nicholson-Owens
Date: Sat, 03 May 2003 20:30
37 lines
2500 bytes
hacho wrote:
> I want all articles that do not contain the word 'slrn' in the thread to
> be killed; then, same for subjects containing 'subject02', and finally
> have articles with 'subject01' in the subject line to be highlighted.

[news.software.readers]
  Score:: =-9999
   ~Subject: slrn
    Subject: subject02

  Score: =100
    Subject: subject01

Is one possible way to do that.  Note that there is an advantage to
specifying =-9999 as a kill score (if your killing score is set to -9,999
points which is the default).  "=-9999" is a sure kill, "-9999" means to
subtract 9,999 points from the article's current score (which may not result
in killing the article).  Depending on the ambiguity I describe below there
might be no advantage to scoring subject01 posts by setting the score to 100
points and quitting scoring such articles ("=100" versus "100").  The double
colon in "Score:: =-9999" means to use a logical or of the following header
criteria.

> Does the order of the entries matter?

Yes, depending on how you want to resolve an ambiguous post which contains
both subject01 (highlight and keep) as well as subject02 (kill)--"subject01
is better than subject02", for example.  How you want to handle such posts
will determine the proper placement and scoring.

> Also, what's the way to go for nesting, say two
> different subjects with a same score?

I've illustrated that above.  For such a simple example there's no need to
use the more complex brace syntax.  The indentation is unnecessary but can
make the score entries easier to read.
Technical Details
Message-ID: <slrnbb8bne.8vd.jbn@forestfield.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!fu-berlin.de!uni-berlin.de!forestfield.ORG!not-for-mail
References: <slrnbb7uft.1sd.hacho@duende.wanadoo.es>

Show Full Headers
Complete Article Headers
Message-ID: <slrnbb8bne.8vd.jbn@forestfield.org>
Subject: Re: [slrn] score order matters?
Date: Sat, 03 May 2003 20:30:37 +0000
From: "J.B. Nicholson-Owens" <jbn@forestfield.org>
References: <slrnbb7uft.1sd.hacho@duende.wanadoo.es>
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!fu-berlin.de!uni-berlin.de!forestfield.ORG!not-for-mail
Newsgroups: news.software.readers
Organization: Forest Field OmniMedia
Lines: 36
NNTP-Posting-Host: forestfield.org (208.216.67.173)
X-Trace: fu-berlin.de 1051993837 15140894 208.216.67.173 (16 [35848])
Mail-Copies-To: nobody
User-Agent: slrn/0.9.7.4pl2 (GNU/Linux)