🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
8 messages
8 total messages Started by Bo Stevens Sat, 13 Dec 2003 23:18
[Dialog] Scripts and Scoring and other problems
#139239
Author: Bo Stevens
Date: Sat, 13 Dec 2003 23:18
23 lines
2180 bytes
I am trying out the latest version of Dialog (2.0.8.1) and it seems pretty
good.   Unfortunately I am not able to get scripts working, nor have I been
able to get scoring to function. 

I followed the examples for the scoring rules and my rules test out OK in
the scoring window.  Yet, when I return to my newsgroups and select apply
scoring and actions on group nothing gets scored.  

I have also added two scripts from the Wiki page.  One is to retrieve an
article when it is clicked on, the other is to retrieve the headers when a
newsgroup is selected.  Neither work.  

I have compiled them in the script window and also selected
Settings->Scripting->Enabled Scripting.  Oddly, there is no indication
wether it is selected and enabled or not.

One last thing.  I prefer to have the headers window display only the
unread headers and have selected the message view for Unread messages. 
The problem is that when I return to the group it appears to have returned
to the default setting of all.

Thanks
Bo
Re: [Dialog] Scripts and Scoring and other problems
#139271
Author: Enrico Bauer
Date: Sun, 14 Dec 2003 09:35
41 lines
2727 bytes
14.12.2003 00:18:01, *Bo Stevens*:
> I followed the examples for the scoring rules and my rules test out OK in
> the scoring window.  Yet, when I return to my newsgroups and select apply
> scoring and actions on group nothing gets scored.  

_Test_

Copy to your score file:

[news.software.readers] #apply the following rules to this group
+999 From "bostevens@charter.net"

# Colours
!setcolor($9C5A00;default) From "bostevens@charter.net"

# invalid from address assumed
-60 From {(no|ab).*(spam|fcnz)} {@m[iy].*sig} {(remove|delete|cut).*this} {@invalid\.*}


Select news.software.readers an apply scoring. What happens?
 
> I have also added two scripts from the Wiki page.  One is to retrieve an
> article when it is clicked on, the other is to retrieve the headers when a
> newsgroup is selected. Neither work.  

Which scripts? How do you execute them?

> I have compiled them in the script window

And saved them?

> One last thing. I prefer to have the headers window display only the
> unread headers and have selected the message view for Unread messages. 
> The problem is that when I return to the group it appears to have returned
> to the default setting of all.

Try to open Dialog, do nothing else but changing the view to "only
unread" (Ctrl-F2) and close Dialog. Open it again. Now?

HTH
Enrico B.
Re: [Dialog] Scripts and Scoring and other problems
#139284
Author: Larry
Date: Sun, 14 Dec 2003 17:24
33 lines
2912 bytes
On Sat, 13 Dec 2003 17:18:01 -0600, Bo Stevens wrote:

> I am trying out the latest version of Dialog (2.0.8.1) and it seems pretty
> good.   Unfortunately I am not able to get scripts working, nor have I been
> able to get scoring to function. 
> 
> I followed the examples for the scoring rules and my rules test out OK in
> the scoring window.  Yet, when I return to my newsgroups and select apply
> scoring and actions on group nothing gets scored.  
> 
> I have also added two scripts from the Wiki page.  One is to retrieve an
> article when it is clicked on, the other is to retrieve the headers when a
> newsgroup is selected.  Neither work.  
> 
> I have compiled them in the script window and also selected
> Settings->Scripting->Enabled Scripting.  Oddly, there is no indication
> wether it is selected and enabled or not.
> 
> One last thing.  I prefer to have the headers window display only the
> unread headers and have selected the message view for Unread messages. 
> The problem is that when I return to the group it appears to have returned
> to the default setting of all.
> 
> Thanks
> Bo

On scripting, don't forget you HAVE to COMPILE the scripts before they will
function.  (Settings -> Scripting -> Scripting [write script] Script ->
Compile)  That isn't immediately obvious.  
-- 

Larry
email is rapp at lmr dot com
Re: [Dialog] Scripts and Scoring and other problems
#139285
Author: Bo Stevens
Date: Sun, 14 Dec 2003 17:28
17 lines
1897 bytes
On Sun, 14 Dec 2003 17:24:45 GMT, Larry wrote:

> On scripting, don't forget you HAVE to COMPILE the scripts before they will
> function.  (Settings -> Scripting -> Scripting [write script] Script ->
> Compile)  That isn't immediately obvious.

I discovered that altough I was compiling the scripts the problem was that
I did not have scripting enabled.  I noticed in the script editor a quick
message that kept popping up and was able to eventually determine what it
was saying.    I did see the menu item to enable scripting but for some
reason there is no indication when selected wether it was enabled or
disabled.   

Anyway, things are working now.  :-)

Thanks!
Bo
Re: [Dialog] Scripts and Scoring and other problems
#139287
Author: Bo Stevens
Date: Sun, 14 Dec 2003 17:33
30 lines
2299 bytes
On Sun, 14 Dec 2003 10:35:38 +0100, Enrico Bauer wrote:

> _Test_
> 
> Copy to your score file:
> 
> [news.software.readers] #apply the following rules to this group
> +999 From "bostevens@charter.net"
> 
> # Colours
> !setcolor($9C5A00;default) From "bostevens@charter.net"
> 
> # invalid from address assumed
> -60 From {(no|ab).*(spam|fcnz)} {@m[iy].*sig} {(remove|delete|cut).*this} {@invalid\.*}
> 
> 
> Select news.software.readers an apply scoring. What happens?

I was able to get scoring working when I removed regexes from the newsgroup
delimiters.  Coming from XNews it seemed perfectly natural to place
something like [^rec\.photo\.*] in the score file.  Dialog seems to accept
this and clicking on the test expressions button resulted in an OK message.  

I am slowly figuring out the differences between the regex engine in XNews
and the one in Dialog.   One thing though, it would sure be nice to see a
little more documentation in the area of scoring regarding what regex is
supported and where and how it can be used in the score file.

Thanks
Bo
Re: [Dialog] Scripts and Scoring and other problems
#139288
Author: Enrico Bauer
Date: Sun, 14 Dec 2003 17:35
9 lines
1606 bytes
14.12.2003 18:24:45, *Larry*:
> On Sat, 13 Dec 2003 17:18:01 -0600, Bo Stevens wrote:
>> I have compiled them in the script window [...]
> On scripting, don't forget you HAVE to COMPILE the scripts before they will
> function.

He said he did.

Enrico B.
Re: [Dialog] Scripts and Scoring and other problems
#139290
Author: Enrico Bauer
Date: Sun, 14 Dec 2003 17:38
11 lines
1745 bytes
14.12.2003 18:33:04, *Bo Stevens*:
> One thing though, it would sure be nice to see a little more
> documentation in the area of scoring regarding what regex is
> supported and where and how it can be used in the score file.

Klick this: dialog.chm::/scoringactionsyntax.htm
and this: dialog.chm::/regularexpressions.htm

HTH

Enrico B.
Re: [Dialog] Scripts and Scoring and other problems
#139292
Author: Bo Stevens
Date: Sun, 14 Dec 2003 17:49
17 lines
1801 bytes
On Sun, 14 Dec 2003 18:38:20 +0100, Enrico Bauer wrote:

> 14.12.2003 18:33:04, *Bo Stevens*:
>> One thing though, it would sure be nice to see a little more
>> documentation in the area of scoring regarding what regex is
>> supported and where and how it can be used in the score file.
> 
> Klick this: dialog.chm::/scoringactionsyntax.htm
> and this: dialog.chm::/regularexpressions.htm
> 
> HTH
> 
> Enrico B.

Thanks!

Bo
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