๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
5 messages
5 total messages Started by zombie Mon, 26 Feb 2007 05:48
{Xnews} A few scoring questions.
#195957
Author: zombie
Date: Mon, 26 Feb 2007 05:48
20 lines
1743 bytes
I had everything set up like I wanted, and then a hard drive went south 
and I had to install a new drive and reinstall the OS. Now that I've 
installed Xnews again, I can't remember all of what I did before to set 
it up. My version of Xnews is 5.04.25.

First. I find that if I check "Enable scoring" in the 'Special' menu, I 
can't retrieve any headers. I get a blank screen. If I uncheck "Enable 
Scoring", then I can retrieve headers just fine; of course, then I get 
the headers that I didn't want. But shouldn't "Enable Scoring" be 
checked in order for the score file to do its job?

Second. If I want to eliminate headers containing any variation of a 
particular word (such as "gold", "golds", "goldenager", "goldenagers", 
etc, do I need to put each variation in the score file, or will it do to 
simply use "gold"?

Third. When I edit the score.ini file, is it necessary to put a "|" 
symbol after the last word or expression-to-match in the Subject line?

Thanks
Re: {Xnews} A few scoring questions.
#195958
Author: ยปQยซ
Date: Mon, 26 Feb 2007 06:24
21 lines
2088 bytes
In <news:12u4t4mcu1mrp70@corp.supernews.com>,
zombie <zombie@foggy.graveyard> wrote:

> First. I find that if I check "Enable scoring" in the 'Special' menu,
> I can't retrieve any headers. I get a blank screen. If I uncheck
> "Enable Scoring", then I can retrieve headers just fine; of course,
> then I get the headers that I didn't want.

> Third. When I edit the score.ini file, is it necessary to put a "|" 
> symbol after the last word or expression-to-match in the Subject line?

Probably the third issue explains the first one.  | is an "or"
operator.  If you put it last, you are matching on the empty string,
which is a substring of every string, so you will match every string.
If every string is matched on a killing rule, your screen will always
be blank.  (But you should see the progress bar briefly as Xnews
downloads and discards the headers.)

I've skipped the second issue;  I think reading scoring.txt would be
worthwhile for you.  Luu gives a lot of examples.  See 
<http://xnews.remarqs.net/score.htm> for more resources about scoring.
Re: {Xnews} A few scoring questions.
#195959
Author: Mike Dee
Date: Mon, 26 Feb 2007 12:17
39 lines
2935 bytes
zombie <zombie@foggy.graveyard> wrote in
news:12u4t4mcu1mrp70@corp.supernews.com: 

> I had everything set up like I wanted, and then a hard drive went
> south and I had to install a new drive and reinstall the OS. Now
> that I've installed Xnews again, I can't remember all of what I
> did before to set it up. My version of Xnews is 5.04.25.

Always a bummer losing things. You can replace the 5.04.25 Xnews.exe 
with the "Test" version found at <http://Xnews.newsguy.com>. It's 
several years newer than what you are using and *very* stable for 
use.

[...]
> Second. If I want to eliminate headers containing any variation of
> a particular word (such as "gold", "golds", "goldenager",
> "goldenagers", etc, do I need to put each variation in the score
> file, or will it do to simply use "gold"?

If you don't use escape characters in your score, you can certainly 
use just 'gold' to catch any of the variations mentioned above.

Bare in mind that this would also catch words such as marigold and 
goldsmith etc.

You could refine on gold by escaping it with a \b as in \bgold so 
that at least it would begin with gold. You can further develop this 
with some ending clauses, such as \bgold.*(s|r)?\b

That would get all of your given examples, but still would get some 
"false positives" (but only if they end in s or r).

You can further embellish this with a NOT escape "~":

\bgold.*(s|r)\b
~gold fields|goldfinger|gold mines

-- 
dee
Re: {Xnews} A few scoring questions.
#195960
Author: Mike Dee
Date: Mon, 26 Feb 2007 12:38
11 lines
1789 bytes
Mike Dee <mikedee@invalid.invalid> wrote in 
news:Xns98E3ED047E069emteedee@85.214.71.121:

> You can further develop this 
> with some ending clauses, such as \bgold.*(s|r)?\b

Oops. Ditch that "?" from this example, a bit more effective but by no 
means perfect...

-- 
dee
Re: {Xnews} A few scoring questions.
#195962
Author: Tech Zero
Date: Mon, 26 Feb 2007 15:27
37 lines
2543 bytes
Reality folded in on itself, and somewhere the following words from
"zombie" appeared in history:

> First. I find that if I check "Enable scoring" in the 'Special'
> menu, I can't retrieve any headers.

Check the write permissions or owner of the score.ini file if you've
copied it in from a backup.

> If I want to eliminate headers containing any variation of a
> particular word (such as "gold", "golds", "goldenager",
> "goldenagers", etc, do I need to put each variation in the
> score file, or will it do to simply use "gold"?

Just "gold" will catch em all...

Mind you, it will also catch "marigolds" ("\bgold" will fix that), so
you'll want to test first to see what else is /tagged/ in your group.

> When I edit the score.ini file, is it necessary to put a "|"
> symbol after the last word or expression-to-match in the
> Subject line?

Any entry that include a "|" at the end will match anything. Think of
it as the start of the next OR...

  Score: -1000
     Subject: god|devil|

Will down-score posts -1000 if they have the word "god" or "devil" or
/something undefined/ in the subject.

-- 
__ __| |            __ __|           |    __  /
   |     \    -_)      |   -_)   _|    \     /    -_)   _| _ \
  _|  _| _| \___|     _| \___| \__| _| _| ____| \___| _| \___/
Losing quality sleep helping others on-line since 1997...
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