W3C home > Mailing lists > Public > www-validator@w3.org > April 2001

Re: Accessing the validator via script

From: Liam Quinn <liam@htmlhelp.com>
Date: Fri, 27 Apr 2001 18:11:13 -0400 (EDT)
To: LAI <textmode@fsckme.com>
cc: <www-validator@w3.org>
Message-ID: <Pine.LNX.4.30.0104271808220.2472-100000@localhost.localdomain>
On Fri, 27 Apr 2001, LAI wrote:

> One feature that would be immensely useful, however (and I don't know
> if, perhaps, it's already possible) is to get Validator results with a
> script. Perhaps (for instance) I could write a PHP script that sends an
> HTTP request to the Validator, and based on the response it could judge
> the validity of the referenced document.
>
> Basically, the application I have in mind is the sitemap I use at work.
> I use PHP to apply different HTML to each table row depending on the
> status of each page, and it would be nice to automate validity checking
> as well, so as soon as I make a mistake on a page I can catch it.
>
> Anyway, I know there are all sorts of issues with this sort of thing,
> increased load on servers and so on, but I thought I'd throw this out as
> a suggestion for the future.

A simpler alternative is the Offline HTMLHelp.com Validator:

http://www.htmlhelp.com/tools/validator/offline/

It runs locally without the overhead of CGI, HTTP, and HTML output.

-- 
Liam Quinn
Received on Friday, 27 April 2001 18:10:35 GMT

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