🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #265513

Re: Advertising metadata and other fields in overview

#265513
From: Eli the Bearded
Date: Mon, 01 Aug 2022 21:00
38 lines
2606 bytes
In news.software.readers, Adam H. Kerman <ahk@chinet.com> wrote:
>> I see that you're using trn.  The question would then be: were the 
>> Newsgroups and Path header fields be present in (X)OVER responses, would 
>> trn use them directly? (without sending (X)HDR or HEAD commands to 
>> retrieve these header fields)
> Perhaps Wayne Davidson is still reading news.software.readers on
> occassion. Eli the Bearded had contributed some trn patches a few years
> ago; maybe he could glance at the code.

As far as I know, Wayne Davidson no longer has an interest in trn or
netnewd. I do have an interest, and I keep trn source handy.

I'm not quite sure if the overview code in rt-ov.h properly deals with
extra content in overview. My experience suggests yes, but it could
have been masked by fast XHDR action. To use overview files for
searching (including KILL commands), you need to use the Hheadername
flag, like so:

	/trn/Hsubject:+

The article search code in artsrch.c for ARTSCOPE_ONEHDR calls
fetchlines() in head.c to get the line, that uses fetchcache() from
cache.c to check cached headers (eg found in overview) and falls back to
XHDR if needed.

Scoring calls fetchcache() as well, but I didn't review that code.

> Well, yes, since which headers are being downloaded is configurable at
> the server level, it would be ideal if the newsreader could determine
> which additional headers beyond the standard headers had been
> downloaded.

Well trn (in rt-ov.c), for one, is clearly checking the overview.fmt
file for what overview has.

Elijah
------
the provided support/Score.pl script does not check overview.fmt
Technical Details
Message-ID: <eli$2208011534@qaz.wtf>
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
References: <tc6fmu$2q025$1@news.trigofacile.com> <tc6iv0$f5bj$3@dont-email.me> <tc6m45$2q38p$1@news.trigofacile.com> <tc6s9l$ft8g$2@dont-email.me>

Show Full Headers
Complete Article Headers
Message-ID: <eli$2208011534@qaz.wtf>
Subject: Re: Advertising metadata and other fields in overview
Date: Mon, 01 Aug 2022 21:00:26 +0000
From: Eli the Bearded <*@eli.users.panix.com>
References: <tc6fmu$2q025$1@news.trigofacile.com> <tc6iv0$f5bj$3@dont-email.me> <tc6m45$2q38p$1@news.trigofacile.com> <tc6s9l$ft8g$2@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
X-Us-Congress: Moronic Fucks.
Xfrom: is a real address
X-Liz: It's actually happened, the entire Internet is a massive game of Redcode
User-Agent: Vectrex rn 2.1 (beta)
X-Motto: "Erosion of rights never seems to reverse itself." -- kenny@panix
X-Attribution: EtB
Encrypted: double rot-13
Injection-Date: Mon, 1 Aug 2022 21:00:26 -0000 (UTC)
Organization: Some absurd concept
Newsgroups: news.software.nntp,news.software.readers