Re: Who has a local install of validator run from command line?

John Murdie <john@cs.york.ac.uk> wrote:

> /* Arrange that perl check script finds correct directory from $0. */
> argv[0] = "/var/www/validator-20010913/";

argv[0] should contain the full path to the "check" CGI script. And then
you need:

  argv[1] = "uri=http://www.cnn.com/";

> execv("/var/www/validator-20010913/httpd/cgi-bin/check", argv);
>  
>}



>Failing this, if I can't make a satisfactory solution myself, I'll
>install the WDG validator instead - I see that that can be run from the
>command line out of the box, see
>http://www.htmlhelp.com/tools/validator/offline/. --

This is probably your best bet. The W3C Validator isn't really set up to be
run from the command line yet and Liam has done an amazing job on the WDG
Validator. It should get you just as good results, and in some cases even
better reseluts.

Received on Wednesday, 1 May 2002 14:15:32 UTC