🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #214357

Re: [slrn] filter out gt 3 NGs

#214357
From: Peter J Ross
Date: Mon, 31 Dec 2007 11:45
64 lines
3024 bytes
In news.software.readers on Sat, 29 Dec 2007 06:50:44 -0600, Larry
Moore <ljmoore@localhost.localdomain> wrote:

> To further define the problem:
> I would like to keep all messages to my favourite NGs but kill
> all messages that also were posted to any-other NGs.
> Is that clearer?

Yes, but it requires complex scorefile entries that may not be worth
the effort.

If you have three "favourite" groups, you could try something like
this:

#v+
[group.one]
Score:: =-9999
	% kill everything xposted to four groups
	Xref: :.*:.*:.*:.*:
	% kill everything xposted to three groups, unless the other
	% two are both "favourites"
	{:
		Xref: :.*:.*:.*:
		~Xref: group\.two:.*group\.three
		~Xref: group\.three:.*group\.two
	}
	% kill everything xposted to two groups, unless the other one
	% is a "favourite"
	{:
		Xref: :.*:.*:
		~Xref: group\.two
		~Xref: group\.three
	}
[group.two]
	% same as above but with "one" instead of "two" where
	% appropriate
[group.three]
	% same as above but with "one" instead of "three" where
	% appropriate
#v-

The complexity increases greatly with larger numbers of "favourite"
groups, mostly because the groups' names can appear in any order in
the Xref: or Newsgroups: lines.

It's probably much simpler to score individual group names or
patterns, e.g.

#v+
[*]
Score:: =-9999
	% kill everything crossposted to a group whose name contains
	% certain keywords
	Xref: troll
	Xref: politics
	Xref: advocacy
	Xref: ponds
	Xref: alt\.fan\.
	% kill everything xposted to five or more groups
	Xref: :.*:.*:.*:.*:.*:
#v-

-- 
PJR :-)
Technical Details
Message-ID: <slrnfnhlir.lvf.pjr@pjr.gotdns.org>
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!newsfeed00.sul.t-online.de!t-online.de!feeder.news-service.com!news.motzarella.org!motzarella.org!not-for-mail
References: <n9udnfujWIqwCejanZ2dnUVZ_o2vnZ2d@wightman.ca> <slrnfnbdaa.5cg.pjr@pjr.gotdns.org> <vcWdnWGnuZE53-vanZ2dnUVZ_o2vnZ2d@wightman.ca>

Show Full Headers
Complete Article Headers
Message-ID: <slrnfnhlir.lvf.pjr@pjr.gotdns.org>
Subject: Re: [slrn] filter out gt 3 NGs
Date: Mon, 31 Dec 2007 11:45:31 +0000
From: Peter J Ross <pjr@example.invalid>
References: <n9udnfujWIqwCejanZ2dnUVZ_o2vnZ2d@wightman.ca> <slrnfnbdaa.5cg.pjr@pjr.gotdns.org> <vcWdnWGnuZE53-vanZ2dnUVZ_o2vnZ2d@wightman.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!newsfeed00.sul.t-online.de!t-online.de!feeder.news-service.com!news.motzarella.org!motzarella.org!not-for-mail
Newsgroups: news.software.readers
Organization: none
Lines: 64
Reply-To: Peter J Ross <pjr.spam@gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Trace: feeder.motzarella.org
 U2FsdGVkX1+KMRHaZnTNONVhQ30BpW9ti1JNxXfggb0X0JSGVDSC/oBUK/SDlp0evtDhZbCgsOUkSfgSzN1OIVwLDe2ssJAcjqtaZ3JdDP3aevfkOY9QKHC94B7iImCrrqm/1+9Ea8M=
X-Complaints-To: Please send complaints to abuse@motzarella.org with full
 headers
NNTP-Posting-Date: Mon, 31 Dec 2007 11:47:01 +0000 (UTC)
X-Auth-Sender: U2FsdGVkX1/hj522/iO3bcyKjbTsMEYy
Cancel-Lock: sha1:BmSawqRjNgH9Eh6x70+DMJ5FvfY=
User-Agent: slrn/pre0.9.9-75 (Linux)