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@[]>
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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:58:27 UTC