473,386 Members | 1,734 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Structure of threaded discussion

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):
<table>
<thead>
<th>Message</th><th>Author</th><th>Date</th>

But then it gets dicey, because there are messages in reply to messages,
etc. I would mark that up as:
<ul>
<li>message
<ul>
<li>re message 1</li>
<li>re message 1
<ul>
<li>re re message 1</li>
</ul>
</li>
</ul>
</li>
<li>message 2</li>
</ul>

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
standards.

Any thoughts? I really would like to discuss this.

--
Adrienne Boswell at Home
Arbpen Web Site Design Services
http://www.cavalcade-of-coding.info
Please respond to the group so others can share

Aug 19 '06 #1
2 2233
Adrienne Boswell <ar****@yahoo.comwrites:
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):
<th>Message</th><th>Author</th><th>Date</th>

But then it gets dicey, because there are messages in reply to messages,
etc. I would mark that up as:
[nested list]

Any thoughts? I really would like to discuss this.
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 <linkto 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.

--
Chris
Aug 20 '06 #2

Chris Morris wrote:
Adrienne Boswell <ar****@yahoo.comwrites:
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):
<th>Message</th><th>Author</th><th>Date</th>

But then it gets dicey, because there are messages in reply to messages,
etc. I would mark that up as:
[nested list]

Any thoughts? I really would like to discuss this.

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 <linkto 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.

--
Chris
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
Tables!</voice>

Aug 20 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: ensnare | last post by:
I'm attempting to create a threaded comment system involving PHP / MySQL. Currently, I have a table called comments which looks like: Table Comments: (comment_id, comment_root_id,...
9
by: FISH | last post by:
Ever have one of those days when you're not sure if it's you who's gone mad, or the rest of the world? I have an Open Source project on SourceForge for communication with YSMG - Yahoo's IM...
5
by: Rob Durant | last post by:
Hi, I have a multi-threaded application (have also tried as service - same behaviour) that runs fine on XP, but not on 2003. Symptoms are: Threads are started normally, locks acquired and...
2
by: Chris | last post by:
I think I already know that the answer is that this can't be done, but I'll ask anyways. Suppose you want to use an RDBMS to store messages for a threaded message forum like usenet and then...
10
by: gmtonyhoyt | last post by:
It's been mentioned to me that, in standard c, that you can have structures behave very much like classes in relation to something to do with function calls within a structure. Now, I didn't get...
2
ak1dnar
by: ak1dnar | last post by:
Hi, I need to develop a Discussion blog that enables web site user to start new topics and post their comments on it. currently there is a design structure template for this my backend system...
2
by: eBob.com | last post by:
I get no error pop-ups from my multi-threaded application. This makes it difficult to find errors. Fortunately I can step statement by statement though code running under any thread - but that's...
5
by: amit | last post by:
how to stop or change structure padding ???
5
by: ctj951 | last post by:
I have a very specific question about a language issue that I was hoping to get an answer to. If you allocate a structure that contains an array as a local variable inside a function and return...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.