Thread View: news.software.readers
4 messages
4 total messages
Started by Michael Handler
Mon, 03 Jun 1996 00:00
SLRN: scorefile kill by Xref:?
Author: Michael Handler
Date: Mon, 03 Jun 1996 00:00
Date: Mon, 03 Jun 1996 00:00
53 lines
2563 bytes
2563 bytes
This is a slightly silly question, and one that I hope has a really
simple answer.
I'm running slrn 0.8.8.2. I'm trying to add a scorefile entry to my
slrn scorefile that would automatically kill articles crossposted to six
groups or more. As John suggested in ~slrn/KILL_FAQ, I tried the Xref:
header rather than any other header, as Xref: is in the NOV database
already, and speeds up slrn's scoring. What I tried was:
[*]
Score: -9999
Xref: :.*:.*:.*:.*:.*:
but that didn't work. I tried adding leading and trailing ".*"
constructs, but that didn't help.
I'm slightly mystified as to why this doesn't work, especially
considering this entry from ~slrn/KILL_FAQ:
| Subject: 8. How do I score all cross-posts?
|
| Like the previous answer you have two choices: to use the Xref header
| (preferred) or the Newsgroups header. The first choice uses the fact
| that a cross-posted article will have two colons in the Xref header
| field. So, use a score of the form:
|
| Score: -9999
| Xref: :.*:
|
| If you do not have the option of using the Xref header, use:
|
| Score: -9999
| Newsgroups: ,
I know I could just use Newsgroups: instead of Xref: (hi Clayton!), but I'd
much rather use Xref: and stay within the auspices of the NOV as it
normally runs on our system.
What am I missing?
(I could add Newsgroups: to the NOV database on our site, but I consider
that overkill, given that the same data can be (mostly) gathered
from the Xref: header already.)
--
Michael Handler <handler@netaxs.com> | DNS: <hostmaster@netaxs.com>
Net Access sysadmin and resident cynic | Netnews: <news@netaxs.com>
Voice: (215) 576-8669, 9 AM - 6 PM, M - F | General: <support@netaxs.com>
PO Box 502, Glenside, PA 19038 | * <--- Philadelphia Perth ---> *
Re: SLRN: scorefile kill by Xref:?
Author: John E. Davis
Date: Mon, 03 Jun 1996 00:00
Date: Mon, 03 Jun 1996 00:00
36 lines
1684 bytes
1684 bytes
On 3 Jun 1996 12:42:36 GMT, Pascal A. Dupuis <dupuis@lei.ucl.ac.be>
wrote:
: > [*]
: > Score: -9999
: > Xref: :.*:.*:.*:.*:.*:
Is this the complete score? That is, does you score really look something
like:
[*]
Score: -9999
Xref: :.*:.*:.*:.*:.*:
Subject: Money
This says that in order to get the -9999 score, the subject line must
contain the string `Money' in addition to being cross-posted to 6 or more
groups. Finally, the Xref lines will only list groups your server supports
though the Newsgroups line may contain others.
: >
: Try Xref: :.* :.* :.* :.* :.* instead, and make sure the headers are NOT
Both regular expressions should work fine. The one I use is:
Score: -999
Xref: :[^:]+:[^:]+:[^:]+:[^:]+:[^:]+:[^:]+:
I believe it executes faster.
--
John E. Davis Center for Space Research/AXAF Science Center
617-258-8119 MIT 37-662c, Cambridge, MA 02139
http://space.mit.edu/~davis
Re: SLRN: scorefile kill by Xref:?
Author: Pascal A. Dupuis
Date: Mon, 03 Jun 1996 00:00
Date: Mon, 03 Jun 1996 00:00
21 lines
1312 bytes
1312 bytes
Thus spake Michael Handler on news.software.readers >This is a slightly silly question, and one that I hope has a really >simple answer. > >I'm running slrn 0.8.8.2. I'm trying to add a scorefile entry to my >slrn scorefile that would automatically kill articles crossposted to six >groups or more. As John suggested in ~slrn/KILL_FAQ, I tried the Xref: >header rather than any other header, as Xref: is in the NOV database >already, and speeds up slrn's scoring. What I tried was: > > [*] > Score: -9999 > Xref: :.*:.*:.*:.*:.*: > Try Xref: :.* :.* :.* :.* :.* instead, and make sure the headers are NOT wrapped. Pascal A. Dupuis
Re: SLRN: scorefile kill by Xref:?
Author: Michael Handler
Date: Tue, 04 Jun 1996 00:00
Date: Tue, 04 Jun 1996 00:00
28 lines
1496 bytes
1496 bytes
In <slrn4r6d13.4os.davis@aluche.mit.edu>, John E. Davis <davis@space.mit.edu> wrote: > Is this the complete score? That is, does you score really look something > like: > > [*] > Score: -9999 > Xref: :.*:.*:.*:.*:.*: > Subject: Money Never mind, I made a stupid mistake. I had multiple conditions that I wanted ORed, and I forgot the ::. *eyeroll* > Score: -999 > Xref: :[^:]+:[^:]+:[^:]+:[^:]+:[^:]+:[^:]+: Thanks for the tip! -- Michael Handler <handler@netaxs.com> | DNS: <hostmaster@netaxs.com> Net Access sysadmin and resident cynic | Netnews: <news@netaxs.com> Voice: (215) 576-8669, 9 AM - 6 PM, M - F | General: <support@netaxs.com> PO Box 502, Glenside, PA 19038 | * <--- Philadelphia Perth ---> *
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