Thread View: news.software.readers
6 messages
6 total messages
Started by Homer S.
Sat, 20 Mar 2004 14:59
XNEWS - Scoring help - scorefile inside...
Author: Homer S.
Date: Sat, 20 Mar 2004 14:59
Date: Sat, 20 Mar 2004 14:59
65 lines
2509 bytes
2509 bytes
Dear Xnews scoring wizards:
Probably being really stupid, so forgive me if so; I am having
trouble using wildcard in scorefile. Have read until eyes are
bleeding - can't see/find the answer. How do I (or can I) use * and
? in subject line filter? If not, what is solution? Scorefile
pasted below - Here are questions:
In SECTION 1, why are *'s not working? i.e.
Subject: tank girl
kills "Tank Girl", but not "tank_girl", "tank gurl", or "tankgirl"
OR
Subject: sopranos
kills sopranos, but not SoPr@N0z
In SECTION 3, why are ALL messages with less than 20 lines being
killed? I can't seem to get the filter to only kill those files
that meet both the subject criteria AND have less than 20 lines.
In SECTION 4, my question is the same as SECTION 1, How do I tell
the filter to score any subject line with any combination of diana
followed by krall OR krall followed by diana. I can score "diana
krall" and "krall diana", but NOT "diana_krall",
"dianakrall","krall,diana",or "krall-diana", etc. etc.
Your help appreciated,
Homey
[.]
%SECTION 1 - KILL
Score:: -9999
Subject: tank g*rl|toilet seat g*|x*files|top*gun|sopr*n*|
{impurity}|coupling
%SECTION 2 - KEYWORD FLAGS
Score:: 9999
Subject: dev\-gt3|stephen king|sw\.part
%SECTION 3 - KILL KEYWORDS WITH LESS THAN 10 LINES
Score: -9999
Subject: req\:|req \:|req \>
~Lines: 20
%SECTION 4 - MP3 & JAZZ GROUPS
[mp3|jazz]
%CURRENT MUSIC FILE KEYWORD FLAGS
Score: 9999
Subject: norah jones|peter malick|diana?krall|krall?diana|guy*clark
Re: XNEWS - Scoring help - scorefile inside...
Author: »Q«
Date: Sat, 20 Mar 2004 16:01
Date: Sat, 20 Mar 2004 16:01
21 lines
1751 bytes
1751 bytes
"Homer S." <homey@doh.com> wrote in <news:Xns94B264145C5A3Homer@130.81.64.196>: > Have read until eyes are bleeding - can't see/find the answer. How > do I (or can I) use * and ? in subject line filter? If not, what > is solution? What you were expecting * to do, you actually need .* for. And what you were expecting ? to do, you need . or .? for. . matches any single character .* matches a string of any characters, including the emtpy string .? matches a single character or the empty string What you seek is in scoring.txt and pcre.html, both in your Xnews directory. If you've read those and still have questions, please post back. -- �Q�
Re: XNEWS - Scoring help - scorefile inside...
Author: DC
Date: Sat, 20 Mar 2004 21:02
Date: Sat, 20 Mar 2004 21:02
18 lines
1509 bytes
1509 bytes
Homer S. wrote: [...] Is this your domain? http://www.doh.com/ If not, please read... http://members.aol.com/emailfaq/mungfaq.html ...paying particular attention to this: http://members.aol.com/emailfaq/mungfaq.html#how-not-mung -- DC Registered Linux User #1000111011000111001 Why I love Open Source: http://support.microsoft.com/?kbid=111601
Re: XNEWS - Scoring help - scorefile inside...
Author: Homer S.
Date: Sat, 20 Mar 2004 21:08
Date: Sat, 20 Mar 2004 21:08
52 lines
3037 bytes
3037 bytes
�Q� <boxcars@gmx.net> spewed sizeable chunks in �news:MrQ94B265F9A3B0DitsmeitsQ@QsFQDN.dyndns.org: > "Homer S." <homey@doh.com> wrote in > <news:Xns94B264145C5A3Homer@130.81.64.196>: > >> Have read until eyes are bleeding - can't see/find the answer. >> How do I (or can I) use * and ? in subject line filter? If not, >> what is solution? > > What you were expecting * to do, you actually need .* for. And > what you were expecting ? to do, you need . or .? for. > > . matches any single character > .* matches a string of any characters, including the emtpy > string .? matches a single character or the empty string > > What you seek is in scoring.txt and pcre.html, both in your > Xnews directory. If you've read those and still have questions, > please post back. > Thanks for the response. VERY HELPFUL! I went back to score.ini and pcre.html to see what I missed. I did find two examples of the use of ".*", but no real explanation of what it does - certianly not the eloquent explanation you give. As for ".?", I don't see that in either. I'll look again when my eyes heal, but if it is there, It's buried in jargon and innuendo. Nonetheless, it does work. However, I am still having difficulty figuring out why my filter to kill request messages (starts with "req" and lines = less than 20) isn't working. It seems to want to kill pretty much anything that has "req" in it without any regard whatsoever for the ~Lines= 20 section. It even kills a few others that don't seem to match req at all. This, in spite of the fact that I have used the AND option as indicated with only one ":" after "Score:" Previously, it had several subject strings, using the | separator, but I removed those to simplify it. (Can one even use the | separator when doing an AND filter?) Now, it says: [.] Score: -9999 Subject: ^req.* ~Lines: 20 This isn't working. It is killing a lot of shit and seems ot disregard the Lines command.
Re: XNEWS - Scoring help - scorefile inside...
Author: Murray Peterson
Date: Sat, 20 Mar 2004 22:37
Date: Sat, 20 Mar 2004 22:37
27 lines
1925 bytes
1925 bytes
"Homer S." <homey@doh.com> wrote in news:Xns94B2A29B72E9FHomer@130.81.64.196: > [.] > Score: -9999 > Subject: ^req.* > ~Lines: 20 > > > This isn't working. It is killing a lot of shit and seems ot > disregard the Lines command. > I tried this out -- it works as it should. About the only thing that you might change is to remove the ".*" from the end of "^req.*". If you match the "^req", then there is no need to specify the remainder of the characters. e.g. "^req" wil match "request form an admirer" just as well as the "^req.*", and with a lot less work on Xnews' part. As far as your problem, it is likely another score entry causing you grief. Create a score file with just this entry in it, and test that way. -- Murray Peterson Email: murray_peterson@shaw.ca (remove underscore) URL: http://members.shaw.ca/murraypeterson/
Re: XNEWS - Scoring help - scorefile inside...
Author: Tech Zero
Date: Sun, 21 Mar 2004 10:39
Date: Sun, 21 Mar 2004 10:39
38 lines
2160 bytes
2160 bytes
The voice of "Homer S." drifted in on the cyber-winds,
from the sea of virtual chaos...
> Nonetheless, it does work. However, I am still having difficulty
> figuring out why my filter to kill request messages (starts with
> "req" and lines = less than 20) isn't working.
>
> It seems to want to kill pretty much anything that has "req" in it
> without any regard whatsoever for the ~Lines= 20 section. It even
> kills a few others that don't seem to match req at all. This, in
> spite of the fact that I have used the AND option as indicated with
> only one ":" after "Score:"
>
> [.]
> Score: -9999
> Subject: ^req.*
> ~Lines: 20
I'm seeing
- if subject starts with req
- and it doesn't have 20 or more lines
Try reversing things, by testing for the # of lines first...
Something like I use to use for MP3 groups:
Score: -5000
Lines: -1000
~Subject: 0 of|image|scan|\.(jpe?g|gif|mp3|png|sfv|zip|txt)\b
Essentially it reads:
- If the massage has less then 100 lines
- and doesn't have {this} in the subject
--
The Tech Zero, Maxwell Pollare - Lost in the keys of Xnews
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