W3C home > Mailing lists > Public > www-validator@w3.org > March 2011

Re: Validator and Java

From: David Dorward <david@dorward.me.uk>
Date: Wed, 23 Mar 2011 10:08:34 +0000
Cc: www-validator@w3.org
Message-Id: <FBCCE124-971E-424D-92C4-1193DE697448@dorward.me.uk>
To: Lucas Hernandez <lucashernandez87@gmail.com>
On 22 Mar 2011, at 22:58, Lucas Hernandez wrote:
> I need no validate thousands and thousands of URLs, that's why I want to download the validator's source code and code something with Java to use it on an automated way. The two biggest problems I have is that your source code is in Perl and that I use Windows XP.
> So, is this possible? Where should I start?

There are two basic issues here. 

First is getting a copy of the validator running. Since I'm lazy, I would probably download VirtualBox, install Debian in it and then install the validator using the Debian package (apt-get install w3c-markup-validator). If I wanted to run it  directly under Windows then there are instructions at http://validator.w3.org/docs/install_win.html

You can then use the API (http://validator.w3.org/docs/api.html) from your Java application to interact with it.

David Dorward
Received on Wednesday, 23 March 2011 10:09:11 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:18:03 UTC