🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #92862

Mirroring articles in order of Date

#92862
From: InterLinked
Date: Sat, 06 Jun 2026 18:00
34 lines
3221 bytes
Something I've noticed (not that it isn't obvious if you think about it) 
is that when sucking articles from another news server, the actual order 
of articles in the spool (by article ID) often ends up deviating 
significantly from the article posting/date order. This seems especially 
common for cross-posting articles; the first group sucked might be 
entirely in order, assuming they were ordered upstream, but as 
crossposts are saved in other groups that haven't been processed yet, 
newer articles may end up getting saved before more recent ones in those 
groups.

I thought perhaps doing something like NEWNEWS * 19700101 000000 might 
be useful for getting an initial ordered list that could be worked 
through somehow, but the RFC says there is no ordering guaranteed in the 
result, and indeed, INN returns the NEWNEWS response by group, rather 
than going through the history file in order of arrival (which I thought 
was interesting, not exactly sure why it does this, though I'm sure 
there's a good reason).

Has anyone ever tried to pull articles in a way that they all end up 
ordered logically within each group? Or does nobody really care since 
article order can vary anyways, and clients are responsible for showing 
them in order? Only thing I think would work is either having a server 
feed you articles in order somehow, or slave off the upstream's Xref so 
that they end up in order, but that has a lot of other limitations. Or 
pull all the dates for every article you want to mirror, sort them, and 
then request them in that order, which, uh... yikes. Would be nice if 
there was a better way.

(Back to a recent discussion about THREAD/SEARCH/SORT, in IMAP, an 
online only IMAP client can work around this by explicitly SORTing the 
results by date; well, NNTP doesn't have a SORT, so online only NNTP 
clients are stuck showing an incoherent article of ordering, at least 
for the initially mirrored articles; obviously, subsequently sucked or 
fed articles should mostly be in order).
Technical Details
Message-ID: <1101n7d$20ocn$1@dont-email.me>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From: InterLinked <nntp@phreaknet.org>
Newsgroups: news.software.nntp
Subject: Mirroring articles in order of Date
Date: Sat, 6 Jun 2026 14:00:12 -0400
Organization: A noiseless patient Spider
Lines: 34
Message-ID: <1101n7d$20ocn$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 06 Jun 2026 18:00:14 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="2122135"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX18NRZUGvYtwFAbdSGMX7hp5ymXHSeHSURU="; posting-host="2cdb56462ee5f2db3a926a47f21453f4"
Cancel-Lock: sha1:PsdUR3hb5bSdzpcoZfrsv4y22yw= sha256:qCkisssJWjzXhIsCuFG/V3saYN1TvUCZgFmKOV6M9gs=
	sha1:rPsTaTaOgMsOOym04w5wq4GtODM=
Content-Language: en-US
X-Mozilla-News-Host: news://alt.bbs.synchronet:119
X-Mailer: MailNews/52.9.9224a1