🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #64161

Re: XNews how to make it mark self-post article to read automatically?

#64161
From: Wayne Menzie
Date: Wed, 02 Aug 2000 00:00
76 lines
3030 bytes
marti@mainews.com.invalid (GM) wrote in
<8F8392F9ASG2ALA3GS@63.211.125.91>: 

>The double colon shouldn't matter, because the idea is to apply the
>score to his posts only.

For the example you posted, it would work with a double colon or a single
colon. 

>If I understand it correctly, Xnews scans the group once for every score
>applied, and the double colon applies for the headers appearing to a
>specific scoring rule. 

The double colon acts as an OR.  From scoring.txt:

By default, each individual test must pass in order for the scoring rule to 
apply, i.e., boolean AND is the default.  If you want to use boolean OR 
instead, add an extra : after the Score keyword.  For example,

	[^comp\.]
		Score:: -9999
		Lines: 1000
		Xref: advocacy
		From: beavis
		From: butthead

>For example
>
>     Score:: =500
>     From: joey
>         Subject: foo
>
>     Score:: =-200
>     From: jimmy
>         Subject: bar
>
>means that Xnews scans articles by joey or with subject (containing) foo
>and gives them a 500 score, and then scans again for articles by jimmy
>or with subject bar and gives them a -200 score. If joey made a posting
>about bar or jimmy made a posting about foo the 500 score stands.

The = sign assigns the value and stops scoring that header.  Again from 
scoring.txt:

If you want to assign a single score other than 9999 or -9999, then put an 
equal sign in front of the score value.  For example

	Score: =500
	From: joey

means "if an article was posted by joey, then assign it a score of 500 and 
don't bother looking at any other rule."

Let me take your example and tweak it to explain.

     Score:: 500
     From: joey
     Subject: foo

     Score: -200
     From: jimmy
     Subject: bar

From: joey,   Subject: bar     Score:  500
From: joey,   Subject: foo     Score:  500
From: joey,   Subject: foobar  Score:  500
From: jimmy   Subject: bar     Score: -200
From: jimmy   Subject: foo     Score:  500
From: jimmy   Subject: foobar  Score:  300

Hope this helps.

-- 
Wayne Menzie

Technical Details
Message-ID: <8F83DF153wayneshammalammading@24.128.8.202>
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!not-for-mail
References: <8m5peh$r6e$1@news.cz.js.cn> <8F8312A7CSG2ALA3GS@63.211.125.91> <8F835D89Bwayneshammalammading@24.128.8.70> <8F8392F9ASG2ALA3GS@63.211.125.91>

Show Full Headers
Complete Article Headers
Message-ID: <8F83DF153wayneshammalammading@24.128.8.202>
Subject: Re: XNews how to make it mark self-post article to read automatically?
Date: Wed, 02 Aug 2000 00:00:00 +0000
From: waynem@bosmedtechdotcom.nospam (Wayne Menzie)
References: <8m5peh$r6e$1@news.cz.js.cn> <8F8312A7CSG2ALA3GS@63.211.125.91> <8F835D89Bwayneshammalammading@24.128.8.70> <8F8392F9ASG2ALA3GS@63.211.125.91>
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!not-for-mail
X-Deja-AN: 653424896
X-Complaints-To: abuse@mediaone.net
X-Trace: typhoon.ne.mediaone.net 965177459 24.147.208.63 (Tue, 01 Aug 2000 20:50:59 EDT)
Organization: Boston Medical Technologies
User-Agent: Xnews/03.07.28
NNTP-Posting-Date: Tue, 01 Aug 2000 20:50:59 EDT
Newsgroups: news.software.readers