🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #218546

Re: [Leafnode] Selective filtering by subject

#218546
From: andrew
Date: Sat, 05 Apr 2008 02:14
45 lines
2654 bytes
On 2008-04-04, Tom Newton <tom@server.invalid> wrote:

>> And a final effort in this little dialogue mostly with myself:
>>
>>   newsgroups = ^local\.test$
>>   pattern = ^Subject:.*(?i)(apples|oranges|bananas|tangellos)
>>   action = 5
>>   pattern = ^Subject:.*
>>   action = -6
>>   pattern = ^From: andrew <andrew@ilium\.invalid>$ 
>>   action = 10
>>   pattern = ^References:.*ilium\.andrews\-corner\.org>$
>>   action = 10

Bugger, bugger, bugger! This did not work. But the following slightly
monstrous example appears to work:

+==================
  newsgroups = ^local.test$
  pattern = (^Subject:.*(?i)(apples|oranges))|((^References:|^Message-ID:).*andrews-corner\.org>)
  action = select
  pattern = ^Subject:.*
  action = kill 
+===================

So the pattern is: Select all posts that:

1.  match apples or oranges in the Subject field. 
2. or
3. Select anything that has:
4. Either my details in Message-ID or:
5. my details in  References.

In the next pattern select all other 'Subject's and kill them.

> I encourage you to keep it up, Andrew. And to eventually add
> a scoring page to your website...

Mate I am the most amateurish of amateurs in this area, there will be
no page on this until I have achieved some degree of mastery :-)

      Andrew

-- 
http://www.andrews-corner.org
Technical Details
Message-ID: <20080405120304.583@ilium.andrews-corner.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!postnews.google.com!news3.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <20080403113910.353@ilium.andrews-corner.org> <20080403124109.405@ilium.andrews-corner.org> <20080405101040.249@ilium.andrews-corner.org> <slrnfvdea6.9vh.tom@treeoflife.3v8l2x.net>

Show Full Headers
Complete Article Headers
Message-ID: <20080405120304.583@ilium.andrews-corner.org>
Subject: Re: [Leafnode] Selective filtering by subject
Date: Sat, 05 Apr 2008 12:14:33 +1000
From: andrew <andrew@ilium.invalid>
References: <20080403113910.353@ilium.andrews-corner.org> <20080403124109.405@ilium.andrews-corner.org> <20080405101040.249@ilium.andrews-corner.org> <slrnfvdea6.9vh.tom@treeoflife.3v8l2x.net>
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!postnews.google.com!news3.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: news.software.readers
Organization: slrn Mafia
Lines: 45
Reply-To: usenet.andrew@gmail.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Trace: individual.net uQMAYJknP/T/QoFZHSM4HQhu64trOWrHMxJowC5moBICl+HQCj
X-Orig-Path: ilium.andrews-corner.org!not-for-mail
Cancel-Lock: sha1:OQrJ3fyh3X1kx3L6KXpj/5KIisw=
X-NNTP-Proxy: Leafnode-2
 (http://www-dt.e-technik.uni-dortmund.de/~ma/leafnode/beta/)
User-Agent: slrn/pre0.9.9-99/mm (Linux)