Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Structure of threaded discussion
- Adrienne Boswell
August 19, 2006, 5:19 pm
rate this thread
The threaded discussion scripts I have found so far all use nested tables
(yuk!). Other message type scripts do not show a threaded structure, and
I think that's really important.
So, let's see, start with (it should also be able to be sorted by author
But then it gets dicey, because there are messages in reply to messages,
etc. I would mark that up as:
<li>re message 1</li>
<li>re message 1
<li>re re message 1</li>
All the messsages are going to come out of a table, and I'll be writing
the script. I would use a canned one, but I can't find out that meets
Any thoughts? I really would like to discuss this.
Adrienne Boswell at Home
Arbpen Web Site Design Services
Please respond to the group so others can share
Re: Structure of threaded discussion
Thread index as a nested list, date/author index as a set of headed lists.
Something like the mailing list archives at
http://lists.debian.org/debian-devel/2006/08/ but without the strange
behaviour there of treating everything 3 or more from the thread top
as being exactly 3 away - the date and author indexes don't need to
look the same as the thread index. (Note its use of <link> to give
very easy access to 'next/prev in thread' links)
Alternatively, the thread index could be a table of the date, author
and subject of thread *start* messages, which when the links are
followed gives a nested list for just that thread.
The ancient anyboard Perl CGI message board does something similar to
this, but this is unmaintained for the last five years (so almost
certainly full of major security holes) and it's got the markup you'd
expect for an application from last century (but at least uses nested
lists rather than nested tables for most of the thread display ;)
Might be worth a look for ideas, since you could easily implement a
similar look-and-feel with good-quality markup, and it does handle
threading better than most message board software.