W3C home > Mailing lists > Public > www-validator@w3.org > January 2003

Re: Local validator from commandline

From: Hans Christian Studt <hcstudt@post10.tele.dk>
Date: Fri, 10 Jan 2003 20:54:01 +0100
Message-ID: <3E1F24D9.8020000@post10.tele.dk>
To: www-validator@w3.org

Nick Kew wrote:
> On Thu, 9 Jan 2003, Hans Christian Studt wrote:
> 
>>It works now.
>>
>>I am developing a tool to mass validate html files and want be 
>>able to run every thing off-line without http access to the 
>>html files.
> 
> That's a much simpler task than the online validator (collecting and
> processing your results becomes the interesting part).  You might
> be better off writing your own script around the OpenSP parser than
> using the full validator code.

For now I have decided to copy the local file to
/var/www/html/tmp
which can be accessed through apache on this address
http://localhost/tmp/baggrund.html

The validation command looks like this
wget --verbose --tries=1 --timeout=120 
--user-agent=Mozilla/5.0 
http://localhost/w3c-validator/check?uri=http%3A%2F%2Flocalhost%2Ftmp%2Fbaggrund.html

Have a nice weekend
-- 
Hans Christian Studt  : http://hc.studt.dk  mailto:hc@studt.dk
.dk og W3C standarder : http://w3c.studt.dk
Received on Friday, 10 January 2003 14:46:31 GMT

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