🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #264640

Re: Xnews custom filters

#264640
From: Mike Dee
Date: Mon, 25 Jan 2021 22:10
41 lines
2290 bytes
MajorLanGod wrote:

> How can I make a custom filter in Xnews permanent. Right now, I
> have to invoke it every time I want to use it. There are a couple
> newsgroups that are being swamped by encripted entries where the
> author name always starts with three numerals. I have a custom
> filter to take care of them, but I have to invoke it by hand every
> time. Is there a way to make it permanent so that it is always run
> when I open a newsgroup. And yes, I have already looked at the
> Xnews User Manual. 

Instead of invoking Filter > Custom Filter [F9], use
Special > Edit Score File [Ctrl + E] which opens the score file in 
Notepad. Hand-edit your scorefile there and save the changes.

When entering scores for all newsgroups, they go under [.]

When entering scores for a particular group they go under the groups 
name. For example, this group and a kill score for an individual would 
look like something this:

[^news\.software\.readers$]

  Score: -9999
  From: someone's name

You don't need to write a "From:" for each entry, you can pipe "|" 
names across a single line, as in:

  From: person 1|person 2|person 3|etc|etc|etc

Does the persons name always use the same 3 numbers? If not, use:

 From: ^[0-9][0-9][0-9]name

In the fine Xnews manual, read the chapters 16 and 17. Especially 
chapters 17 for more Regex info which will come in handy when editing 
the score file by hand.

-- 
dee
Technical Details
Message-ID: <XnsACBE5D5CE5F9Dmikedee@emteedee.invalid>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
References: <XnsACBD7ED5ADC46lonelydad58.gmail.co@81.171.92.238>

Show Full Headers
Complete Article Headers
Message-ID: <XnsACBE5D5CE5F9Dmikedee@emteedee.invalid>
Subject: Re: Xnews custom filters
Date: Mon, 25 Jan 2021 22:10:48 +0000
From: Mike Dee <mikedee@emteedee.invalid>
References: <XnsACBD7ED5ADC46lonelydad58.gmail.co@81.171.92.238>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
Newsgroups: news.software.readers
Organization: Poor Boy
Lines: 41
Injection-Date: Mon, 25 Jan 2021 22:10:48 -0000 (UTC)
User-Agent: Xnews/2009.05.01
Cancel-Lock: sha1:Ah1j6C5wPzrEcHUmp/qbbbWQYl0=
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