🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #180680

Re: [Xnews] Filters

#180680
From: Mike Dee
Date: Sun, 19 Feb 2006 01:29
84 lines
4168 bytes
Bill Martin <wylie@earthNoSpamlink.net> wrote in
news:Xns976EC1F1ACB25wylieearthlinknet@207.69.189.191: 

> This is my first experience with Xnews and I'm having a bit of
> trouble figuring out the filters.  Basically I'd like to see the
> message headers for all threads with unread messages *AND* the
> threads which I've marked with scores above some threshold (say 0
> for the moment) even if they have no unread messages.
> 
> Dinking around with the filters I seem to be able to see one class
> of threads or the other, but not both combined in the list. 
> Apparently the filters are successively subtractive, but never
> additive? 

No, they can be additive too. Note, one score can cancel another
from even running depending on it's conditions, weighting and
precendence. 

> Finally, if I were to succeed in creating the desired filter,
> would I be able to somehow save it as my own named filter or would
> I have to recreate it each time I open Xnews?

In the Xnews folder resides a file called "score.ini" if it does not
yet exist then you should create one using Notepad and save it with
that name in the Xnews folder. Scores you create maually are saved
to this. You invoke "score.ini" in Xnews, via the "Special" menu
choosing "Edit Score File" (Or by typing "Ctrl + E"). 

Scores you enter manually take the form of:

% A percent symbol preceding a line of text is a comment.
% That is, it does not run, it's a notation.

[.]

% A period enclosed by 2 square brackets means that the following
% scores will run in every group you open.

     Score: =2000
        From: ^Bill Martin$

% Will highlight any posts you make

     Score: -9999
       User-Agent: G2\/

% A score of -9999 gets rid of dross

     Score:: =-9999
        Subject: cash|\bcum\b|dollar|\belotto|get rich|inves|low(.*)pri|milli(.*)re|money|\bpussi|\$(.*)\$
        Subject: ^\[?f\.?a\.?\]?\b
        Subject: (\$(.*)|\bipods?\b)(.*)(free|deal)|(\bfree\b(.*)\bipods?\b|\bmini\b|\bmusic\b)

        From: cash|inter(.*)tool|million(.*)re|money|(.*)\.ru$
        Newsgroups: ,(.*),(.*),

% Using a double colon "::" in a score gives it an OR condition
% Meaning you can use multiple lines of various scoring techniques
% =- preceding 9999 means that score stops when it finds a target
% giving a complicated long score more economy.


[^news\.software\.readers$]

% A newsgroup name enclosed by 2 square brackets means that
% any following scores will run only in that group when you
% open it. The ^ denotes the beginning of the group name,
% the $ denotes the end. Periods in score files are special
% characters so need to be "escaped". You do this by using
% a forward slash "\" as in, \.

     Score:: -9999
        Message-ID: Jeff\_Relf
        References: Jeff\_Relf

% this give you a good way of killing some of the local
% usually OT flavors in individual groups, also scoring
% on References when possible, kills followups to useless
% posts and spammers etc.

Have fun.

-- 
dee
Technical Details
Message-ID: <Xns976F7ED6D6175emteedee@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!border2.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!koehntopp.de!news.musoftware.de!rouhivuori!not-for-mail
References: <Xns976EC1F1ACB25wylieearthlinknet@207.69.189.191>

Show Full Headers
Complete Article Headers
Message-ID: <Xns976F7ED6D6175emteedee@148.160.160.156>
Subject: Re: [Xnews] Filters
Date: Sun, 19 Feb 2006 01:29:57 +0000
From: Mike Dee <mikedee@invalid.invalid>
References: <Xns976EC1F1ACB25wylieearthlinknet@207.69.189.191>
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!border2.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!koehntopp.de!news.musoftware.de!rouhivuori!not-for-mail
Newsgroups: news.software.readers
Organization: Poor Boy
User-Agent: Xnews/2005.10.18
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: 84
X-Authenticated-User: dee
X-Complaints-To: abuse@usenet.zapto.org
X-Newsmaster-Contact: admin@usenet.zapto.org