W3C-PHP is a little php-cli script that can validate a list of URLs trough the W3C validator Web site (http://validator.w3.org/) with PHP-DOM functions.

Version 1.1 is out!
This release adds the option #FOLLOW# for following the internal link of a site (tag A) and validating it.

-> PHP ver >= 5.0.0
-> The script use the PHP-DOM functions

list.txt -> contain the list of url that you need to validate, the URLs must start with ":" without the "http://" prefix for exaple...

With the #FOLLOW# option you can validate the internal link of a site you can active that option with:

check.php -> php script that contain the source code PLEASE CHECK IF YOUR PHP BIN ARE IN /usr/bin/php IF NOT, EDIT THE FIRST LINE OF check.php
For exaple if you have installed php from Yast on Suse probably you have the php bin in /usr/bin/php5 for execute the script you need to edit the first line of check.php or make a link with "ln -s /usr/bin/php5 /usr/bin/php"