Alternate HTML Table implementation in STX
Hello, This question is motivated by attempts to maintain some tabular lists in Zwiki (v0.9.6 on Zope 2.5). I've noticed that HTML tables can be described in wiki's using an STX convention involving dashes (-) and vertical bars (|). Although this doesn't require HTML knowledge, it certainly requires skill on the author's part to get it right. For simple tablular lists of data, the extra flexibility of this convention is more of an obstacle. Does anyone know of simpler convention for describing columns of data? I'm thinking more along the lines of something like (now entering dream mode) <DTML-TABLE> Name; email; phone Joe Smith; js@nowhere.comm; 555-1111 Sarah Conner; sc@adomain.nett; 555-5555 </DTML-TABLE> which would render something like |-------------------------------------------| | Name | email | phone | |-------------------------------------------| | Joe Smith | js@nowhere.comm | 555-1111 | |-------------------------------------------| | Sarah Conner | sc@adomain.nett | 555-5555 | |-------------------------------------------| People have an easier time grasping the concept of editing comma delimited lists than using the ascii drawing skills. Due to constraints on my time, I would rather not do this with tables and sql. Thanks in advance, --ira (via Bob's account)
How do you handle colspan and rowspan? -aj ----- Original Message ----- From: "Robert Rockwell" <RobertR@intouchcorp.com> To: <zope@zope.org> Sent: Friday, April 19, 2002 11:44 Subject: [Zope] Alternate HTML Table implementation in STX
Hello,
This question is motivated by attempts to maintain some tabular lists in Zwiki (v0.9.6 on Zope 2.5).
I've noticed that HTML tables can be described in wiki's using an STX convention involving dashes (-) and vertical bars (|). Although this doesn't require HTML knowledge, it certainly requires skill on the author's part to get it right. For simple tablular lists of data, the extra flexibility of this convention is more of an obstacle.
Does anyone know of simpler convention for describing columns of data? I'm thinking more along the lines of something like (now entering dream mode)
<DTML-TABLE> Name; email; phone Joe Smith; js@nowhere.comm; 555-1111 Sarah Conner; sc@adomain.nett; 555-5555 </DTML-TABLE>
which would render something like
|-------------------------------------------| | Name | email | phone | |-------------------------------------------| | Joe Smith | js@nowhere.comm | 555-1111 | |-------------------------------------------| | Sarah Conner | sc@adomain.nett | 555-5555 | |-------------------------------------------|
People have an easier time grasping the concept of editing comma delimited lists than using the ascii drawing skills.
Due to constraints on my time, I would rather not do this with tables and sql.
Thanks in advance, --ira (via Bob's account)
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
On Fri, 19 Apr 2002, Andreas Jung wrote:
How do you handle colspan and rowspan?
-aj ----- Original Message ----- From: "Robert Rockwell" <RobertR@intouchcorp.com> To: <zope@zope.org> Sent: Friday, April 19, 2002 11:44 Subject: [Zope] Alternate HTML Table implementation in STX
[...]
Does anyone know of simpler convention for describing columns of data?
I'm not sure I'd recommend trying to use it, but you might look at the LaTeX model.
participants (3)
-
Andreas Jung -
Dennis Allison -
Robert Rockwell