🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #737

automatic generation of thread databases

#737
From: Matthew Farwell
Date: Fri, 18 Oct 1991 22:46
41 lines
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
Technical Details
Message-ID: <1991Oct18.224659.2920@ibmpcug.co.uk>
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!mcsun!uknet!ukc!slxsys!ibmpcug!dylan

Show Full Headers
Complete Article Headers
Message-ID: <1991Oct18.224659.2920@ibmpcug.co.uk>
Subject: automatic generation of thread databases
Date: Fri, 18 Oct 1991 22:46:59 +0000
From: dylan@ibmpcug.co.uk (Matthew Farwell)
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!mcsun!uknet!ukc!slxsys!ibmpcug!dylan
Newsgroups: news.software.b,news.software.readers
Reply-To: dylan@ibmpcug.co.uk (Matthew Farwell)
Followup-To: news.software.b
Organization: The IBM PC User Group, UK.
Lines: 41