Thread View: news.software.nntp
1 messages
1 total messages
Started by Mark Turner
Fri, 10 May 1996 00:00
Re: Newbie Question: What makes a THREAD?
Author: Mark Turner
Date: Fri, 10 May 1996 00:00
Date: Fri, 10 May 1996 00:00
55 lines
2732 bytes
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.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads