Article View: news.software.readers
Article #60812Re: Threading Question.....
From: Curt Welch
Date: Sat, 22 Apr 2000 00:00
Date: Sat, 22 Apr 2000 00:00
38 lines
2233 bytes
2233 bytes
"Art Pollard" <pollarda@lextek.com> wrote: > Since the archiver is database driven, the way I am thinking of handling > it is to index the first message ID on the references line. By doing > this, I can do a search and get a list back of all articles which are in > the thread. A lot of articles don't have valid References: lines -- like everything from AOL. They only list one Message-ID -- the last one. Other times you will see truncated References: lines where only the last N IDs are included. > I can then go through these articles and by grabbing the last ID on the > references line and the message ID's build up a tree structure when then > I would translate into an HTML page. And as John said, when you are missing articles you won't be able to recreate the thread correctly looking only at the first and last IDs. > What do you think. Is there an easier way to do this? No, only harder ways. You should build the tree by looking at all the Message-IDs in the references: line. And you need to add nodes for missing articles as well to make sure all articles in the same tree get linked together even though the common ancestors are missing. Anything less may work ok, but will tend to have more errors in the construction of the tree(s). -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Technical Details
Message-ID:
<20000422132603.544$Oz@newsreader.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mailReferences:
<8dq4v7$bfi$1@jaffa.itower.net>Show Full Headers
Complete Article Headers
Message-ID: <20000422132603.544$Oz@newsreader.com>
Subject: Re: Threading Question.....
Date: Sat, 22 Apr 2000 00:00:00 +0000
From: curt@kcwc.com (Curt Welch)
References: <8dq4v7$bfi$1@jaffa.itower.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
X-Deja-AN: 614362047
X-User: Curt@NewsReader.Com
X-Face: "p}G*1KH{+F7EYGKLb>ogDguabZ+%,?^epeFB!nzu`)`$=QcvL1KF6<0GH!Tbc!Sqo[|tV5 %IW48mQf3K=Ci&gZ7]]aazx@]Y-nq!r5{yH/#,?@lDdUDvOfByB2hVW0.@OM%{l/{cT'{w
Organization: NewsReader.Com
X-Url: http://CurtWelch.Com/
User-Agent: NewsReader.Com
Newsgroups: news.software.readers