🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #199453

Re: [XNews] A question: How to filter?

#199453
From: Tech Zero
Date: Mon, 14 May 2007 23:59
37 lines
2444 bytes
Reality folded in on itself, and somewhere the following words from
"TheWanderer" appeared in history:

> Q: How does one set up a filter that can kill any article with a
> particular word in the subject?

   Score: -9000
      Subject: yata

> Say that I simply want any article with the word "casino", for
> instance, to simply go away?

   Score: -9999
      Subject: casino

> Can you include multiple words per filter, or would one separate
> filter per term work better?

Nah, just layer em on...

I try to keep each line related but all three of the entries that
Pete mentined do the same thing. The code Luu uses for Pcre is a
little more efficent with all three test words on a one line entry,
but the speed difrences are not even noticable on todays systems.

> Can the filter, if it exists, of course, be used to screen
> "partial" terms, like "[filename].mpg"?

Sure, with a little regex... Check out:

   http://www.dragonfur.ca/xnews/xn_score.shtml

-- 
__ __| |            __ __|           |    __  /
   |     \    -_)      |   -_)   _|    \     /    -_)   _| _ \
  _|  _| _| \___|     _| \___| \__| _| _| ____| \___| _| \___/
Losing quality sleep helping others on-line since 1997...
Technical Details
Message-ID: <Xns9930B7117EBD7AlphaTwo@draken.dragonfur.ca>
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!newscon02.news.prodigy.net!prodigy.net!news.glorb.com!news-out.octanews.net!indigo.octanews.net!authen.yellow.readfreenews.net.POSTED!not-for-mail
References: <Xns992B7A2FA1AC4erictzoneabpeg@216.151.153.66>

Show Full Headers
Complete Article Headers
Message-ID: <Xns9930B7117EBD7AlphaTwo@draken.dragonfur.ca>
Subject: Re: [XNews] A question: How to filter?
Date: Mon, 14 May 2007 17:59:46 -0600
From: Tech Zero <uselesspam@dragonfur.ca>
References: <Xns992B7A2FA1AC4erictzoneabpeg@216.151.153.66>
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!newscon02.news.prodigy.net!prodigy.net!news.glorb.com!news-out.octanews.net!indigo.octanews.net!authen.yellow.readfreenews.net.POSTED!not-for-mail
Newsgroups: news.software.readers
User-Agent: Hamster/2.1.0.11 Xnews/2006.03.07
X-Face: }2a:86~fids1(+)NSk]$?SqH(7<%l,URI]qy%%.4O]rYF&7aeXt,vC%i`TGlSWHr&v]amN[1^X"p0$?&3`az-l>nq\y5}ADu+TJ%\{[)`H"X}yx`zpMe^V*JyI~)WcA-6Mb#Qh>}?{cyxK!"G\#"I5&H\FrFy[c9usZ<#'"nvV[;
 34_qR9](uXc,NLS?JRGg/.&1=
Lines: 37
Organization: Read Free News
NNTP-Posting-Date: 14 May 2007 18:59:55 CDT
X-Trace: DXC=8XIcH<jm:@d^NRDlKIUm0c]AGWjF5PjPi465Ue@WB_5o\ODd;
 FLG8TgC_@6Qi6a>@chQI`CHWgadcmga[W_3lInj1EYL@aRJ5im