🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
3 messages
3 total messages Started by hkan... Heikki Kantola Tue, 20 Feb 1996 00:00
SLRN scoring problem
#19387
Author: hkan... Heikki Kantola
Date: Tue, 20 Feb 1996 00:00
22 lines
1383 bytes
I'm trying to make score file entry to kill binaries in wrong groups and
such. I've tried something like following, but looks like I can't make
the negations (I don't want kill FAQs, RFCs, CFVs, newsgroup creation
voting results and binaries in appropriate groups) right...

Score: -9998    
	Lines: 750
        ~Subject: FAQ
        ~Xref: binaries
        ~Xref: source
        ~Xref: news.*groups

What would be the right expression to do what I want? 

-- 
Heikki Kantola aka Hezu@IRC,          /// Ihmiselämä ei ole ollenkaan
Computer Linguistics Student         ///  niin monimutkaista kuin miltä 
at the University of Helsinki    \\\///   se näyttää - se on paljon 
E-Mail: Heikki...@Helsinki.FI\///    monimutkaisempaa. 

Re: SLRN scoring problem
#19421
Author: da... John E. Davis
Date: Wed, 21 Feb 1996 00:00
105 lines
3505 bytes
On 20 Feb 1996 23:11:49 GMT, Heikki Kantola <hkan...@vesuri.Helsinki.FI>
wrote:
 : I'm trying to make score file entry to kill binaries in wrong groups and
 : such. I've tried something like following, but looks like I can't make
 : the negations (I don't want kill FAQs, RFCs, CFVs, newsgroup creation
 : voting results and binaries in appropriate groups) right...
 : 
 : Score: -9998    
 : 	Lines: 750
 :         ~Subject: FAQ
 :         ~Xref: binaries
 :         ~Xref: source
 :         ~Xref: news.*groups

This score will not kill, it will simply mark as read.  Use a value of -9999
to delete.  This entry says to give an article a score of -9998 if:

        The article as has more than 750 lines
AND     The subject does NOT contain `FAQ'
AND     It was NOT cross posted to `binaries'
AND     It was NOT cross posted to `source'
AND     It was NOT cross posted to `news....<ANYTHING>....groups'

So, an article with headers:

     Lines: 800
     Subject: something.jpg (1/2)
     Xref: server alt.binaries:10 alt.sources

will NOT receive this score because it was cross posted to alt.binaries.
Note also that using the double colon form

 Score:: -9998    
        Lines: 750
         ~Subject: FAQ
         ~Xref: binaries
         ~Xref: source
         ~Xref: news.*groups

results in the `OR' version:

        The article as has more than 750 lines
 OR     The subject does NOT contain `FAQ'
 OR     It was NOT cross posted to `binaries'
 OR     It was NOT cross posted to `source'
 OR     It was NOT cross posted to `news....<ANYTHING>....groups'

Now, with that aside, suppose that you want to kill all articles that appear
to be binaries from e.g., news.*.  Then I suggest:

  [news.*]
    Score: =0
    Subject: FAQ
    
    Score: -9999
    Lines: 750
    Xref: binaries
    
    Score: -9999
    Lines: 750
    Xref: source

The first score says to assign a 0 value to any subject that contains FAQ
and skip the rest of the tests (The `=' sign means skip).  The other two
scores will imply that if the article subject does not contain FAQ and has
more than 750 lines, and is cross-posted to either `sources' or `binaries'
then it will be given a score of -9999.  Finally note that you might prefer:

  [news.*]

    Score: -9999
    Lines: 750
    Xref: binaries
   ~Subject: FAQ
    
    Score: -9999
    Lines: 750
    Xref: source
   ~Subject: FAQ

Here both tests will fail if the subject does NOT contain FAQ.

A final note, to apply these scores in all newsgroups BUT `binaries' and
`sources', try:


    [*]
    Score: -9999
    Lines: 750
   ~Newsgroup: binaries
    Xref: binaries
   ~Subject: FAQ
    
    Score: -9999
    Lines: 750
   ~Newsgroup: source
    Xref: source
   ~Subject: FAQ

These tests will ``fail'' in the binaries and source newsgroups.

--John

Re: SLRN scoring problem
#19493
Author: j... J.B. Nicholson-Owens
Date: Fri, 23 Feb 1996 00:00
45 lines
2128 bytes
On 21 Feb 1996 04:59:39 GMT, John E. Davis <da...@space.mit.edu> wrote:
> Note also that using the double colon form
> 
> [example deleted]
>
> results in the `OR' version:

Perhaps the scoring syntax could be altered or extended to use words instead
of the subtle second colon?

Something like your explanation:

[news.software.readers]
   Score: 9999
      Subject: \<slrn\>
      OR From: da...@space.mit.edu

Which would highlight any post in news.software.readers with the word 'slrn'
in it or any article by John Davis (da...@space.mit.edu)?

This could also allow easy and intuitive combinations of ANDed and ORed
criteria, if it were extended to include parentheses to force certain
parsing:

[news.software.readers]
   Score: 9999
     (Subject: \<slrn\>
     OR From: da...@space.mit.edu)
     AND Subject: \<unix\>

This could be interpreted to highlight posts in news.software.readers that
have:

  (1) The words 'slrn' and 'unix' in the subject
  (2) The from address da...@space.mit.edu and the word 'unix' in the
      subject.

Backslashes could be used to include parentheses in the criteria ("From:
\(bl...@blah.com\)" would mean a from address of "(bl...@blah.com)").  This
could alleviate the need for complex fall-through score procedures as well
as a potentially easier-to-read syntax.  I suggest this because I'm a big
fan of easily read configuration files and displays.

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