Article View: news.software.readers
Article #177Thread systems
From: Dan Bernstein
Date: Fri, 28 Jun 1991 22:17
Date: Fri, 28 Jun 1991 22:17
60 lines
3818 bytes
3818 bytes
Here's how an experimental mail-news system I've been working on for a while handles threads. Each message has a Thread and a unique Message-ID. Threads are labelled with the Message-ID of the first message in the thread. So this message would have Thread: <17507@darkstar.ucsc.edu>. Each message also has a References line, showing any number of previous articles being responded to (at least two, up to ten, may be limited to ten by posting software). Note that References is independent of any threading. Each article has a Subject. An article with Thread == Message-ID generally has a new subject. However, some messages are split off from others, with a slightly different but not entirely new subject. They're called child threads. The first message has a Parent-Thread header showing the old thread, as well as Parent-Subject with the old Subject line; further messages may keep the Parent headers or, if the author thinks the old subject is gone from the new thread, drop it. If I thought that this article started a new thread, for instance, I would label it with Thread: <whatever message-id my inews comes up with when I post> Parent-Thread: <17507@darkstar.ucsc.edu> Parent-Subject: Re: on virtual groups The analogue of References for threads is Ancestor-Threads, which lists parents of parents, parents of parents of parents, and so on as long as the news software wants. Note that although References includes the previous message, Ancestor-Threads starts two threads back. This may be a mistake. (I originally had Parent-Article and Ancestor-Articles instead of References, but something can be said for backward compatibility.) Some observations about what rn could do with these headers: 1. Threads are no longer defined by subject lines or even References. A thread can split off into two groups, keep going for months, later come back into one group, and still have the newsreader know that it's the same thread. Experts in a group can add accurate subject lines to their responses, and people will still see the response with ^N. 2. On posting, rn can copy Thread, Parent-Thread, Parent-Subject, and Ancestor-Threads, and do the usual with Subject and References. The extra headers usually won't require any editing. rn should have a new followup command for starting a new thread (T?); in this case, it adds Parent-Thread to Ancestor-Threads, moves Thread and Subject to Parent-Thread and Parent-Subject, does the usual with References, and prompts for a new subject. inews should generate a Thread matching Message-ID if there's no Thread; however, to be compatible with old posting software, rn should always interpret a blank Thread as a copy of Message-ID. 3. trn could make, like, a totally psychedelic graphical thread display, especially with that cool Parent-Thread tree like surrounding the References tree. Like, totally awesome, dude. :-) Question: A lot of messages contain responses to more than one article at once; this is more common in e-mail than in news. How could the posting software support this? ---Dan
Technical Details
Message-ID:
<26524.Jun2822.17.2891@kramden.acf.nyu.edu>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmdzi!unido!math.fu-berlin.de!ox.com!yale.edu!cmcl2!kramden.acf.nyu.edu!brnstndReferences:
<17507@darkstar.ucsc.edu> <2887049189@ARTEMIS.cam.nist.gov> <7613@vela.acs.oakland.edu>Show Full Headers
Complete Article Headers
Message-ID: <26524.Jun2822.17.2891@kramden.acf.nyu.edu> Subject: Thread systems Date: Fri, 28 Jun 1991 22:17:28 +0000 From: brnstnd@kramden.acf.nyu.edu (Dan Bernstein) References: <17507@darkstar.ucsc.edu> <2887049189@ARTEMIS.cam.nist.gov> <7613@vela.acs.oakland.edu> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmdzi!unido!math.fu-berlin.de!ox.com!yale.edu!cmcl2!kramden.acf.nyu.edu!brnstnd Newsgroups: news.software.readers Organization: IR Lines: 60 X-Original-Subject: Re: on virtual groups