🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
1 messages
1 total messages Started by Tech Zero Mon, 20 Jun 2005 08:59
Another way to filter crossposts...
#167950
Author: 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...
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads