🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #73661

Re: [leafnode] filter examples

#73661
From: Troy Piggins
Date: Sat, 20 May 2006 02:19
43 lines
2206 bytes
* Alan Connor wrote:
> On news.software.nntp, in <20060520070603@usenet.piggo.com>,
> "Troy Piggins" wrote:
>
>> * Alan Connor wrote:
>>
>>> On news.software.nntp, in <20060518082558@usenet.piggo.com>,
>>> "Troy Piggins" wrote:
>>>
><snip>
>>>
>>> What's your impression of leafnode's scoring compared with
>>> that of slrn's so far, Troy?
>>
>> It's not really scoring, but rather a filter.  There's
>> basically a file with one line regexes to match headers, and if
>> a post matches those headers it isn't downloaded.  That's my
>> rather simplified view of it.
>
> How are the regexes? Limited like slrn's or like egrep?

Based on perl regexes:

man pcre

> Do you have this:
>
> http://www.s-lang.org/doc/html/slang-20.html

Yep.

> I've heard rumors that one can write a slrn macro that will
> pipe posts through other utilities. Probably as slow as
> procmail post-download filtering.

There's a pipe_article function, or you can open and operate on pipes
with popen.

[snip]

-- 
Troy Piggins                                RLU#415538 <http://counter.li.org>
My dogma just ran over my karma 
Technical Details
Message-ID: <20060520121525@usenet.piggo.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nntp.waia.asn.au!203.59.27.186.MISMATCH!newsfeed.iinet.net.au!newsfeed.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsreader-01.iinet.net.au!not-for-mail
References: <20060518082558@usenet.piggo.com> <slrne6sc9t.1ka.i3x9mdw@b29x3m.invalid> <20060520070603@usenet.piggo.com> <slrne6sigj.27n.i3x9mdw@b29x3m.invalid>

Show Full Headers
Complete Article Headers
Message-ID: <20060520121525@usenet.piggo.com>
Subject: Re: [leafnode] filter examples
Date: Sat, 20 May 2006 12:19:26 +1000
From: Troy Piggins <usenet-0605@piggo.com>
References: <20060518082558@usenet.piggo.com> <slrne6sc9t.1ka.i3x9mdw@b29x3m.invalid> <20060520070603@usenet.piggo.com> <slrne6sigj.27n.i3x9mdw@b29x3m.invalid>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nntp.waia.asn.au!203.59.27.186.MISMATCH!newsfeed.iinet.net.au!newsfeed.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsreader-01.iinet.net.au!not-for-mail
Newsgroups: news.software.nntp
Reply-To: usenet-0605@piggo.com
User-Agent: slrn/0.9.8.1/rt (Linux)
Lines: 43
NNTP-Posting-Host: 203.206.74.180
X-Trace: 1148094003 per-qv1-newsreader-01.iinet.net.au 31537 203.206.74.180