Article View: news.software.readers
Article #50012Re: Threading algorithm
From: Matthias Jordan
Date: Wed, 21 Jul 1999 00:00
Date: Wed, 21 Jul 1999 00:00
22 lines
1388 bytes
1388 bytes
Hi, Curt! >> moment it works really great so I decided to implement threading. I >> hacked a quick-and-dirty algorithm together but it has complexity >It would really help if you told us what the algorithm did. It sorts newsgroup articles by thread. In this particular case by use of the References header line. My current algorithm works like this: For every new article to insert into a newsgroup do this: If the new article has a References line, see whether there is the original article the new article refers to. If so, insert the new article behind the original one. Bye! Matthias
Technical Details
Message-ID:
<37964124$0$217@nntp.ruhr.de>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mailReferences:
<3796119b$0$216@nntp.ruhr.de> <19990721144534.708$be@newsreader.com>Show Full Headers
Complete Article Headers
Message-ID: <37964124$0$217@nntp.ruhr.de> Subject: Re: Threading algorithm Date: Wed, 21 Jul 1999 00:00:00 +0000 From: "Matthias Jordan" <mjordan@sensenet.wirepool.free.de> References: <3796119b$0$216@nntp.ruhr.de> <19990721144534.708$be@newsreader.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail X-Deja-AN: 503702395 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="iso-8859-1" X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 X-Trace: nntp-reader.ruhr.de 932593956 217 141.39.227.51 MIME-Version: 1.0 Newsgroups: news.software.readers