🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
2 messages
2 total messages Started by Ron Fri, 12 Feb 2021 20:28
40tude Dialog scoring/filter on Date: header
#264699
Author: Ron
Date: Fri, 12 Feb 2021 20:28
14 lines
1152 bytes
Using 40tude Dialog I would like to score/filter a poster from Hawaii 
(10 hours behind UTC), based on the time zone.

An example of the date header -
Date: Thu, 11 Feb 2021 10:51:23 -1000

Am trying to use 
-2 Date: "-1000" 
But no scoring is happening.

How do I score/filter on the timezone (-1000) in the date header?

PS.  Yes, this is overkill at this point.  Once I get the date/time zone 
working, I'll add +@From FIRSTNAME
Re: 40tude Dialog scoring/filter on Date: header
#264692
Author: Bernd Rose
Date: Sat, 13 Feb 2021 13:20
21 lines
1687 bytes
On Fr, 12th Feb 2021 20:28:51 -0000 (UTC), Ron wrote:

> Am trying to use 
> -2 Date: "-1000" 
> But no scoring is happening.
> 
> How do I score/filter on the timezone (-1000) in the date header?

Although the Date header is part of the XOver group and therefore should be 
available for direct scoring by its name, it receives a special treatment,
that prevents your filter string to match. Date is not stored as unaltered
string in the header overview part of the Dialog database, but as real date
number. (From this, the virtual Age header is also derived, btw.)

To filter on timezone, you need to do it on the virtual "Header" header, 
that includes every header line, instead. - This should work:

-2 Header {^Date[^\r\n]+-1000}

HTH.
Bernd
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