Thread View: news.software.readers
16 messages
16 total messages
Started by Steve Wertz
Mon, 08 May 2006 23:58
[Dialog] Killing crossposts to certain groups
Author: Steve Wertz
Date: Mon, 08 May 2006 23:58
Date: Mon, 08 May 2006 23:58
22 lines
1826 bytes
1826 bytes
I was under the impression that I could delete everything cross-posted to a certain group with something like: [sci.med.cardiology] !delete Message-ID * [aus.food] !delete Message-ID * [alt.religion.kibology] !delete Message-ID * But those don't seem to work. What is the correct sybtax for this? Also, is there a good reference/tutorial/examples for creating Dialog filters? The help file isn't much. Regular expressions are no problem, it's just the techniques for Dialog I'm having trouble with. -sw
Re: [Dialog] Killing crossposts to certain groups
Author: Blinky the Shark
Date: Tue, 09 May 2006 00:48
Date: Tue, 09 May 2006 00:48
34 lines
2062 bytes
2062 bytes
Steve Wertz wrote: > I was under the impression that I could delete everything > cross-posted to a certain group with something like: > > > [sci.med.cardiology] > !delete Message-ID * > > [aus.food] > !delete Message-ID * > > [alt.religion.kibology] > !delete Message-ID * I don't do Dialog, but it seems like those (if "*" is the correct syntax for Dialog) would delete them in the specified groups, which I presume you're not reading (and therefore not testing by looking in). > But those don't seem to work. What is the correct sybtax for > this? Perhaps you could filter on (psudocode -- LIS, I don't do Dialog): [*] Xref includes [group1|group2|group3|...] (Or list each groupn as a seprate line; whatever Dialog needs.) -- Blinky RLU 297263 Killing all posts from Google Groups The Usenet Improvement Project: http://blinkynet.net/comp/uip5.html Coming Soon: Filtering rules specific to various real news clients
Re: [Dialog] Killing crossposts to certain groups
Author: Korbinian Abenthum
Date: Tue, 09 May 2006 20:38
Date: Tue, 09 May 2006 20:38
29 lines
2316 bytes
2316 bytes
Steve Wertz wrote:
> I was under the impression that I could delete everything
> cross-posted to a certain group with something like:
>
> [sci.med.cardiology]
> !delete Message-ID *
Am I correct in assuming that you haven't subscribed sci.med.cardiology?
> But those don't seem to work. What is the correct sybtax for
> this?
AFAICT the section headers in the scorefile are matched with the group where
the message is put into, not with the complete Newsgroups header.
I'd suggest something like:
| !delete Header {(?-s)^Newsgroups:.*(,| )sci\.med\.cardiology(,|$)}
(untested)
> Also, is there a good reference/tutorial/examples for creating
> Dialog filters? The help file isn't much.
Right, but it should give you the headers and pseudoheaders you can score
on. And have you noticed the tab with examples in the "scoring and actions"
dialog?
--
"When the dead come walking, do you think it matters
who sits the Iron Throne?"
Re: [Dialog] Killing crossposts to certain groups
Author: saur
Date: Tue, 09 May 2006 22:40
Date: Tue, 09 May 2006 22:40
11 lines
1311 bytes
1311 bytes
Steve Wertz <swertz@cluemail.compost> wrote:
> I was under the impression that I could delete everything
> cross-posted to a certain group with something like:
The following works for me:
[*] #apply the following rules to all groups
!delete Xref {alt.usenet.kooks} {alt.snuh}
Replace what's inside the { } with your group names.
Re: [Dialog] Killing crossposts to certain groups
Author: Korbinian Abenthum
Date: Tue, 09 May 2006 23:40
Date: Tue, 09 May 2006 23:40
20 lines
2144 bytes
2144 bytes
saur wrote:
> Steve Wertz <swertz@cluemail.compost> wrote:
>> I was under the impression that I could delete everything
>> cross-posted to a certain group with something like:
> The following works for me:
>
> [*] #apply the following rules to all groups
> !delete Xref {alt.usenet.kooks} {alt.snuh}
Ah, much better than what I suggested, I always forget Xref since I'm using
Hamster and it changes that header for me.
You can BTW use quotation marks instead of curly braces if you don't use any
regex features, it should be a tiny bit faster :)
--
Outside the wind was sending armies of dead leaves marching across the
courtyards to scratch faintly at the doors and windows.
Re: [Dialog] Killing crossposts to certain groups
Author: saur
Date: Tue, 09 May 2006 23:52
Date: Tue, 09 May 2006 23:52
23 lines
2012 bytes
2012 bytes
Korbinian Abenthum <korbinian@gmx.de> wrote:
> saur wrote:
>> Steve Wertz <swertz@cluemail.compost> wrote:
>
>>> I was under the impression that I could delete everything
>>> cross-posted to a certain group with something like:
>
>> The following works for me:
>>
>> [*] #apply the following rules to all groups
>> !delete Xref {alt.usenet.kooks} {alt.snuh}
>
> Ah, much better than what I suggested, I always forget Xref since I'm using
> Hamster and it changes that header for me.
>
> You can BTW use quotation marks instead of curly braces if you don't use any
> regex features, it should be a tiny bit faster :)
Also if my news server doesn't carry the group I want filtered, it can't
appear in the Href line. You're stuck using a "Header" filter and that only
works after you've downloaded the body of the article. Href works when you
first download headers to mark for later retrieval.
Re: [Dialog] Killing crossposts to certain groups
Author: Steve Wertz
Date: Wed, 10 May 2006 00:47
Date: Wed, 10 May 2006 00:47
50 lines
2914 bytes
2914 bytes
On Tue, 9 May 2006 22:38:42 +0200, Korbinian Abenthum wrote:
> Steve Wertz wrote:
>> I was under the impression that I could delete everything
>> cross-posted to a certain group with something like:
>>
>> [sci.med.cardiology]
>> !delete Message-ID *
>
> Am I correct in assuming that you haven't subscribed sci.med.cardiology?
Or aus.food, or ARK.
>
>> But those don't seem to work. What is the correct sybtax for
>> this?
>
> AFAICT the section headers in the scorefile are matched with the group where
> the message is put into, not with the complete Newsgroups header.
That would explain why they don't work, then.
> I'd suggest something like:
> | !delete Header {(?-s)^Newsgroups:.*(,| )sci\.med\.cardiology(,|$)}
> (untested)
I was hoping for a way to kill them before the article is
retrieved, but if that's as good as it gets...
Thanks.
> Right, but it should give you the headers and pseudoheaders you can score
> on. And have you noticed the tab with examples in the "scoring and actions"
> dialog?
Yeah - I've seen that, but it's not much help for my problem.
Nor any example of using wildcards. For example, will:
!delete Subject "OT"
Would that match "OT" anywhere in the subject line, and is it
case senstive? And can I use "^OT*"? What are the reg-exp
delimiters?
And then they also give an example of filtering on Subject that
doesn't use double-quotes. What's the difference if I use quotes
or not?
Stuff like that I need help with.
-sw
Re: [Dialog] Killing crossposts to certain groups
Author: Steve Wertz
Date: Wed, 10 May 2006 00:49
Date: Wed, 10 May 2006 00:49
28 lines
2249 bytes
2249 bytes
On Wed, 10 May 2006 01:40:25 +0200, Korbinian Abenthum wrote:
> saur wrote:
>> Steve Wertz <swertz@cluemail.compost> wrote:
>
>>> I was under the impression that I could delete everything
>>> cross-posted to a certain group with something like:
>
>> The following works for me:
>>
>> [*] #apply the following rules to all groups
>> !delete Xref {alt.usenet.kooks} {alt.snuh}
>
> Ah, much better than what I suggested, I always forget Xref since I'm using
> Hamster and it changes that header for me.
>
> You can BTW use quotation marks instead of curly braces if you don't use any
> regex features, it should be a tiny bit faster :)
OK, regex's need to put in braces. So:
!delete subject {^OT}
Would delete any post who's subject begins with "OT"
(capitalized)?
Thanks again :-)
-sw
Re: [Dialog] Killing crossposts to certain groups
Author: Steve Wertz
Date: Wed, 10 May 2006 00:57
Date: Wed, 10 May 2006 00:57
25 lines
2172 bytes
2172 bytes
On Wed, 10 May 2006 01:40:25 +0200, Korbinian Abenthum wrote:
> saur wrote:
>> The following works for me:
>>
>> [*] #apply the following rules to all groups
>> !delete Xref {alt.usenet.kooks} {alt.snuh}
>
> Ah, much better than what I suggested, I always forget Xref since I'm using
> Hamster and it changes that header for me.
>
> You can BTW use quotation marks instead of curly braces if you don't use any
> regex features, it should be a tiny bit faster :)
OK, another question: If I use the curly braces, is the dot (.)
taken literally or as a wildecard? Wouldn't that also match
"alt.usenetskooks"?
And how do I match case without having to do something like:
[Ss][Pp][Aa][Mm]?
TIA for your patience.
-sw
Re: [Dialog] Killing crossposts to certain groups
Author: Korbinian Abenthum
Date: Wed, 10 May 2006 01:01
Date: Wed, 10 May 2006 01:01
34 lines
2382 bytes
2382 bytes
Steve Wertz wrote:
> On Tue, 9 May 2006 22:38:42 +0200, Korbinian Abenthum wrote:
>> Steve Wertz wrote:
>> I'd suggest something like:
>>| !delete Header {(?-s)^Newsgroups:.*(,| )sci\.med\.cardiology(,|$)}
>> (untested)
> I was hoping for a way to kill them before the article is
> retrieved, but if that's as good as it gets...
You've seen saur's answer of course, so this is mostly obsolete.
>> Right, but it should give you the headers and pseudoheaders you can score
>> on. And have you noticed the tab with examples in the "scoring and actions"
>> dialog?
> Yeah - I've seen that, but it's not much help for my problem.
> Nor any example of using wildcards. For example, will:
>
> !delete Subject "OT"
>
> Would that match "OT" anywhere in the subject line,
Yes
> and is it case senstive?
AFAICT it is not.
--
"Don't he like girls?"
"He's just stupid. He likes to polish helmets and beat on swords
with hammers."
Re: [Dialog] Killing crossposts to certain groups
Author: Korbinian Abenthum
Date: Wed, 10 May 2006 01:03
Date: Wed, 10 May 2006 01:03
20 lines
1836 bytes
1836 bytes
Steve Wertz wrote:
> OK, regex's need to put in braces. So:
>
> !delete subject {^OT}
>
> Would delete any post who's subject begins with "OT"
Yes.
> (capitalized)?
No.
See dialog.chm::/regularexpressions.htm
If you want it not to ignore case, use
| !delete subject {(?-i)^OT}
--
We will fight a battle, and then we'll rest. Alive or dead, we'll rest.
Re: [Dialog] Killing crossposts to certain groups
Author: Korbinian Abenthum
Date: Wed, 10 May 2006 01:06
Date: Wed, 10 May 2006 01:06
26 lines
2135 bytes
2135 bytes
Steve Wertz wrote: > OK, another question: If I use the curly braces, is the dot (.) > taken literally or as a wildecard? Wildcard, since that's the use in regular expressions. > Wouldn't that also match "alt.usenetskooks"? Yes, it would. If you can't live with that, either use quotation marks (should be enough in the scoring action above) or escape the dot with a backslash: \. > And how do I match case without having to do something like: > [Ss][Pp][Aa][Mm]? By default, case is ignored. You can turn it off with the (?-i) switch, typically at the beginning of your regex. > TIA for your patience. np. -- "I think he is a giant come among us, here at the end of the world."
Re: [Dialog] Killing crossposts to certain groups
Author: Steve Wertz
Date: Wed, 10 May 2006 02:59
Date: Wed, 10 May 2006 02:59
39 lines
2742 bytes
2742 bytes
On Wed, 10 May 2006 03:06:13 +0200, Korbinian Abenthum wrote:
> Steve Wertz wrote:
>
>> OK, another question: If I use the curly braces, is the dot (.)
>> taken literally or as a wildecard?
>
> Wildcard, since that's the use in regular expressions.
>
>> Wouldn't that also match "alt.usenetskooks"?
>
> Yes, it would. If you can't live with that, either use quotation marks
> (should be enough in the scoring action above) or escape the dot with a
> backslash: \.
>
>> And how do I match case without having to do something like:
>> [Ss][Pp][Aa][Mm]?
>
> By default, case is ignored.
> You can turn it off with the (?-i) switch, typically at the beginning of
> your regex.
>
>> TIA for your patience.
>
> np.
Thanks for your help. I had seen the help section on Regular
Expressions, but it doesn't tell you that {} are the regexpo
delimters, and gives no examples of it. I also wasn't clear
whether there was an implied "*" before and after all literal
strings. I do see nopw that it doesn mention case, though.
And that URL to the help file you posted was of a format never
experienced by me :-)
Thanks again everyone. Youcleared a lot of confusion for me (not
always easy).
-sw
Re: [Dialog] Killing crossposts to certain groups
Author: mdnews
Date: Wed, 10 May 2006 07:23
Date: Wed, 10 May 2006 07:23
25 lines
2016 bytes
2016 bytes
Steve Wertz >
> Thanks for your help. I had seen the help section on Regular
> Expressions, but it doesn't tell you that {} are the regexpo
> delimters, and gives no examples of it.
Yes, that's right.
For me, too, I have found this by testing...
"xxx" is a literal string
{xxx} is Regex
> I also wasn't clear
To help you, you can test RegEx in Dialog in:
Help > Regular expression tester
but do not use {} in this dialog box
> whether there was an implied "*" before and after all literal
> strings. I do see nopw that it doesn mention case, though.
Dialog use Hamster filter system.
You can find more help on scoring by reading hamster help.
--
Marc - 10/05/2006 09:16:25
Re: [Dialog] Killing crossposts to certain groups
Author: Jernej
Date: Wed, 10 May 2006 10:58
Date: Wed, 10 May 2006 10:58
11 lines
1659 bytes
1659 bytes
on Tue, 9 May 2006 18:40:14 -0400, saur wrote:
> !delete Xref {alt.usenet.kooks} {alt.snuh}
Wouldn't a !ignore,markread rule be better here - so you wouln't have to
see the replies to such posts even if they don't go to those grups anymore.
--
begin .sig
< Jernej Simon+AQ0-i+AQ0- ><>+Jco-<>< jernej simoncic at isg si >
end
Re: [Dialog] Killing crossposts to certain groups
Author: saur
Date: Wed, 10 May 2006 21:44
Date: Wed, 10 May 2006 21:44
13 lines
1725 bytes
1725 bytes
Jernej Simonฤiฤ <jernej@deepthought.ena.invalid> wrote:
> on Tue, 9 May 2006 18:40:14 -0400, saur wrote:
>
>> !delete Xref {alt.usenet.kooks} {alt.snuh}
>
> Wouldn't a !ignore,markread rule be better here - so you wouln't have to
> see the replies to such posts even if they don't go to those grups anymore.
How many people who reply trim the newsgroups line? If in the groups you
like, the regulars remove AUK and AS when replying, your suggestion could be
better. How long do you keep headers without bodies? As soon as you purge
the ignored headers, your suggestion won't work, either.
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