🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
2 messages
2 total messages Started by Tech Zero Mon, 20 Jun 2005 09:02
[Xnews] Another way to filter crossposts...
#167951
Author: 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...
Re: [Xnews] Another way to filter crossposts...
#167978
Author: »Q«
Date: Tue, 21 Jun 2005 14:05
17 lines
1881 bytes
Tech Zero <leavenospam@dragonfur.ca> wrote in
<news:Xns967B1EE771013AlphaTwo@news.dragonfur.ca>:

>   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.

Thanks, Maxx.  I don't need that kind of crosspost killing now, but
I've saved your post for future reference.

-- 
»Q«
     links to Xnews resources:
     <http://www.cotse.net/users/putty/intro.htm>
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