Command line W3C Validator 1.0
The Command Line W3C Validator is a modified version of the very useful online W3C 32 Validator. The intention was to produce a version of the validator that did not require a web server to use it. Indeed, no additional software is required (besides pre-requisites such as Perl).
The use of the command line rather than CGI/mod_perl access means that
(See attached file, readme.txt for more information)
Using the Command Line Validator
To use the validator, download a version of it. For fastest startup, download the complete package. If you already have the
If you download the full version, simply extract the tar file to a directory (it will create a "w3cvalidator" subdirectory). Inside there you will find a "bin" directory containing the "check" program. Run this in accordance with the usage notes (see attached file)
If you already have the
Integration With Other Applications
To use the command line program within other applications, there are two "modes" of operation. The first is to simply run the check program with whatever arguments you require. This works fine, but involves a lot of Perl compilation and subsequent reading of configuration files, so is quite slow and resource hungry.
Alternatively, specify a dash ("-") as the file to validate and check will drop into a sort-of interactive mode. Here you can just enter the same arguments as you would have done on the command line; check will operate the same way, but only compiles the perl and reads configuration once.
For more information, see the usage notes (see attached file).
For more elaborate integration, one might want to have links to documentation about the
Downloads - see attached files.
I intend to do a proper job of maintaining this application one day. If you're keen to take over, let me know ;-) Update: Wiki-fiying is the start of that