Which (X)HTML tags do stories/comments forms support
I created a story with HTML header tags and paragraph tags and they rendered properly. I have also used the HTML anchor tag in the past and that rendered correctly. However, when I used the tag this did not render properly.
Which (X)HTML tags does Antville support?
nex
This doesn't depend on Antville, but on your skins, mainly your main skin :-)
On your site, the header says
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
Consequently, it is a traditional HTML document and you must not use any XHTML tags at all. There also are some other problems with your code. (Not necessarily your fault, the vanilla project.antville-ish sites do much worse than yours in the validator.)
IIRC, the acronym tag is plain HTML anyway and shouldn't interfere with anything else in the Antville code/stylesheet/whatever. However, the angle brackets are replaced with < and &rt; when you post your story, for reasons I cannot tell at the moment as I don't have time for sourcediving.
Could it be that Antville automatically does this conversion every time, save for tags it recognises? If so, I'd suggest not hardcoding the recognised tags, but reading them from the respective dtd instead (this information could almost always be cached). I'd be willing to implement this myself once I have the time, btw., i.e. not now... ;-)
hns
If you go to this page and scroll down or search for "allTags", you find a list of HTML tags currently recognized by Helma (and thus Antville). If you want to help, you can compile a list of (X)HTML tags you find missing.
nex
I will have a look at automatic tag extraction from DTDs (advantage: have code that works for _every_ version instead of a static list that is valid for _one_) and try to come up with something useful this week. Will report progress.
Update: Came up with something.
JohnWalsh
NEX & HNS,
Thank you both for responding.
NEX, I assumed Antville only supported up to the DOCTYPE in the mainpage skin so I never changed the DOCTYPE, eventhough Antville uses the XHTML tag <br />. I knew it would never validate for this reason and I was afraid if I changed the DOCTYPE Antville would throw a wobbly. I checked the page hns recommended and the tag is not in the list of supported tags, so I guess your assumption that Antville converts tags it doesn't recognise is correct, but it would be a handy tag to have as I do not know what IIRC means :)
I do not understand your offer about caching or your recommendation not to hardcode - how else do I markup my stories - but I do appreciate your kind offer.
HNS, thanks for the list of tags (I have bookmarked the link). The only tags which I noticed were missing off the top of my head are , ,
Thanks again both of you for your help
nex
Indeed, there are skins that should make a sane browser righteously vomit; that's not because anyone did something particularly silly, it just happens when several people work together and produce little inconsistencies that go unnoticed by every piece of software except for that nasty validator.
The "coding" part is about Antville itself, nothing you could change in a skin, so if you don't understand something there, it doesn't matter; that was directed at the developers. IIRC is a common Usenet acronym for "if i recall correctly".
Thanks for having a look at the links, I guess someone will add them to the list soon.