Structure of threaded discussion

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

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
or date):

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>
<li>message 2</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

Quoted text here. Click to load it

Thread index as a nested list, date/author index as a set of headed lists.

Something like the mailing list archives at 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.


Re: Structure of threaded discussion

Chris Morris wrote:
Quoted text here. Click to load it

Thank you, Chris, that looks like it might be just the ticket.  I'm
doing mine in classic ASP, so I'll be doing it from the ground up.
<voice type="Joan Crawford" movie="Mommie Dearest">No More Nested

Site Timeline