Thread View: news.software.readers
4 messages
4 total messages
Started by Art Pollard
Fri, 21 Apr 2000 00:00
Threading Question.....
Author: Art Pollard
Date: Fri, 21 Apr 2000 00:00
Date: Fri, 21 Apr 2000 00:00
22 lines
1421 bytes
1421 bytes
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? -Art
Re: Threading Question.....
Author: 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
Re: Threading Question.....
Author: 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/
Re: Threading Question.....
Author: Adam Bailey
Date: Sat, 22 Apr 2000 00:00
Date: Sat, 22 Apr 2000 00:00
22 lines
1654 bytes
1654 bytes
curt@kcwc.com (Curt Welch) wrote: > "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. Agent is also a problem here, as it trims out the first Message-ID when the References header gets too long. -- Adam Bailey | Chicago, Illinois adamb@lull.org | Finger/Web for PGP adamkb@aol.com | http://www.lull.org/adam/
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