New release of HTML5 checker (includes batch checking and WAR file)

"Michael[tm] Smith" <[email protected]>
Newsgroups gmane.org.w3c.validator
Message-ID <[email protected]>
There's a new release of the Nu Markup Checker:

  https://github.com/validator/validator.github.io/releases/latest

The Nu Markup Checker is built from the same code that forms the backend
behind http://html5.validator.nu, http://validator.w3.org/nu/ and the
HTML5 facet of the legacy W3C validator.

The release provides a portable standalone version of the checker (as a
Java jar file, vnu.jar). Use it either for batch checking of HTML documents
directly from the command line and from other scripts/apps, or as a simple
standalone HTTP server that provides a service for browser-based checking
of HTML documents over the Web, similar to http://validator.w3.org/nu/

Documentation on using the vnu.jar file is here:

  http://validator.github.io/#usage

For example, to batch-check one or more local HTML documents:

  java -jar ~/vnu.jar FILE.html FILE2.html FILE3.HTML FILE4.html..

To batch-check all HTML documents in a particular directory:

  java -jar ~/vnu.jar some-directory-name/

To batch-check one or more remote HTML documents:

  java -jar ~/vnu.jar http://example.com/foo http://example.com/bar

To run the checker as a standalone service (using a built-in Jetty server),
open a new terminal window and invoke vnu.jar like this:

  java -cp ~/vnu.jar nu.validator.servlet.Main 8888

...and then open http://localhost:8888 in a browser. (To have the checker
listen on a different port, replace 8888 with the port number.)

The release also provides a WAR file that you can use to deploy the checker
as an application to a servlet container such as Apache Tomcat. Some
documentation on how to do that is here:

  http://validator.github.io/service.html#servlet

(Thanks to https://github.com/jacobq for contributing code for building the
WAR file, and for writing the accompanying documentation on how to use it.)

  --Mike

-- 
Michael[tm] Smith http://people.w3.org/mike
signature.asc (application/pgp-signature, 836 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQIcBAEBCgAGBQJT/XKOAAoJEIfRdHe8OkuV3UgP/0rjjAsMG0DxJ/atPM+psaFU
A/BUiEiriKKVF5hi7i1rW3c3TyELoHr0+WZyD0qdbtUJXrrH/eDjQTqMRRZNzFAU
1mn3vtUPuIqHoc5kOeffonYF3tvrQK9AuTRXDet+TBiM6R8q5qTSOaDIKPw6CkTk
BAJ2Tk6eBgrS1q/bKxManDx3DNDnkUnNanRRylzOCXfbiZZNnM5qR5yh8oUrI8fp
evhuZcwBHBftkdb2jCIZGuFNzl9DU0MZioY0sQkDeCfNx8TYMJbhQsmT/ufcIepj
OBOyuthCVksLBf3TP2PWjFSrSjBMoEOL/PASSO5BJ+9JMBh1tPFE9DYSRx5UkG/9
f3zokOMz/zUAB3/r5gUcdQk9g+y6MwArDuVwjh/E1eEYG7u2zHwrXxVhwAnSgrBe
956zFXxLfZKH2tFvBf5IZMP3+c8oKh5QQk4/nCJHLcJCp3leo8cFGtkv48Woncbv
HOOM4nlVz+lEWZhQ3qJcm3e+XKx0OQTa2qKHTmOEBmTvTmaBwwyaWQVhXmSn70HA
SAEAKiGkSnbQG5BYDFDrqIkvJnBqTRf+fqk3CiPcRb/CpvdMSJNJiZJ5ZAUEIfSL
YgVONwvHTownBV4axKMr80JR22oWckOP1QpCSrW1zzi4KW3AvkUBDfB6kEVOa3+l
H6L/c2sVi8XxD2RAsOU+
=qKui
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.