Article View: news.software.readers
Article #265515Re: Advertising metadata and other fields in overview
From: Michael Bäuerle
Date: Wed, 03 Aug 2022 09:50
Date: Wed, 03 Aug 2022 09:50
70 lines
3691 bytes
3691 bytes
Julien ÉLIE wrote: > Michael Bäuerle wrote: > > > > [...] > > Currently the OVER command must be disabled for this to work in flnews. > > Quoted from man page: > > | > > | o nntp_no_over (Integer) Disable usage of overview (OVER command) for > > | NNTP protocol > > | > > | Setting this to a nonzero value disables usage of overview and makes > > | the whole newsgroup list usable for scoring rules. > > | [...] > > Why not automatically disable OVER if there exists a scoring rule using > the Newsgroups header field? (and keep using OVER otherwise) Currently scoring rules are silently skipped, if they cannot be applied. This can happen in other cases too, e.g. if a rule contains text that cannot be converted to the charset of the locale (flnews uses Unicode internally, but explicitly supports operating systems without Unicode locales). But yes, this is likely not what a user would expect. > In case you wish to test a possible use of the Newsgroups field if > present in overview data, I've added it in my news server > (news.trigofacile.com): > > LIST OVERVIEW.FMT > 215 Order of fields in overview database > Subject: > From: > Date: > Message-ID: > References: > :bytes > :lines > Xref:full > Newsgroups:full > Path:full > . > > GROUP news.software.nntp > 211 10940 1 15264 news.software.nntp > > OVER 15262 > 224 Overview information for 15262 follows > 15262 Re: Advertising metadata and other fields in overview Michael > =?ISO-8859-1?Q?B=E4uerle?= <michael.baeuerle@stz-e.de> Mon, 1 Aug 2022 > 12:55:15 +0200 (CEST) <AABi57ETSaEAAAJK.A3.flnews@WStation5.stz-e.de> > <tc6fmu$2q025$1@news.trigofacile.com> 1585 21 Xref: news.trigofacile.com > news.software.nntp:15262 Newsgroups: > news.software.nntp,news.software.readers Path: > news.trigofacile.com!weretis.net!feeder8.news.weretis.net!lilly.ping.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail > . Thank you. I will try to implement support for LIST OVERVIEW.FMT and Newsgroups field from overview. This should be sufficient to feed the corresponding scoring rules without the automatic OVER disabling logic discussed above. > I've also added Path, as Urs has a special handling of it in tin. > And switched to the "preferred" naming of ":bytes" and ":lines" (feel > free to test that everything is still OK with these names). My plan is to simply skip the first 7 fields of the response. Different order or meaning is not allowed by RFC 3977. And this information was already used before (implicitly).
Technical Details
Message-ID:
<AABi6kT4KKEAAAKQ.A3.flnews@WStation5.stz-e.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:
<tc6fmu$2q025$1@news.trigofacile.com> <AABi56G3E9YAAAJK.A3.flnews@WStation5.stz-e.de> <tc978v$2shvj$1@news.trigofacile.com>Show Full Headers
Complete Article Headers
Message-ID: <AABi6kT4KKEAAAKQ.A3.flnews@WStation5.stz-e.de> Subject: Re: Advertising metadata and other fields in overview Date: Wed, 03 Aug 2022 09:50:48 +0000 From: Michael Bäuerle <michael.baeuerle@stz-e.de> References: <tc6fmu$2q025$1@news.trigofacile.com> <AABi56G3E9YAAAJK.A3.flnews@WStation5.stz-e.de> <tc978v$2shvj$1@news.trigofacile.com> 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 Content-Type: text/plain; charset=ISO-8859-1; format=fixed Newsgroups: news.software.nntp,news.software.readers Mime-Version: 1.0 Cancel-Lock: sha1:Yimlx/uQjL/RR7WdrYuDvy7s5FU= sha256:6UdLZBeAy8geZg0sQ9susciad08lKeLrsOmUGLyE+eA= sha1:tBn25IN9+xA8zaYNCSdS7rtuB78= Reply-To: Michael Bäuerle <michael.baeuerle@gmx.net> Injection-Date: Wed, 3 Aug 2022 09:50:48 -0000 Lines: 70 Content-Transfer-Encoding: 8bit X-Trace: individual.net W/DD14W3EMESoro4R/Ov/QpO4yWS9eBG7acNdqtRsojNsOBe5k X-Orig-Path: not-for-mail User-Agent: flnews/1.2.0pre0 (for NetBSD)