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

Received on Friday, 27 April 2001 18:10:35 UTC