Simon Willison’s Weblog

Subscribe

Validating weblog entries

7th November 2002

webgraphics have an interesting discussion running about the need for a weblog entry XHTML validator. Dave Lindquist suggests using his JavaScript XML Parser to perform validation on the client side, which seems like an excellent solution. I already use PHP’s XML parsing functions on this blog to check my entries are valid XML when I post them (and extract links for use with my pingback client) but additional client side validation would save the round trip to the server. The discussion also covers the idea of using the W3C’s validator to check entries—as soon as they finalise their XML interface (as used by my validator web service) I can see a lot of interest forming in this kind of automated validation.

More recent articles

This is Validating weblog entries by Simon Willison, posted on 7th November 2002.

Next: Javascript XML parser

Previous: aqTree 3

Previously hosted at http://simon.incutio.com/archive/2002/11/07/validatingWeblogEntries