a W3C validator webservice
Simon Willison took advantage of the W3C’s new (beta) validator’s XML output to write an XMLRPC interface for it.
I’ve been toying with it for an hour with a simple command line script, and it’s pretty nice. There’s just a nasty bug in PHP’s XML parser, that makes Simon’s interface return only the last part of messages that have a double quote in them.
The fix/workaround is rather simple (see my last comment on Simon’s post), and until Simon applies that fix, you can still use my installation of the webservice to get complete messages. Just use ‘tidakada.com’ instead of ’scripts.incutio.com’ as your host.
Small Update: If you feel like using this webservice, yet don’t know how to code an xmlrpc client, and you have a version of PHP compiled as CGI on your computer, here’s a simple PHP command line client. Just run it like this: validate http://someurl.com.
2 responses
Michelllllll!!!!!!! *screams*
Nah. No. :) Just thought I’d say hello. :) It’s been soooooo long!
#1 Dican — 2002/10/29 at 1:32
Hey Dican :)
Yeah, it’s been a while! It’s funny, I was just reviewing some blogs to add to my links, and I thought of yours, and there you come and comment :D
#2 michel — 2002/10/29 at 2:19
Your words