Article View: news.software.readers
Article #264692Re: 40tude Dialog scoring/filter on Date: header
From: Bernd Rose
Date: Sat, 13 Feb 2021 13:20
Date: Sat, 13 Feb 2021 13:20
21 lines
1687 bytes
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
Technical Details
Message-ID:
<1lyg7s5idn1yx.dlg@b.rose.tmpbox.news.arcor.de>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mailReferences:
<s06oe3$188$1@dont-email.me>Show Full Headers
Complete Article Headers
Message-ID: <1lyg7s5idn1yx.dlg@b.rose.tmpbox.news.arcor.de> Subject: Re: 40tude Dialog scoring/filter on Date: header Date: Sat, 13 Feb 2021 14:20:41 +0100 From: Bernd Rose <b.rose.tmpbox@arcor.de> References: <s06oe3$188$1@dont-email.me> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail Newsgroups: news.software.readers Injection-Info: solani.org; logging-data="16029"; mail-complaints-to="abuse@news.solani.org" Cancel-Lock: sha1:2ZyxvrVcmbjlmXxgP5pNgwrM4y8= Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii" User-Agent: 40tude_Dialog/2.0.15.41 (41b5410f.48.412) Lines: 20 Mime-Version: 1.0 X-User-Id: eJwNyMcBA0EIBLCWSMNCORyh/xJsPQV19n7mcMPhZgRSVjw92TemkZ/yE84TXY0iUpjT/1XzIrsxGRdizPSkaAW1uG97/f0AvOkZag==