Article View: news.software.nntp
Article #89578Re: :keywords metadata item?
From: Julien ÉLIE
Date: Thu, 01 Sep 2022 18:40
Date: Thu, 01 Sep 2022 18:40
52 lines
3251 bytes
3251 bytes
Hi Franck, >> 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. > > Article "metadata" is data about articles that does not occur within the > article itself, so I will go for ":keywords". Agreed as, like you say, it is not in the article itself. > BUT only two metadata items are defined in RFC 3977, ":lines" and > ":bytes". RFC 3977 say "To avoid the risk of a clash with a future > registered extension, the names of METADATA items defined by private > extensions SHOULD begin with ":x-". > > So, perhalps it's better to name it ":x-keywords"? Since RFC 3977, there has been RFC 6648 which deprecates the use of "X-" prefix and similar constructs in application protocols. That's why I did not propose that name but directly ":keywords". > So, I'll go for ":x-keywords" MAY be instead "Keywords" I would be in favour not to provide 2 different ways to advertise that, especially when it had never been standardized before in overview data :-) > For OVER, I think the value of this metadata item SOULD consist of the > metadata name, a single space, and then the value ; as explained in RFC > 3977 : "For all subsequent fields that contain headers, the content MUST > be the entire header line other than the trailing CRLF. For all > subsequent fields that contain metadata, the field consists of the > metadata name, a single space, and then the value.) Oh you're right, I missed that and thought the rule only applied to header names, not metadata. I am half-tempted to advertise ":keywords" instead of Keywords in the next release so as to comply with the protocol (the keywords are not present in the article itself), and properly handle "HDR :keywords" vs "HDR Keywords" results, the same way "HDR Lines" return the real header field if present. -- Julien ÉLIE « Il ne faut jamais gifler un sourd : il perd la moitié du plaisir. Il sent la gifle mais il ne l'entend pas. » (Georges Courteline)
Technical Details
Message-ID:
<tequbn$14ol0$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> <6300a82e$0$22052$426a74cc@news.free.fr>Show Full Headers
Complete Article Headers
Message-ID: <tequbn$14ol0$1@news.trigofacile.com> Subject: Re: :keywords metadata item? Date: Thu, 1 Sep 2022 20:40:54 +0200 From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> References: <tcvq99$3fb7r$1@news.trigofacile.com> <6300a82e$0$22052$426a74cc@news.free.fr> 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-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8; format=flowed Organization: Groupes francophones par TrigoFACILE User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.13.0 Mime-Version: 1.0 In-Reply-To: <6300a82e$0$22052$426a74cc@news.free.fr> Injection-Date: Thu, 1 Sep 2022 18:40:55 -0000 (UTC) Newsgroups: news.software.nntp,news.software.readers Cancel-Lock: sha1:fK/wjByDlbiNmrgddcMOP2KWUeE= sha256:BFQZcPe9vMju9Kc9Tz/V1qXtGlQWfO++V0yJ60ZBYM8= sha1:EudoMbDEezVWvaxjCY1XS529AuU= sha256:RlSU6snivCgXAE5bcRnaOOOYc6XwDhacYf5uqlRV8oA=