On browsing bugs.plkr.org, I came across #196 asking for a supported tags
reference, so I started this table:
http://www.pluckerbooks.com/tags.html

It is based on the python parser in cvs.

I compared this to the W3's HTML4 spec and noticed a few things that could
be supported with fairly trivial parser modifications.  Most of these are
infrequently used, but are correct HTML and probably should be supported if
relevant.

1. <code> is unsupported.  This could be handled as <pre>.  A few other
phrase elements (which aren't really used much anyway) might want to be
considered: <kbd>, <samp>, and <var> as <pre> (more esoteric computer code
tags).

2. <basefont>.  Its 'color' attribute is the same as setting <body
text="XXX">

3. <big>.  Could be rendered as <h3> or <h4> are (only inline)?

4. 'summary' attributes for tables.  These could be used as alt is for
<img>, displaying in place of the table icon when a table cannot be rendered
inline.

5. <del>. Denotes a deletion, could be rendered as <strike>.  Pass <ins>
unaltered?

6. Definition lists.  <dl>, <dt> (term), and <dd> (definition).  Currently
these are just marked as paragraphs.  It would be cool to perhaps bold the
<dt> and indent the <dd>.

7. <menu> is supported, but <dir> isn't.  Render as <ul>.

8. The 'align' attribute is only partially supported on supported tags that
supposedly support it. ;)  I'm thinking of mainly <img> and the header tags
<h1>, etc.  <img> might be problematic if it's inside a paragraph...

9. Add anchors for 'id' attributes.

Just a few thoughts.  I'd like to continue building the above table into a
guide for content providers.

Dave.

_______________________________________________
plucker-dev mailing list
[EMAIL PROTECTED]
http://lists.rubberchicken.org/mailman/listinfo/plucker-dev

Reply via email to