🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
7 messages
7 total messages Started by Vladimir Svrkota Sun, 16 May 2004 08:15
[Dialog] Score and action on XPost "header"
#148355
Author: Vladimir Svrkota
Date: Sun, 16 May 2004 08:15
16 lines
1800 bytes
I selected "Settings -> Scoring and actions" and typed the following
lines:

[*]
-100 XPost anything

where "anything" means I typed random letters, words and/or numbers.
Then I clicked on "Test expression" and got "Scoring syntax OK".

Is this a bug or "feature" ;) ? Does XPost scoring actually work?

Almost forgot: it's 2.0.12.1 (beta 35), but I noticed the same behaviour
in earlier versions.

-- 
CRIPPLE FIGHT!!!
Re: [Dialog] Score and action on XPost "header"
#148462
Author: Marko37
Date: Mon, 17 May 2004 21:26
17 lines
1691 bytes
Vladimir Svrkota napisa:

> -100 XPost anything
> 
> where "anything" means I typed random letters, words and/or numbers.
> Then I clicked on "Test expression" and got "Scoring syntax OK".

Pa sintaksa je ok. Što ne znači da je i pravilo važeće... :)

> Is this a bug or "feature" ;) ? Does XPost scoring actually work?

Pa probaj. :)
BTW šta će tebi Linuxašu Dialog? :)

-- 
In the computer industry, there are three kinds of lies: lies, damn lies,
and benchmarks.
Re: [Dialog] Score and action on XPost "header"
#148513
Author: Vladimir Svrkota
Date: Tue, 18 May 2004 20:58
23 lines
2192 bytes
Marko37 wrote:

> Pa sintaksa je ok. Što ne znači da je i pravilo važeće... :)

Well, kinda makes sence ;). But anyhow, if I type:

-100 Xpost hamburger with extra cheese

where instead of "hamburger", according to help file, it was supposed to
be something like "%>3", Dialog could at least tell me "I didn't expect
a hamburger" ;), instead of "Scoring syntax OK". See what I mean?

Another thing, considering this topic: Xpost scoring simply doesn't
work. I tried Dialog locally with Hamster and none of crossposted
articles got scored.

> BTW šta će tebi Linuxašu Dialog? :)

After three years of intensive use, I finally dropped Linux a few months
ago. Phew... What a relief.

-- 
(c)1982 Sinclair Research Ltd.
Re: [Dialog] Score and action on XPost "header"
#148660
Author: Antonio 'Gandalf' Favata
Date: Sat, 22 May 2004 02:46
34 lines
3115 bytes
Je la 18/05/04, Vladimir Svrkota skribis:

> Another thing, considering this topic: Xpost scoring simply doesn't
> work. I tried Dialog locally with Hamster and none of crossposted
> articles got scored.

Xpost works on Xref. Using Hamster, you'll have Xref only for the groups
you subscribed. It's late night and neither of us is English, so, let me
try with an example ;)

Say you download an article crossposted on n.s.r and comp.linux.advocacy
[if you didn't PLONK Jeff Relf that is :)] from the news.foo.bar server.

Its Xref would be like this:
|| Xref: news.foo.bar news.software.readers:12345 comp.linux.advocacy:67890
but let's say you subscribed just n.s.r on your Hamster.
Then Hamster would modify the headers this way:
|| X-Old-Xref: news.foo.bar news.software.readers:12345 comp.linux.advocacy:67890
|| Xref: localhost news.software.readers:123

Of course, Dialog won't use X-Old-Xref when evaluating Xpost rules, but
just Xref... which won't tell it anything about a former crosspost. BTW,
exactly the same thing would happen _also_ if news.foo.bar didn't carry
comp.linux.advocacy and your Dialog downloaded the article from it.

You can use a rule like e.g. this:
|| =-3 Header {^Newsgroups:\s([\w._-],){3,}}
to give a -3 score to articles with > 3 in the Newsgrop line, or similar
things: just edit the action/scoring and the number in {3,}.
-- 
Fare Well!      FIAG member | Free mail & news | 40tude Dialog v2.0.12.1
G               www.fiag.it | www.x-planet.org | http://snurl.com/dialog

Dialog, Agent, Pimmy, Xnews, Gravity... news:it.comp.software.newsreader
Re: [Dialog] Score and action on XPost "header"
#148675
Author: Antonio 'Gandalf' Favata
Date: Sat, 22 May 2004 06:41
13 lines
1849 bytes
Je la 22/05/04, Vladimir Svrkota skribis:

> -100 xpost %>3
> and none of articles posted to 4, 5, or 6 groups got scored.

Well, maybe you found some strange sort of bug; BTW, you should leave
the User-Agent header in its place :)
IME, Xpost has always worked [I used it before using Hamster]. 
-- 
Fare Well!      FIAG member | Free mail & news | 40tude Dialog v2.0.12.1
G               www.fiag.it | www.x-planet.org | http://snurl.com/dialog

Miranda, Trillian, ICQ, MSN: news:it-alt.comp.software.instant-messaging
Re: [Dialog] Score and action on XPost "header"
#148679
Author: Vladimir Svrkota
Date: Sat, 22 May 2004 07:34
16 lines
2079 bytes
Antonio 'Gandalf' Favata wrote:

> Of course, Dialog won't use X-Old-Xref when evaluating Xpost rules, but
> just Xref... which won't tell it anything about a former crosspost. BTW,

Yes, but... Perhaps it's my bad english. When I said I tried Dialog
localy with Hamster, I meant with LOCAL groups. I'm subscribed to all of
them and therefore there's no X-Old-Ref header. I had only one line in
my score file:

-100 xpost %>3

and none of articles posted to 4, 5, or 6 groups got scored.

-- 
Mr. Hankey the Christmass poo, small and brown, he comes from you...
Re: [Dialog] Score and action on XPost "header"
#148748
Author: Vladimir Svrkota
Date: Sun, 23 May 2004 16:07
26 lines
2494 bytes
Antonio 'Gandalf' Favata wrote:

> Well, maybe you found some strange sort of bug;

I posted it on Mantis recently, just in case.

> BTW, you should leave the User-Agent header in  its place :)

Spying on my headers, ha? ;)

I've been experimentig with Dialog's scripting abilities for a while, so 
don't worry - everything will be in its place when I get tired of 
experimenting :)

> IME, Xpost has always worked [I used it before using Hamster].

I know, I used Hamster and Agent for a couple of years and Hamster's
scoring rules worked perfectly all the time. That's why I'm a little
bit dissappointed with this Dialog's strange behaviour, knowing that 
(quote from Dialog's help file):

"The syntax and actually most of the code is from Jürgen Haible's
excellent local mail- and newsserver Hamster".

-- 
R Tape Loading Error
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