🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #7448

Re: Newbie Question: What makes a THREAD?

#7448
From: Mark Turner
Date: Fri, 10 May 1996 00:00
55 lines
2732 bytes
In article <4mra4p$544@sun1.sure.net>,
Marc A. Smith <smithm@nicco.sscnet.ucla.edu> wrote:
> I am interested in learning what makes a thread a thread.  That is,
> how does the newsbrowser decide that a message belongs in a particular
> thread and position in that thread.

How each newsreader decides to build a thread is up to it, but RFC1036
which defines the format of a news article does provide for a mechanism
which should always work.

> My guess is that each message's references line contains a list of all
> the message ids of the messages it is responding to.  Is this right?

Yes, with the exception that the references line may not include *all*
of the previous articles if for instance the line is getting very long.

> So if I wanted to thread messages myself would I just sort messages by
> their references and date and time?  That way Subject changes are
> irrelevant?  

The "Subject: " header and any change in it's content is not quite
irrelevant, but nowhere near as relevant as the "References: " header.

RFC1036 has this to say about "Subject: ", in section 2.1.4:

	"If the message is submitted in response to another message (e.g.,
	 is a follow-up) the default subject should begin with the four
	 characters "Re:", and the "References" line is required."

And this about "References: ", in section 2.2.5:

	"It is required for all follow-up messages, and forbidden when a
	 new subject is raised."

It goes on to explain how the references header is built up, which I
won't quote here as it's in the RFC if you need it.

You could rely on the "References: " header alone to build a thread,
maybe splitting into different threads for different subjects if you
wanted to.  You shouldn't *need* to take any notice of the "Date: "
header, but of course you could use it to decide which subthreads or
leaf messages to display first when there are multiple articles or
subthreads with the same parent article(s).

You might also want to look at the (optional) "Xref: " header as that
allows you to mark crossposts read in all the groups they are in rather
than just the group being read at the moment.

Cheers,

Mark.


Technical Details
Message-ID: <4n07j4$dgk@clio.kram.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <4mra4p$544@sun1.sure.net>

Show Full Headers
Complete Article Headers
Message-ID: <4n07j4$dgk@clio.kram.org>
Subject: Re: Newbie Question: What makes a THREAD?
Date: Fri, 10 May 1996 00:00:00 +0000
From: mark@kram.org (Mark Turner)
References: <4mra4p$544@sun1.sure.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 154177822
Distribution: inet
Organization: Kram
Newsgroups: news.software.nntp