🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
7 messages
7 total messages Started by Joshua Sat, 27 Mar 2021 10:43
PAN newsreader and scoring on organization
#264772
Author: Joshua
Date: Sat, 27 Mar 2021 10:43
15 lines
1100 bytes
I am trying to create a score in PAN newsreader from posters who use 
Usenet.Farm as organization. However, nothing seems to work.

score:: =-9999
Organization: Usenet.Farm

score:: =-9999
Organization: ^Usenet.\Farm$

I've tried all possible combinations, but I guess I still must be doing 
something wrong.

How do I filter on organization?

J
Re: PAN newsreader and scoring on organization
#264773
Author: Michael Bäuerle
Date: Sat, 27 Mar 2021 10:53
8 lines
1081 bytes
Joshua wrote:
> 
> [...]
> score:: =-9999
> Organization: ^Usenet.\Farm$
                       ^^
At least this looks like a typo. To match a literal "." in a regular
expression, you should use "\." (backslash *before* the dot).
Re: PAN newsreader and scoring on organization
#264768
Author: Joshua
Date: Sat, 27 Mar 2021 14:34
16 lines
1263 bytes
On Sat, 27 Mar 2021 10:53:39 +0000, Michael Bäuerle wrote:

<snip>

> At least this looks like a typo. To match a literal "." in a regular
> expression, you should use "\." (backslash *before* the dot).

Yeah, that's a typo when I wrote my post. I'd better use copy-paste the 
next time! The scoring file is fine though. :)

score:: =-9999
Organization: ^Usenet\.Farm$

Yet it won't do anything.

J
Re: PAN newsreader and scoring on organization
#264769
Author: Tavis Ormandy
Date: Sat, 27 Mar 2021 16:28
25 lines
1469 bytes
On 2021-03-27, Joshua wrote:
> Yeah, that's a typo when I wrote my post. I'd better use copy-paste the 
> next time! The scoring file is fine though. :)
>
> score:: =-9999
> Organization: ^Usenet\.Farm$
>
> Yet it won't do anything.
>

I don't know Pan, but it's common to only be allowed to filter on NOV
headers (Organization is not usually one). Check if it works as expected
on Message-ID or References - if it does, then that's probably the problem.

https://en.wikipedia.org/wiki/NOV_(computers)

There might be a setting somewhere to download all headers before
scoring.

Tavis.

-- 
 _o)            $ lynx lock.cmpxchg8b.com
 /\\  _o)  _o)  $ finger taviso@sdf.org
_\_V _( ) _( )  @taviso
Re: PAN newsreader and scoring on organization
#264770
Author: AnonymousCoward
Date: Sat, 27 Mar 2021 17:39
28 lines
1512 bytes
On Sat, 27 Mar 2021 14:34:03 +0000, Joshua wrote:

> On Sat, 27 Mar 2021 10:53:39 +0000, Michael Bäuerle wrote:
> 
> <snip>
> 
>> At least this looks like a typo. To match a literal "." in a regular
>> expression, you should use "\." (backslash *before* the dot).
> 
> Yeah, that's a typo when I wrote my post. I'd better use copy-paste the 
> next time! The scoring file is fine though. :)
> 
> score:: =-9999
> Organization: ^Usenet\.Farm$
> 
> Yet it won't do anything.
> 
> J


Because that's the wrong syntax:

Try this:

[*]
Score:: =-9999
Organization: ^Usenet\.Farm$
%EOS
Re: PAN newsreader and scoring on organization
#264771
Author: AnonymousCoward
Date: Sat, 27 Mar 2021 17:45
33 lines
1778 bytes
On Sat, 27 Mar 2021 17:39:23 +0000, AnonymousCoward wrote:

> On Sat, 27 Mar 2021 14:34:03 +0000, Joshua wrote:
> 
>> On Sat, 27 Mar 2021 10:53:39 +0000, Michael Bäuerle wrote:
>> 
>> <snip>
>> 
>>> At least this looks like a typo. To match a literal "." in a regular
>>> expression, you should use "\." (backslash *before* the dot).
>> 
>> Yeah, that's a typo when I wrote my post. I'd better use copy-paste the 
>> next time! The scoring file is fine though. :)
>> 
>> score:: =-9999
>> Organization: ^Usenet\.Farm$
>> 
>> Yet it won't do anything.
>> 
>> J
> 
> 
> Because that's the wrong syntax:
> 
> Try this:
> 
> [*]
> Score:: =-9999
> Organization: ^Usenet\.Farm$
> %EOS

I just realized that pan isn't showing correctly the newline between 9999 and organization.
They should be on two distinct lines.
Re: PAN newsreader and scoring on organization
#264774
Author: Joshua
Date: Sun, 28 Mar 2021 09:08
20 lines
1444 bytes
On Sat, 27 Mar 2021 16:28:10 +0000, Tavis Ormandy wrote:

<snip>

> I don't know Pan, but it's common to only be allowed to filter on NOV
> headers (Organization is not usually one). Check if it works as expected
> on Message-ID or References - if it does, then that's probably the
> problem.

</snip>

I guess you're right: Message-ID, References, Subject, From -- these all 
work fine.

I've now created a scoring rule to filter on "From" which functions quite 
well.

Thanks for the info and the link,

J
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