473,770 Members | 4,419 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2255
Adrienne Boswell <ar****@yahoo.c omwrites:
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.c omwrites:
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
5202
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, comment_parent_id, text, datetime_created). Most of the tutorials that I've found online discuss how to thread the results from the database with recursive query calls. This is all to the good; however, with lengthy discussion, this solution becomes slow and...
9
5338
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 protocol. I keep the project source in three directories, based upon the code's function: one for the network API code itself, one for the support APIs (basic chat spam filtering, Swing models, rich text decoders, etc), and one for the test client...
5
1706
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 released as needed, runs fine for some time, then stops - Visual Studio detects no exceptions, and I have placed break points on all the handling code to catch them. No errors / failures are logged, but child threads have all exited, and I am left...
2
2257
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 display the messages. A toy table definition (that I've tried to make standards compliant) might look like: create table messages ( message_id integer,
10
8667
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 the details, but does someone have a clue of what this person perhaps was talking about? Do you think he just ment something such as function pointers? Or could I, much like a C++ Class, call a class function that has access to the structure...
2
4626
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 should work in order to this.I need to know about the Database table structure for this.Still i cant think about a database design for this. any tutorial, ideas, links all are accepted.please take a look at for This Template . and wish to here from...
2
1153
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 a lot slower than a pop-up allowing you to "break" and go directly to the offending statement. I've done searches but I have not been able to find any discussion of this problem. Is this a common problem or unique to my system/application? ...
5
1466
by: amit | last post by:
how to stop or change structure padding ???
5
2681
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 that structure, is this valid? As shown in the code below I am allocating the structure in the function and then returning the structure. I know if the structure contained only simple types (int, float) this will work without problems as you...
0
9602
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9439
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10237
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10071
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10017
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8905
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6690
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5467
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3987
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.