🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #167950

Another way to filter crossposts...

#167950
From: Tech Zero
Date: Mon, 20 Jun 2005 08:59
53 lines
3119 bytes
Couldn't sleep...

So I did the next best thing; I decided to finnish the crosspost 
filters for some of the newsgroups I subscribe to, and in the proccess 
/possibly/ came up with another method to filter by the crossposts.


As the regulars well know, sometime back I was looking for a way filter 
out a number of crosspost except when crossposted to some groups.  At 
the time the best that I'd come up with was doulble score entry:

  Score: -9000
     Xref: (.*:){3}
     ~Xref: groupA|groupB|groupC

But with the help of the others in this group we were able to come up 
with a single line entry to achive the same task:

  Score: -9000
     Xref: (?!.*?(groupA|groupB|groupC))(.*?:){3}

Which is great and all, but it has it's limitations...

There just are some newsgroups where filtering by what groups you'll 
allow crossposting to becomes difficult, if not impossable.  And the 
more groups you alow the more "plot holes" you'll find in the filter, 
untill it becomes ineffective.  As in the infamous movies filter:

  [^rec\.arts\.movies]
  Score:: -2700
     Xref: (?!.*?(animation|enterprise|screenplay))(.*?:)+
     Xref: gossip|mythe|maharaj|slack

So what I needed was a way to define things negitively; as in filter 
out just what I don't want.  So with a little messing about I came up 
with the following entry:

  Score: -9000
     Xref: \w (?!(groupA|groupB|groupC))

It's really simple.  Rather then whitelist posts if they're crossposted 
to certain groups we just "kill off" a post as soon as it's posted to 
one group outside of the allowable groups.  For example:

  [^alt\.comp\.hardware\.overclocking]
  Score: -1300    %Testing...
     Xref: \w (?!(alt\.|uk\.)?comp)

Which will (and does) downscore all messages with crossposts outside of 
"alt.comp.*", "uk.comp.*", & "comp.*"...  Neat huh?

-- 
The Tech Zero, Maxx "What's That Score" Pollare...
Technical Details
Message-ID: <Xns967B1E7F1FA86AlphaTwo@news.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!indigo.octanews.net!green.octanews.net!news-out.octanews.net!authen.white.readfreenews.net.POSTED!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <Xns967B1E7F1FA86AlphaTwo@news.dragonfur.ca>
Subject: Another way to filter crossposts...
Date: Mon, 20 Jun 2005 02:59:52 -0600
From: Tech Zero <leavenospam@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!indigo.octanews.net!green.octanews.net!news-out.octanews.net!authen.white.readfreenews.net.POSTED!not-for-mail
Newsgroups: news.software.readers
User-Agent: Xnews/05.08.12
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: 53
Organization: Read Free News
NNTP-Posting-Date: 20 Jun 2005 03:59:55 CDT
NNTP-Posting-Host: df435948.authen.white.readfreenews.net
X-Trace: DXC=95W`OIm28Lm]k9mR4?<OBfb_[jUcf=dBgPH=X44`;
 MPiWo2HPm<Haib33bXH1>NiBjH_mbN1U<k3lmiEoQT<?Smb3LH33:PjHRh
X-Complaints-To: abuse@readfreenews.net