Thread View: news.software.readers
11 messages
11 total messages
Started by John Fitzsimons
Tue, 14 Oct 2003 02:45
Dialog searching/filtering query.
Author: John Fitzsimons
Date: Tue, 14 Oct 2003 02:45
Date: Tue, 14 Oct 2003 02:45
26 lines
1570 bytes
1570 bytes
Sometimes people forget to put Dialog or 40tude in headers. I would like to find all posts that have either in any header, OR body. Or, as I want to delete anything that doesn't then have some way to delete those. The regex at the top of the articles pane only seems to work on ; Subject From Date MsgId Lines Score Age. I don't want any of those. I want them all. Also, am I correct in thinking there is no "body" filtering there ? Presumably a script could be written to do this. Could someone tell me the correct syntax please ? Find all posts that have dialog AND/OR 40tude in ANY header, AND/OR body. Delete the rest. Regards, John.
Re: Dialog searching/filtering query.
Author: Enrico C
Date: Tue, 14 Oct 2003 09:55
Date: Tue, 14 Oct 2003 09:55
23 lines
1757 bytes
1757 bytes
A certain John Fitzsimons, of news.software.readers, writes: > Sometimes people forget to put Dialog or 40tude in headers. I would like to > find all posts that have either in any header, OR body. Or, as I want to snip > Presumably a script could be written to do this. Could someone tell me the > correct syntax please ? I don't how to do that by a Dialog script, bu I *do* filter on Subject *and* Body using Hamster before Dialog :) Hamster is a local News/Mail Server: http://tglsoft.de/misc/hamster_en.htm -- Enrico C "Let's munch out on a large pizza!" munch out: to eat voraciously (c) Dave's ESL Cafe Slang
Re: Dialog searching/filtering query.
Author: Lars Biskupek
Date: Tue, 14 Oct 2003 15:53
Date: Tue, 14 Oct 2003 15:53
6 lines
1249 bytes
1249 bytes
*John Fitzsimons*, 14.10.2003: > Am I correct in thinking there is no "body" filtering there ? Yes, you're right.
Re: Dialog searching/filtering query.
Author: John Fitzsimons
Date: Wed, 15 Oct 2003 00:57
Date: Wed, 15 Oct 2003 00:57
12 lines
1384 bytes
1384 bytes
On Tue, 14 Oct 2003 17:53:58 +0200, Lars Biskupek wrote: > *John Fitzsimons*, 14.10.2003: >> Am I correct in thinking there is no "body" filtering there ? > Yes, you're right. Okay, not there, BUT cannot a "script" filter incoming posts depending on data found in the body of the posts ? Regards, John.
Re: Dialog searching/filtering query.
Author: John Fitzsimons
Date: Wed, 15 Oct 2003 00:57
Date: Wed, 15 Oct 2003 00:57
25 lines
1962 bytes
1962 bytes
On Tue, 14 Oct 2003 11:55:41 +0200, Enrico C wrote: > A certain John Fitzsimons, of news.software.readers, writes: >> Sometimes people forget to put Dialog or 40tude in headers. I would like to >> find all posts that have either in any header, OR body. Or, as I want to > snip >> Presumably a script could be written to do this. Could someone tell me the >> correct syntax please ? > I don't how to do that by a Dialog script, bu I *do* filter on > Subject *and* Body using Hamster before Dialog :) > Hamster is a local News/Mail Server: > http://tglsoft.de/misc/hamster_en.htm I use Hamster BUT as I only want this filtering to apply in Dialog and not Agent, or other newsreaders I am using, I wanted DIALOG to do the finding/filtering. This is simple in Agent. It is a great pity it isn't in Dialog. :-( Regards, John.
Re: Dialog searching/filtering query.
Author: Alain GUERIN
Date: Wed, 15 Oct 2003 05:01
Date: Wed, 15 Oct 2003 05:01
15 lines
1762 bytes
1762 bytes
Hello, On Wed, 15 Oct 2003 10:57:49 +1000, John Fitzsimons wrote: > > Okay, not there, BUT cannot a "script" filter incoming posts depending on > data found in the body of the posts ? Yes, it can, but it's blocking as you can hardly do anything else that does not interfere with the script and it is a bit time consuming. -- A.G.
Re: Dialog searching/filtering query.
Author: Enrico C
Date: Wed, 15 Oct 2003 07:51
Date: Wed, 15 Oct 2003 07:51
64 lines
3351 bytes
3351 bytes
A certain John Fitzsimons, of news.software.readers, writes:
> On Tue, 14 Oct 2003 11:55:41 +0200, Enrico C wrote:
>
>> A certain John Fitzsimons, of news.software.readers, writes:
>
>>> Sometimes people forget to put Dialog or 40tude in headers. I would like to
>>> find all posts that have either in any header, OR body. Or, as I want to
>
>> snip
>
>>> Presumably a script could be written to do this. Could someone tell me the
>>> correct syntax please ?
>
>> I don't how to do that by a Dialog script, bu I *do* filter on
>> Subject *and* Body using Hamster before Dialog :)
>
>> Hamster is a local News/Mail Server:
>> http://tglsoft.de/misc/hamster_en.htm
>
> I use Hamster BUT as I only want this filtering to apply in Dialog and not
> Agent, or other newsreaders I am using, I wanted DIALOG to do the
> finding/filtering.
Well, I know it's not exactly what you were asking for.
But, if you only want to *apply* Hamster filtering in Dialog, just let
Hamster set scores, then have Dialog filter by Hamster's scores,
using the "X-Hamster-Info" header content. Just like a chain :)
Here it is step by step.
In the Hamster Scores file, set your rules, such as
| [news.software.readers]
| =+20 Subject: {\b(40tude|Dialog)\b}
| ?=+10 Body: {\b(40tude|Dialog)\b}
those will score when Dialog or are found in the Subject or in the
Body.
Hamster adds to the message an "X-Hamster-Info" header like this
| X-Hamster-Info: Score=10 ScoreLoad=0 ScoreSave=10 Received=20031015085045
where
ScoreLoad is the Subject score
ScoreSave is the Body score,
Score is their sum.
Now, let's move to Dialog's Scoring&Actions.
| [news.software.readers]
| !watch Header "ScoreLoad=20" ### watch messages with Dialog in Subject
| !watch Header "ScoreSave=10" ### watch messages with Dialog in Body
Or you can use other Dialog actions or scoring as you like, of course.
--
Enrico C
40tude Dialog Italy Cafe
http://www.lillathedog.net/dialog/
Re: Dialog searching/filtering query.
Author: John Fitzsimons
Date: Wed, 15 Oct 2003 23:32
Date: Wed, 15 Oct 2003 23:32
33 lines
2321 bytes
2321 bytes
On 15 Oct 2003 07:51:07 GMT, Enrico C wrote: > A certain John Fitzsimons, of news.software.readers, writes: < snip > >>>> Sometimes people forget to put Dialog or 40tude in headers. I would like to >>>> find all posts that have either in any header, OR body. < snip > > Well, I know it's not exactly what you were asking for. > But, if you only want to *apply* Hamster filtering in Dialog, just let > Hamster set scores, then have Dialog filter by Hamster's scores, > using the "X-Hamster-Info" header content. Just like a chain :) > Here it is step by step. < snip > Very clever. Thanks for the "step by step". I thought however that Hamster scripting could be inserted directly into Dialog. Can some, but not all, Hamster scripting be applied ? My preference however is still to be able to do this in Dialog rather than Hamster. In Dialog I might sometimes access Hamster and at other times access a news server directly. Not a problem if the filter is in Dialog but it could be if in Hamster. Lastly, your solution, though very good doesn't address the issue of current posts that I already have in Dialog and need purging. Regards, John.
Re: Dialog searching/filtering query.
Author: John Fitzsimons
Date: Wed, 15 Oct 2003 23:32
Date: Wed, 15 Oct 2003 23:32
32 lines
2194 bytes
2194 bytes
On Wed, 15 Oct 2003 07:01:31 +0200, Alain GUERIN wrote: > On Wed, 15 Oct 2003 10:57:49 +1000, John Fitzsimons wrote: < snip > >> Okay, not there, BUT cannot a "script" filter incoming posts depending on >> data found in the body of the posts ? > Yes, it can, but it's blocking Sorry. I don't know what you mean by that. Is it blocked in Dialog ? Or simply not recommended ? If the latter then please see below. > as you can hardly do anything else that does > not interfere with the script and it is a bit time consuming. Well, I am not bothered by the time factor, OR it stopping my doing other things on the computer. I am happy to do something else NOT on the computer while this is done. So.... Can I find all posts that have either Dialog or 40tude in any header, OR body, in this newsgroup via a Dialog script ? Or better still can I find/delete everything that does not fit that criteria ? The syntax for either/both would be much appreciated. Regards, John.
Re: Dialog searching/filtering query.
Author: Alain GUERIN
Date: Fri, 17 Oct 2003 03:28
Date: Fri, 17 Oct 2003 03:28
35 lines
2685 bytes
2685 bytes
Hello, On Thu, 16 Oct 2003 09:32:15 +1000, John Fitzsimons wrote: > >> Yes, it can, but it's blocking > > Sorry. I don't know what you mean by that. Is it blocked in Dialog ? Or > simply not recommended ? If the latter then please see below. It does not block Dialog, but when this kind of script is running you can go and see if the flowers are always so nice ;-) >> as you can hardly do anything else that does >> not interfere with the script and it is a bit time consuming. > > Well, I am not bothered by the time factor, OR it stopping my doing other > things on the computer. I am happy to do something else NOT on the computer > while this is done. In that case, in Wiki, you can find and adapt a script called "Group Message Analyser" and, if you want not repeat the analysis on all messages, there is an example on how to work only on messages between two dates in the script "Not Answered Post Detection". But I don't think it is a workable solution. It's probably faster, easier and safer to install and use Hamster. > The syntax for either/both would be much appreciated. It is let as an exercise to the reader ;-) -- A.G.
Re: Dialog searching/filtering query.
Author: John Fitzsimons
Date: Sat, 18 Oct 2003 01:22
Date: Sat, 18 Oct 2003 01:22
39 lines
2491 bytes
2491 bytes
On Fri, 17 Oct 2003 05:28:30 +0200, Alain GUERIN wrote: > Hello, > > On Thu, 16 Oct 2003 09:32:15 +1000, John Fitzsimons wrote: < snip > >> Well, I am not bothered by the time factor, OR it stopping my doing other >> things on the computer. I am happy to do something else NOT on the computer >> while this is done. > In that case, in Wiki, you can find and adapt a script called "Group Message > Analyser" In theory. Thanks. But I don't think I would be able to change the script to do what I am wanting. > and, if you want not repeat the analysis on all messages, there is > an example on how to work only on messages between two dates in the > script "Not Answered Post Detection". Thanks. A "date period" search would be handy. Date data searching/display is IMO a major strength of Fialog. > But I don't think it is a workable > solution. It's probably faster, easier and safer to install and use Hamster. < snip > Of the two options. You are probably right. Another way is to do it in Agent. Finding all posts with "Dialog" in the body, or header, is very simple. Exporting all my posts from Dialog into Agent, searching, then importing the results back into Dialog should, at least in theory be "doable". :-) Regards, John.
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