W3C Markup Validation with JavaScript

Hi,

It was suggested to me that I dropped a line about a small JavaScript 
function I made.
It basically lets you validate a given URL with a JavaScript function 
call, something like:

validate("http://www.google.com/",
  function(response) {
    alert(response.status);
  }
);

It works by sending HEAD requests to the W3 validator via Simon 
Willison's json-head microservice and then gathering the results from 
the HTTP headers.

You can check it out here: 
http://blog.nihilogic.dk/2008/11/w3c-markup-validation-with-javascript.html

Cheers,
Jacob Seidelin
http://blog.nihilogic.dk/

Received on Monday, 1 December 2008 08:42:20 UTC