🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
2 messages
2 total messages Started by hacho Sat, 03 May 2003 17:20
[slrn] score order matters?
#124398
Author: hacho
Date: Sat, 03 May 2003 17:20
28 lines
1524 bytes
For score entries like:

----------------------
[news.software.readers]

Score: -9999
~Subject: slrn

Score: -9999
Subject: subject02

Score: =100
Subject: subject01
----------------------

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.

Does the order of the entries matter?

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

Thx.
Re: [slrn] score order matters?
#124416
Author: 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.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads