Thursday November 07, 2002
Weblog Validator For anyone who attempts to maintain a valid XHTML site, you know that it's a fair amount of work to make sure your site is valid all the time - especially if you're linking to other sites. You learn to hate ampersands (&). To solve this problem in Roller, I think we need a validator built into the posting of new content. It'd be a sweet feature, maybe we can start with a dirty URL cleaner such as the Hivelogic URL Cleaner. Further comments on this topic can be found at web-graphics.com. Interesting tidbit from Dave:
If you are using XHTML (and you should be!) you could try to incorporate my JavaScript XML parser. Youâd have to tweak it to wrap the post in a fake "root" element, but then it could tell whether or not the particular post is well-formed XML. It could not, however, tell you whether or not your post is valid (i.e. conforms to a particular DOCTYPE), but it would catch things like misplaced ampersands, unknown entities, tags that arenât closed, etc.
Better yet, if you use IE for your posts, you could do the same thing using its built-in XML parser.
Posted in Roller at Nov 07 2002, 06:22:54 PM MST Add a Comment
Search This Site
Recent Entries
- Jack's Mohawk
- LinkedIn Cuts 10% (a.k.a. The Journey is Over)
- Happy Birthday Abbie!
- Moving from Spring's XML to Annotations in AppFuse
- Free Maven Training in New Orleans on Election Day
- AppFuse Light » AppFuse, Maven Archetypes and Shared Web Assets
- Great Weekend in Montana
- Colorado Software Summit 2008 Wrapup
- RESTful Web Applications with Subbu Allamaraju
- Core Animation with Bill Dudney