🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
7 messages
7 total messages Started by Tom Tue, 09 Dec 2003 01:55
[Xnews] Any way to automatically kill ...
#138936
Author: Tom
Date: Tue, 09 Dec 2003 01:55
2 lines
1461 bytes
... articles containing a particular string within the subject line?  The 
string could be a subset rather than the entire subject line.
Re: [Xnews] Any way to automatically kill ...
#138935
Author: Homer Simpson
Date: Tue, 09 Dec 2003 02:22
33 lines
2083 bytes
Tom bellowed in an authoritative tone:

> ... articles containing a particular string within the subject line? 
> The string could be a subset rather than the entire subject line.
> 

I'm NO guru but I'll take a shot.

This, in my score.ini file seems to kill your thread 
(no offense intended)  ;-)

#################
    % generated by Xnews on Mon 08 Dec 2003 09:07:13p
    Score:: -9999
        Expires: 1/7/2004
        Subject: .any.
#################

I did this by:

1. Article|add_to_file  
2. select kill in section2
3. Select the subject field (and deselect any other fields)
4. edit the line showing the "thread title" to .and.
5. apply

This .and. is a bit encompassing of course.   ;-)

HTH

-- 
Die einzig intuitive Benutzeroberflaeche ist die weibliche Brust.
Alles andere ist angelerntes Verhalten. 
Re: [Xnews] Any way to automatically kill ...
#138942
Author: dkg_ctc
Date: Tue, 09 Dec 2003 06:21
26 lines
1789 bytes
Homer Simpson <Homer.Simpson@fox.com> wrote in 
news:Xns944BD94F4D607Home@204.127.204.17:

> #################
>     % generated by Xnews on Mon 08 Dec 2003 09:07:13p
>     Score:: -9999
>         Expires: 1/7/2004
>         Subject: .any.
> #################
> 
> I did this by:
> 
> 1. Article|add_to_file  
> 2. select kill in section2
> 3. Select the subject field (and deselect any other fields)
> 4. edit the line showing the "thread title" to .and.
> 5. apply
> 
> This .and. is a bit encompassing of course.   ;-)

It should be pointed out that .and. won't (I believe) match and at the 
beginning of the subject.  The best way to block all subjects with 
"and" in the subject would just be to do

Score: -9999
 Subject: and
Re: [Xnews] Any way to automatically kill ...
#138966
Author: Tech Zero
Date: Tue, 09 Dec 2003 18:18
28 lines
1765 bytes
The voice of "dkg_ctc" drifted in on the cyber-winds, 
from the sea of virtual chaos...

> It should be pointed out that .and. won't (I believe) match and at
> the beginning of the subject.  The best way to block all subjects
> with "and" in the subject would just be to do
> 
> Score: -9999
>  Subject: and


True, but "and" will also catch "sanders" and "bands"...

For short words you can encase then in some sort of a word boundary to 
prevent this, like:

  Score: -9999
     Subject: \band\b

You can also string several together:

  Score: -9999
     Subject: \b(and|or|not|vs)\b

Check in the manual.html and prce.html for other word boundaries.

-- 
The Tech Zero, Maxwell Pollare - Lost in the keys of Xnews...
Re: [Xnews] Any way to automatically kill ...
#138970
Author: dkg_ctc
Date: Tue, 09 Dec 2003 20:41
33 lines
2093 bytes
Tech Zero <spamnet-dec@dragonfur.ca> wrote in
news:Xns944C72EBCDBC4ZeroOne@news.fu-berlin.de: 

> The voice of "dkg_ctc" drifted in on the cyber-winds, 
> from the sea of virtual chaos...
> 
>> It should be pointed out that .and. won't (I believe) match and
>> at the beginning of the subject.  The best way to block all
>> subjects with "and" in the subject would just be to do
>> 
>> Score: -9999
>>  Subject: and
> 
> 
> True, but "and" will also catch "sanders" and "bands"...

Yep, that's true...I thought of that about ten seconds after posting, 
but it was too late for me to reply.

> For short words you can encase then in some sort of a word
> boundary to prevent this, like:
> 
>   Score: -9999
>      Subject: \band\b
> 
> You can also string several together:
> 
>   Score: -9999
>      Subject: \b(and|or|not|vs)\b
> 
> Check in the manual.html and prce.html for other word boundaries.

Yep, I generally use \W, but \b seems to work too.
Re: [Xnews] Any way to automatically kill ...
#138973
Author: Homer Simpson
Date: Tue, 09 Dec 2003 21:52
28 lines
1982 bytes
Tech Zero bellowed in an authoritative tone:
> For short words you can encase then in some sort of a word boundary to 
> prevent this, like:
> 
>   Score: -9999
>      Subject: \band\b
> 
> You can also string several together:
> 
>   Score: -9999
>      Subject: \b(and|or|not|vs)\b

So this will look for the presence of ONE of the following "words":
and or not vs

correct?

> 
> Check in the manual.html and prce.html for other word boundaries.

I've done this.  It's very confusing to me.  But it's coming....   ;-) 

thx


-- 
Die einzig intuitive Benutzeroberflaeche ist die weibliche Brust.
Alles andere ist angelerntes Verhalten. 
Re: [Xnews] Any way to automatically kill ...
#139100
Author: Tech Zero
Date: Fri, 12 Dec 2003 06:17
24 lines
1610 bytes
The voice of "Homer Simpson" drifted in on the cyber-winds, 
from the sea of virtual chaos...

>> For short words you can encase then in some sort of a word
>> boundary to prevent this, like:
>> 
>>   Score: -9999
>>      Subject: \band\b
>> 
>> You can also string several together:
>> 
>>   Score: -9999
>>      Subject: \b(and|or|not|vs)\b
> 
> So this will look for the presence of ONE of the following
> "words": and or not vs
> 
> correct?


Yes...

-- 
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