Article View: news.software.readers
Article #19421Re: SLRN scoring problem
From: da... John E. Davis
Date: Wed, 21 Feb 1996 00:00
Date: Wed, 21 Feb 1996 00:00
105 lines
3505 bytes
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
Technical Details
Message-ID:
<slrn4il9lr.lmp.davis@wiwaxia.mit.edu>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp!not-for-mailReferences:
<slrn44ikl82.9n4.hkantola@vesuri.Helsinki.FI>Show Full Headers
Complete Article Headers
Message-ID: <slrn4il9lr.lmp.davis@wiwaxia.mit.edu> Subject: Re: SLRN scoring problem Date: Wed, 21 Feb 1996 00:00:00 +0000 From: da...@space.mit.edu (John E. Davis) References: <slrn44ikl82.9n4.hkantola@vesuri.Helsinki.FI> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp!not-for-mail X-Deja-AN: 140340428 Organization: Center for Space Research Reply-to: da...@space.mit.edu Newsgroups: news.software.readers,alt.lang.s-lang