W3C-PHP 1.1 review

Download
by rbytes.net on

License: GPL (GNU General Public License)
File size: 9K
Developer: Andrea Menin
0 stars award from rbytes.net

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.

Configuration:

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

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

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"

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

What's New in This Release:
This release adds the option #FOLLOW# for following the internal link of a site (tag A) and validating it.

W3C-PHP 1.1 search tags