Article View: news.software.readers
Article #60787Re: Threading Question.....
From: J. B. Moreno
Date: Fri, 21 Apr 2000 00:00
Date: Fri, 21 Apr 2000 00:00
27 lines
2023 bytes
2023 bytes
Art Pollard <pollarda@lextek.com> wrote: > I'm developing a web based newsgroup archiver simular to DejaNews. > Everything seems to be working just fine including the full-text search > capabilities. (The search functionality is powered by our product Onix > http://www.lextek.com/onix/ ) The one issue remaining is threading. > (Yea, like every newsreader's last issue is threading.) > > 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. > 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. > > What do you think. Is there an easier way to do this? That sounds fine if you've got all of the articles in question or don't mind breaks when articles are missing -- otherwise you need to deal with the missing id's somehow (I suggest taking a look at the source for trn). -- John B. Moreno
Technical Details
Message-ID:
<1e9g1tt.hwulgl1yjfyofN%planb@newsreaders.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: <1e9g1tt.hwulgl1yjfyofN%planb@newsreaders.com> Subject: Re: Threading Question..... Date: Fri, 21 Apr 2000 00:00:00 +0000 From: planb@newsreaders.com (J. B. Moreno) 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: 614062646 Mail-Copies-To: nobody X-ACLA-Charter: <http://www.deja.com/msgid.xp?MID=%3Cphenix-121119981748546229@roxboro0-023.dyn.interpath.net%3E&ST=&AH=1> X-Trace: fu-berlin.de 956345783 8475639 207.59.121.25 (16 [22426]) X-Face: ]lUBtDImSD_`E"<*ZgyJUoCT\=CdRLFX4qCMLK[xy^L7v|uX|f8`cFDd*PaH8 N*x>d^h Organization: NetNews BOFH wannabe User-Agent: MacSOUP/2.4.4 Newsgroups: news.software.readers