Article View: news.software.readers
Article #265611Re: :keywords metadata item?
From: Julien ÉLIE
Date: Sun, 25 Sep 2022 07:34
Date: Sun, 25 Sep 2022 07:34
47 lines
3223 bytes
3223 bytes
Hi Russ, >> I'm wondering whether: >> - it shouldn't be advertised as ":keywords" instead of "Keywords:full" as >> the header field is not in the original article. > > I believe that's correct. Keywords:full would imply that it's a copy of a > header in the article named Keywords. > > Astonishingly, we don't seem to have set up an IANA registry for metadata > names in LIST OVERVIEW.FMT, which would have been the normal way of doing > it, so I think we can just use :keywords without telling anybody. There's indeed no IANA registry for overview metadata items. It should be created next time a new metadata item is standardized (if that time ever comes for a new useful need). > It's kind of an interesting idea, but text tokenization is a lot more > complicated than that code, as you're discovering with its total lack of > understanding of anything other than English. If the body is > base64-encoded (or even quoated-printable), I suspect it will similarly > collapse like a house of cards, since I doubt it understands MIME > structure. And let's not even mention trying to tokenize languages that > are farther afield from English. > > I'm honestly not sure it's worth the effort of trying to fix, although of > course now that we've talked about it someone will probably wonder if it > will solve their problems and experiment with it again. :) Switching to ":keywords" and adapting the code to properly distinguish "OVER Keywords" vs "OVER :keywords" requests will demand a bit of effort, as well as testing. This would be used only on the very few news servers, if any, which generate keywords. As you say, it's not worth it yet, and still less fixing text tokenization. I'll just go to mention in the documentation of that keyword generation that it is experimental and works only on plain-text ASCII; and add a bullet in the nnrpd documentation to recall that protocol difference from the standard. -- Julien ÉLIE « Je préfère glisser ma peau sous des draps pour le plaisir des sens que de la risquer sous les drapeaux pour le prix de l'essence. » (Raymond Devos)
Technical Details
Message-ID:
<tgp09u$4qah$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-mailReferences:
<tcvq99$3fb7r$1@news.trigofacile.com> <87tu53xaef.fsf@hope.eyrie.org>Show Full Headers
Complete Article Headers
Message-ID: <tgp09u$4qah$1@news.trigofacile.com> Subject: Re: :keywords metadata item? Date: Sun, 25 Sep 2022 09:34:22 +0200 From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> References: <tcvq99$3fb7r$1@news.trigofacile.com> <87tu53xaef.fsf@hope.eyrie.org> 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 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.3.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8; format=flowed Mime-Version: 1.0 Injection-Date: Sun, 25 Sep 2022 07:34:22 -0000 (UTC) Newsgroups: news.software.nntp,news.software.readers Organization: Groupes francophones par TrigoFACILE Cancel-Lock: sha1:Q4tpgNj2t0NyEj/SZmJMtJ3FfQY= sha256:xOljfbSBd2iRKmDNxEcRd2DTuFLv8v6KAgbwmB9l/1M= sha1:+p18KfzaZ24fmeYWcJm+mHv0s40= sha256:ATtdfEGvMY9v1bzcfNUgDHDlBg/kTuYYy0a6Hj00NiQ= In-Reply-To: <87tu53xaef.fsf@hope.eyrie.org>