🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #92383

Re: INN laxmid clarification

#92383
From: Julien ÉLIE
Date: Mon, 01 Sep 2025 18:45
83 lines
5658 bytes
Hi Jesse,

> One of the ultimate goals of my archive is to sort the history file by posted
> date and re-feed to another INN instance, so article numbering in the 'final'
> archive is chronological. Though, I'm starting to think I'll never get to that
> point. :-)

Oh yes, I'm sorry about that.  Indeed, if INN does not know how to parse 
the Date header field, it won't be able to store the actual posting date 
in the history file.

Incidentally, I am really unsure that Diablo performs better.  Its 
parsedate function only has 40 lines and does not handle dashes, so you 
won't have the posting date either.
     https://github.com/jpmens/diablo/blob/master/lib/parsedate.c


If someone has the time and the skill to write a decent parser in C to 
decode dates in ctime(3) format, we could add it to INN and achieve your 
dream :)


> Julien's suggestion would work to get the articles injected to the spool, but
> could present other issues, primarily with article numbering.

Are you still interested in the ignoredate setting then?
As for laxmid, I think the change we discussed is still worthwhile to have.


> When "Billy G." announced they had the archive.org Usenet content available
> via NNTP, I was elated as it would save a ton of work, but between the Date
> issue, and a lot of articles having duplicated headers that INN won't accept
> (not sure if this is caused by his import process or if the source material
> has duplicate headers), I'm starting to think I need to go back to dealing
> with the source material directly. They built their own NNTP implementation
> for this purpose, and I didn't think about 'complaince' of the content
> initially.

That's why we have RFCs to aim at a better interoperability with current 
software (readers and clients).  Unfortunately, old articles pre-dating 
RFCs or articles generated by non-compliant software may not be 
correctly parsed by current software.


> That leaves me a few battles to win. Like Adam, I do not have a programmer's
> mindset, so dealing with detecting date format issues and duplicated headers
> isn't straightforward for me, at least not when dealing with hundreds of
> millions of articles.

I would tend to think that the best move would be that Billy's news 
server does the translation job and provides syntactically valid news 
articles per current Netnews standard.  It would achieve 
interoperability with current news readers and news servers.

I totally agree with Adam who recommends that the Date header field 
reflects the original date but now in modern syntax.  That's the point 
of data conservation.  One should ensure that old material is still 
readable by modern software.  Header fields should be adapted.  The 
point of a readable archive is to provide access to messages and notably 
their contents (body), not to have difficulties in sorting them, etc.
Of course, the original header fields and removed duplicated ones could 
still be provided in X- header fields for the ones interested in seeing 
the original material without modification.

Think about the videos of your childhood or of your grand-parents.  The 
important is probably not in duplicating in the same format the magnetic 
VHS contents or the Super 8mm contents, but having it in a modern and 
still viewable format (though the overall quality may have decreased 
because of digitisation artifacts).  Good for you of course if you still 
have the appropriate obsolete hardware able to read them in the original 
form, but it will be less and less practical and you'll have to maintain 
it working or find a compatible one in second-hand sale.
Like old videos or music encoded in an obscure codec format from a 
Windows 95 codec pack, or documents written with a no longer existing 
software.  The important (at least to me) is that they are converted to 
modern software so as not to definitely loose them...
The same goes for old A News or B News article formats which somehow 
need a bit of translation.

-- 
Julien ÉLIE

« Vinum spumosum nisi defluat est uitiosum. »
Technical Details
Message-ID: <1094pjt$15nu2$1@news.trigofacile.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.pugleaf.net!ygg-srl.newsdeef.eu!srl.newsdeef.eu!weretis.net!feeder8.news.weretis.net!news.trigofacile.com!.POSTED.2001:861:3f81:7990:e4c0:ba50:d2a:7a9f!not-for-mail
References: <u90srm$2mhb$1@nnrp.usenet.blueworldhosting.com> <10906hu$2tvn$1@nnrp.usenet.blueworldhosting.com> <10910cj$12r8f$1@news.trigofacile.com> <87bjnv4ait.fsf@hope.eyrie.org> <10928if$3djku$1@dont-email.me> <1092n83$2c6e$1@nnrp.usenet.blueworldhosting.com>

Show Full Headers
Complete Article Headers
Message-ID: <1094pjt$15nu2$1@news.trigofacile.com>
Subject: Re: INN laxmid clarification
Date: Mon, 1 Sep 2025 20:45:17 +0200
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
References: <u90srm$2mhb$1@nnrp.usenet.blueworldhosting.com> <10906hu$2tvn$1@nnrp.usenet.blueworldhosting.com> <10910cj$12r8f$1@news.trigofacile.com> <87bjnv4ait.fsf@hope.eyrie.org> <10928if$3djku$1@dont-email.me> <1092n83$2c6e$1@nnrp.usenet.blueworldhosting.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.pugleaf.net!ygg-srl.newsdeef.eu!srl.newsdeef.eu!weretis.net!feeder8.news.weretis.net!news.trigofacile.com!.POSTED.2001:861:3f81:7990:e4c0:ba50:d2a:7a9f!not-for-mail
Newsgroups: news.software.nntp
Organization: Groupes francophones par TrigoFACILE
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 1 Sep 2025 18:45:17 -0000 (UTC)
Injection-Info: news.trigofacile.com; posting-account="julien"; posting-host="2001:861:3f81:7990:e4c0:ba50:d2a:7a9f";
 logging-data="1236930"; mail-complaints-to="abuse@trigofacile.com"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:8i5GGBPVEo/HC/wwRMilHylzmyE= sha256:PnrFIb6ZkiPF8vLWYtgd9gMSJHBKwSXthyZB3bZf0lg=
 sha1:P6cr0rM+/jegDuvDNNy6Fnzc1P0= sha256:ri4U4oIMjjcIPSsBJyps8J9M9yavToZ86f3yA4WVZ00=
In-Reply-To: <1092n83$2c6e$1@nnrp.usenet.blueworldhosting.com>