W3C home > Mailing lists > Public > www-validator@w3.org > September 2005

Re: Programmatically calling the HTML validator

From: David Dorward <david@dorward.me.uk>
Date: Wed, 28 Sep 2005 07:45:34 +0100
To: Lisa Wollin <lisawoll@exchange.microsoft.com>
Cc: www-validator@w3.org
Message-Id: <1127889934.11768.6.camel@omega.thecoreworlds.net>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:20 GMT