🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #185619

Re: xnews: why doesnt this scoring work??

#185619
From: Mike Dee
Date: Thu, 25 May 2006 06:36
80 lines
3248 bytes
sxm <sxm@nowhere.com> wrote in
news:Xns97CDF36F8AB2sxmnowherecom@199.45.49.11: 

> hey all again,
> 
> i posted something a couple days ago, and got great responses, and
> have completed my score.ini, and i'm pretty sure it's done
> correctly, but it wont work. 
> 
> here it is:
> 
> % score file for Xnews
> % read scoring.txt for instruction
> 
> 
> [^alt\.binaries\.multimedia$]
>      Score: -9999

As Q has already pointed out, the double-colon "::" is a must, if
this has any chance of working. 

As in, Score:: -9999

This allows the score to run on multiple lines as an OR condition

However I got to ask; Is it really necessary for you to add all of
those literal full stops in some of those names you are trying to
score on? 

For example you used:

Subject: the\.sopranos\.|the sopranos|the\.surreal\.life\.|the surreal life
and then you follow with the same names but with spaces.

Do you actually see subjects "the.sopranos" or "the.surreal.life"?

If so, you can kill two birds with one stone here, as all you need
to type for example, is:

Subject: the.?sopranos|the.?surreal.?life

which will match both with the "." and the space, or underscrore etc...

However, I would also not include "the" in these examples, making your
score file even shorter, as in:

Subject: sopranos|surreal.?life

The leading "the" is unnecessary as this shorter method will do
just as well.

And where you find names that are easy to be misspelled such as
conan o'brien or conan o brian you can fix this like:

Subject: con.*bri[a|e]n

Also:

Subject: america.*[i|n]

Will get american idol, american inventors and americas next! No
need to write all of these into your score.

Subject: d.*who

Will trap "doctor who, dr.who, dr_who, drwho, etc.

You can add this following line to your score file:

Subject: america.*[i|n]|con.*bri[a|e]n|d.*who|sopranos|surreal.?life

A single line, where you had at least three.
Food for thought, I hope.

> can anyone tell me where i went wrong?

Too much in one go, I suspect :-)

-- 
dee
Technical Details
Message-ID: <Xns97CEA8A378BD6emteedee@148.160.160.156>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news.karotte.org!news2.arglkargh.de!news.ispa.de!news.jacob-sparre.dk!pnx.dk!news.henrynet.se!not-for-mail
References: <Xns97CDF36F8AB2sxmnowherecom@199.45.49.11>

Show Full Headers
Complete Article Headers
Message-ID: <Xns97CEA8A378BD6emteedee@148.160.160.156>
Subject: Re: xnews: why doesnt this scoring work??
Date: Thu, 25 May 2006 06:36:54 +0000
From: Mike Dee <mikedee@invalid.invalid>
References: <Xns97CDF36F8AB2sxmnowherecom@199.45.49.11>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news.karotte.org!news2.arglkargh.de!news.ispa.de!news.jacob-sparre.dk!pnx.dk!news.henrynet.se!not-for-mail
Newsgroups: news.software.readers
Organization: Poor Boy
User-Agent: Xnews/2006.03.14
MIME-Version: 1.0
X-Face: $W<X:Uw4$"nTXRHqqZ=.|pFI@K,TNNH0i>-J; N5/yst7]cQb.o^L$oAhs-J!C
 AOUMQ^NHu3aTb9H8awW~4Y.LR`[o}Rz6Xf=^krb-AwUiM"7zA+QR<vWz'8>hKiTOyd]h
 z]7m=[nhuH{NMrE>~][PM`wSKd?TFV-.glh)>N
X-salutation: Gudday.
X-location: Global Village, Earth.
X-it: See ya!
Lines: 80
X-Authenticated-User: dee
X-Complaints-To: abuse@henrynet.se