Article View: news.software.readers
Article #264641Re: Xnews custom filters
From: MajorLanGod
Date: Tue, 26 Jan 2021 00:51
Date: Tue, 26 Jan 2021 00:51
46 lines
2506 bytes
2506 bytes
Mike Dee <mikedee@emteedee.invalid> wrote in news:XnsACBE5D5CE5F9Dmikedee@emteedee.invalid: > 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. > The problem is that there isn't a single author's name. There are many names, the only common thing is that the first three characters are numeric, with is what I based my regex on.
Technical Details
Message-ID:
<XnsACBDBFC41DAE1lonelydad58.gmail.co@81.171.92.224>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-mailReferences:
<XnsACBD7ED5ADC46lonelydad58.gmail.co@81.171.92.238> <XnsACBE5D5CE5F9Dmikedee@emteedee.invalid>Show Full Headers
Complete Article Headers
Message-ID: <XnsACBDBFC41DAE1lonelydad58.gmail.co@81.171.92.224> Subject: Re: Xnews custom filters Date: Tue, 26 Jan 2021 00:51:06 GMT From: MajorLanGod <lonelydad58@gmail.com> References: <XnsACBD7ED5ADC46lonelydad58.gmail.co@81.171.92.238> <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 Newsgroups: news.software.readers Organization: Me, Myself & I, Inc User-Agent: Xnews/5.04.25 Lines: 46 X-Complaints-To: abuse(at)newshosting.com Nntp-Posting-Date: Tue, 26 Jan 2021 00:51:06 UTC