Thread View: news.software.readers
1 messages
1 total messages
Started by Matthew Farwell
Fri, 18 Oct 1991 22:46
automatic generation of thread databases
Author: Matthew Farwell
Date: Fri, 18 Oct 1991 22:46
Date: Fri, 18 Oct 1991 22:46
41 lines
2161 bytes
2161 bytes
I've been following the discussion wrt to the data required for trn & nn threads for a while, and I haven't seen anybody post this suggestion, so here goes. When cnews kicks off newsrun, a check is made for a file (say $NEWSCTL/headers). This file contains a list of headers to be saved in another file (say $NEWSCTL/threads). For instance, if your newsreader used the references line, then the file would look like this: -- cut -- references -- cut -- relaynews/newsrun would then extract out of every message the References header and write it out to $NEWSCTL/threads, in this format -- cut -- <full history line> References: foobar wobble gertrude <full history line> References: plink plonk plunk -- cut -- When mthreads or whatever comes along, then all it has to do is read one file. The advantages of this scheme are : you don't get the overhead if you don't want it, all you have is one extra stat per newsrun ; mthreads doesn't have to go hunting around the file tree, and only has to look in one place. I think it'd also be useful if you wanted to do any sort of statistic collecting, ie on incoming message-id's or the Path. I think this is simple and useable. I don't know cnews well enough to know if it would fit in well, so I'd welcome comments on this. Followups to news.software.b, cos this is really a transport issue. Dylan. -- dylan@ibmpcug.co.uk || ...!uunet!uknet!ibmpcug!dylan Just follow the simple rule - Rob Pike
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