🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #167951

[Xnews] Another way to filter crossposts...

#167951
From: Tech Zero
Date: Mon, 20 Jun 2005 09:02
56 lines
3159 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 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: <Xns967B1EE771013AlphaTwo@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!green.octanews.net!news-out.octanews.net!authen.white.readfreenews.net.POSTED!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <Xns967B1EE771013AlphaTwo@news.dragonfur.ca>
Subject: [Xnews] Another way to filter crossposts...
Date: Mon, 20 Jun 2005 03:02:16 -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!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
Supersedes: <Xns967B1E7F1FA86AlphaTwo@news.dragonfur.ca>
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: 56
Organization: Read Free News
NNTP-Posting-Date: 20 Jun 2005 04:02:18 CDT
NNTP-Posting-Host: 3f771103.authen.white.readfreenews.net
X-Trace: DXC=g0hIM; B6ZNVMAZYW`=LagVb_[jUcf=dBWPH=X44`; MPYZg>e@Hn]J;
 P33bXH1>NiBZH_mbN1U<k3\miEoQT<?SmR6Z=IX<NMhh_
X-Complaints-To: abuse@readfreenews.net