Re: Programmatically calling the HTML validator

On Tue, 2005-09-27 at 12:35 -0700, Lisa Wollin wrote:
> 
> Is there anyway to programmatically call the HTML validator that you
> have on your Web site?

Aside from the obvious solution (or parsing the HTML), the validator
also outputs an X-W3C-Validator-Status HTTP header and can be requested
to output results in several formats other then human readable HTML.

http://validator.w3.org/docs/users.html#Output

Its probably also worth pointing out that if you plan to hit the
validator enough times to make programmatic access worthwhile, then a
local copy would probably be faster for you.

http://validator.w3.org/source/

-- 
David Dorward                           <http://dorward.me.uk/>
"Anybody remotely interesting is mad, in some way or another."
                             -- The Greatest Show in the Galaxy

Received on Wednesday, 28 September 2005 06:42:38 UTC