Next message: Terje Bless: "Re: 8-bit chars in US-ASCII documents (was Re: Embarrassing typo!)"
Date: Fri, 27 Apr 2001 18:11:13 -0400 (EDT)
From: Liam Quinn <liam@htmlhelp.com>
To: LAI <textmode@fsckme.com>
cc: <www-validator@w3.org>
Message-ID: <Pine.LNX.4.30.0104271808220.2472-100000@localhost.localdomain>
Subject: Re: Accessing the validator via script
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