🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #175392

Re: [xnews|pan|slrn] Nested Scoring

#175392
From: Blinky the Shark
Date: Sun, 23 Oct 2005 16:56
60 lines
2860 bytes
Troy Piggins wrote:

> * Blinky the Shark wrote:
>> Troy Piggins wrote:
>>
>>> * PJR wrote:
>>>> On 22 Oct 2005 23:08:09 GMT, Blinky the Shark
>>>> <no.spam@box.invalid> wrote in news.software.readers:
>>>>
>>>>> I can't for the life of me Google up anything on the syntax
>>>>> for nested scoring, e.g.:
>>>>>
>>>>> Score (or)   nnnn
>>>>>
>>>>>    this and this
>>>>>
>>>>>    this and this
>>>>>
>>>>> How the hell do you nest ors in ands and vice versa?  I've
>>>>> done it but it was years ago and I can't find any examples
>>>>> locally or online. 
>>>>
>>>> An slrn example:
>>>>
>>>> Score: nnn
>>>>      From: Blinky {::
>>>>           X-Foo: bar          % condition 1 {:
>>>>                X-Bar: foo     % condition 2
>>>>                X-Bar: bar     % condition 3 } }
>>>>
>>>> This ought to score posts from Blinky if either condition 1
>>>> or both conditions 2 and 3 are met. Swapping the colons
>>>> around would have a different effect. 
>>> 
>>> That's the way I understand it.  From the slrn docs score.txt:
>>
>> What the...?  I could've sworn I read that file just today.  
>><stratching head>
> 
> Oops, my bad.  I just checked and you're right if you're
> implying that nesting example isn't there... I must've added it
> myself but borrowed the initial idea from that doc's example for
> all caps posts.  Sorry if I led you up the garden path.  I
> honestly thought I'd got that whole expression from there.

Ah!  Gotcha.  And no, I didn't see that example at the very bottom 
of the file:

Score:: -1000
~Subject: \c[a-z]
{:
  Subject: ^Re:
  ~Subject: ^Re:.*\c[a-z]
} 


-- 
Blinky
Killing all Google Groups posts.  
http://blinkynet.net/comp/uip5.html
Technical Details
Message-ID: <Xns96F8648F94A14bnooz@130.133.1.4>
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!newsfeed01.sul.t-online.de!t-online.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <Xns96F7A3EAC43A7bnooz@130.133.1.4> <slrndllivc.ptv.pjr@nntp.petitmorte.net> <20051023141048@usenet.piggo.com> <Xns96F7E37B53E8Ebnooz@130.133.1.4> <20051023213636@usenet.piggo.com>

Show Full Headers
Complete Article Headers
Message-ID: <Xns96F8648F94A14bnooz@130.133.1.4>
Subject: Re: [xnews|pan|slrn] Nested Scoring
Date: Sun, 23 Oct 2005 16:56:37 +0000
From: Blinky the Shark <no.spam@box.invalid>
References: <Xns96F7A3EAC43A7bnooz@130.133.1.4> <slrndllivc.ptv.pjr@nntp.petitmorte.net> <20051023141048@usenet.piggo.com> <Xns96F7E37B53E8Ebnooz@130.133.1.4> <20051023213636@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.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: news.software.readers
Organization: http://blinkynet.net
Lines: 60
X-Trace: individual.net m0CSBqZT/yWS8qotYEzGWwvYhE/48AXG84QLytTif+GMtdPVws
User-Agent: Xnews/2005.10.03
X-Face: Jb-wQ7r&vrN}~8MC5B09S4&.ieh!Q:Di/XN.xrd#CU%;
 )bPa`Hm^(,3o$n(s75[P+$F+Q^4~Owj`WzkBtZU/#gL2BvEBm/e=/1,R0}d@q@)E