W3C home > Mailing lists > Public > www-validator@w3.org > May 2002

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

From: Terje Bless <link@pobox.com>
Date: Wed, 1 May 2002 20:14:43 +0200
To: John Murdie <john@cs.york.ac.uk>
cc: www-validator@w3.org
Message-ID: <f01050101-1014-588B905A5D2F11D6A25300039300CF5C@[192.168.1.7]>
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 GMT

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