🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
7 messages
7 total messages Started by Mairhtin O'Feannag Wed, 28 Jan 2004 21:23
XNEWS score file instructions needed
#142339
Author: Mairhtin O'Feannag
Date: Wed, 28 Jan 2004 21:23
29 lines
1929 bytes
Hello,

I need to get this straight.  I have the following score  file (edited 
for brevity)

% score file for Xnews
% read scoring.txt for instruction
[^alt\.binaries.]
		Score: -9999
		~Lines: 150
                
                score: -9999
                From: dankaB

                score: -9999
                subject: follada

                score: -9999
                subject: Free_GAY_porn_daily



Yet I continually see articles with the last two "stanzas" in my article 
list.  I don't want to have them show up.

What am I doing wrong?


Mairhtin
Re: XNEWS score file instructions needed
#142342
Author: »Q«
Date: Wed, 28 Jan 2004 21:45
32 lines
2483 bytes
"Mairhtin O'Feannag" <irishboyca@rocketmail.com> wrote in
<news:Xns947E88522E255mairhtinofeannag@64.164.98.49>:

>                 score: -9999
>                 subject: follada
>
>                 score: -9999
>                 subject: Free_GAY_porn_daily
>
>
>
> Yet I continually see articles with the last two "stanzas" in my
> article list.  I don't want to have them show up.
>
> What am I doing wrong?

You should capitalize "Subject:".  And if you like, you can collapse
all those into a single scoring rule - the double colon means if any
of the conditions below is met, the score will be applied.

		Score:: -9999
		  ~Lines: 150
            From: dankaB
            Subject: follada
            Subject: Free_GAY_porn_daily

-- 
»Q«     Well, art is art, isn't it?  Still, on the other hand, water
        is water.  And east is east and west is west and if you take
        cranberries and stew them like applesauce they taste much
        more like prunes than rhubarb does.   Now, uh....  Now you
        tell me what you know.                   -- Groucho Marx
Re: XNEWS score file instructions needed
#142352
Author: Murray Peterson
Date: Thu, 29 Jan 2004 03:23
20 lines
1588 bytes
"Mairhtin O'Feannag" <irishboyca@rocketmail.com> wrote in 
news:Xns947E88522E255mairhtinofeannag@64.164.98.49:

Try this instead:

[alt\.binaries]
Score:: -9999
From: dankab
Subject: follada|free

Note the double colon after the Score keyword, and also note that 
comparisons are all insensitive to case.

As part of my changes, I would argue that the existence of the word "free" 
in any subject guarantees that the article deserves to be killed.

-- 
Murray Peterson
Email: murray_peterson@shaw.ca (remove underscore)
URL:   http://members.shaw.ca/murraypeterson/
Re: XNEWS score file instructions needed
#142356
Author: Blinky the Shark
Date: Thu, 29 Jan 2004 04:03
12 lines
1332 bytes
Murray Peterson wrote:

> As part of my changes, I would argue that the existence of the word "free" 
> in any subject guarantees that the article deserves to be killed.

<old alt.comp.freeware veteran[1] winces>  ;)

[1]Ret.

-- 
Blinky                                      Linux RU 4892F
Happily slrning again.
Re: XNEWS score file instructions needed
#142358
Author: John Wunderlich
Date: Thu, 29 Jan 2004 04:25
12 lines
1601 bytes
"»Q«" <boxcars@gmx.net> wrote in 
news:MrQ947EA0601480BitsmeitsQ@QsFQDN.dyndns.org:

> You should capitalize "Subject:"

That shouldn't make a difference.
According to the scoring.txt file:

[...] Note that all keywords are case insensitive.  So too are all 
regular expressions [...]

-- John
Re: XNEWS score file instructions needed
#142365
Author: Murray Peterson
Date: Thu, 29 Jan 2004 05:13
19 lines
1642 bytes
Blinky the Shark <no.spam@box.invalid> wrote in
news:slrnc1h1bh.8dp.no.spam@thurston.blinkynet.net: 

> Murray Peterson wrote:
> 
>> As part of my changes, I would argue that the existence of the word
>> "free" in any subject guarantees that the article deserves to be
>> killed. 
> 
> <old alt.comp.freeware veteran[1] winces>  ;)
> 
> [1]Ret.

Proving once again that there are exceptions to almost every rule :-)

-- 
Murray Peterson
Email: murray_peterson@shaw.ca (remove underscore)
URL:   http://members.shaw.ca/murraypeterson/
Re: XNEWS score file instructions needed
#142403
Author: »Q«
Date: Fri, 30 Jan 2004 04:10
20 lines
2223 bytes
John Wunderlich <jwunderlich@lycos.com> wrote in
<news:Xns947ECFBFDA9E2wunderpsdrscraytheon@216.196.97.132>:

>> You should capitalize "Subject:"
>
> That shouldn't make a difference.
> According to the scoring.txt file:
>
> [...] Note that all keywords are case insensitive.  So too are all
> regular expressions [...]

You're right.  Maybe not capitalizing "Score" was the problem?  I don't
see anything else that might cause the OP's scoring not to work.

-- 
»Q«     Well, art is art, isn't it?  Still, on the other hand, water
        is water.  And east is east and west is west and if you take
        cranberries and stew them like applesauce they taste much
        more like prunes than rhubarb does.   Now, uh....  Now you
        tell me what you know.                   -- Groucho Marx
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