🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #256805

Re: Detecting threads

#256805
From: Adam H. Kerman
Date: Fri, 24 Jan 2014 14:37
33 lines
3039 bytes
VanguardLH <V@nguard.LH> wrote:
>Sandman wrote:

>>So, if you have a database full of usenet posts, and access to all
>>headers - what is the best way to determine thread relationships? The
>>References header is the obvious first suggestion here, but there is
>>no guarantee that it will contain the Message-ID of the original
>>post.

>If present, yes, the References header DOES list the parent post and its
>parent and its parent all the way up to the starter post.  Because of
>the recommended limit of 998 characters per line in the header section,
>very deep threads can extend the MID list onto additional lines.  A
>leading space character on each additional lines flags that line as a
>continuation line for the header line.  

>The problem is the absence of the References header.  Clients don't add
>that header.  Its is built by the server.

This is completely, utterly wrong. Building References header is a client
function when the article is a followup and not a root article. Its data
is the Message-ID of the precursor article if that article is a root
article. Root articles do not contain References headers. If the article
is a followup-to-a-followup, it inheritis the References header of the
precursor article and appends the Message-ID of the precursor article to
the string of Message-IDs.

The article tree is built by the client. It's for convenience of the user,
and has nothing to do with the way the server builds its own database of
Usenet articles, which are generally in order of arrival and not ordered
by Message-ID, with various indexes created.

I'm not reading any more and I've cut the rest.
Technical Details
Message-ID: <lbttr5$dt9$3@news.albasani.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.dca3.giganews.com!backlog4.nntp.dca3.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!feeder.erje.net!eu.feeder.erje.net!news.albasani.net!.POSTED!not-for-mail
References: <slrnle4klj.hp.mr@irc.sandman.net> <lbtrr9$tgl$1@dont-email.me>

Show Full Headers
Complete Article Headers
Message-ID: <lbttr5$dt9$3@news.albasani.net>
Subject: Re: Detecting threads
Date: Fri, 24 Jan 2014 14:37:25 +0000
From: "Adam H. Kerman" <ahk@chinet.com>
References: <slrnle4klj.hp.mr@irc.sandman.net> <lbtrr9$tgl$1@dont-email.me>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.dca3.giganews.com!backlog4.nntp.dca3.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!feeder.erje.net!eu.feeder.erje.net!news.albasani.net!.POSTED!not-for-mail
Newsgroups: news.software.readers
Organization: albasani.net
Lines: 33
X-Trace: news.albasani.net
 xjtdyOZ61w+oIfAU9qQhUP7P/P79aBSw8XmqvCuOUIQkqQw5chqScDkBik1BT+lh/vOyQnAjw2Dy5QtWrffV2ZyEK1j2wc3jPoQW49CEQeJ51UxJwEC3u3G089dTp051
NNTP-Posting-Date: Fri, 24 Jan 2014 14:37:25 +0000 (UTC)
Injection-Info: news.albasani.net;
 logging-data="hHvyBB0FYVurUPW3QBMdpFBD0/IYNMlkNIswFH7hsaWg5CofNicIQfJFlKjMSKhM5APrzQfmjJZSPiXXJyoMkM4Nexd6ShKmwOPIm/P4QDYu+3yK0rIhSOvGWVNY9aL7";
 mail-complaints-to="abuse@albasani.net"
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Cancel-Lock: sha1:FarFULTmAVkNINSaFuRQwEy7S7s=
X-Original-Bytes: 2694