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

PHP Library to the HTML Validator API

From: Brett Bieber <brett.bieber@gmail.com>
Date: Wed, 3 Jan 2007 16:41:09 -0600
Message-ID: <efa010fb0701031441q3a710939vd2da670b5c277fc6@mail.gmail.com>
To: www-validator@w3.org

Hey all,
I've put together a PHP library installable via PEAR which is similar
to the PERL CPAN library.

http://pear.php.net/package/Services_W3C_HTMLValidator/

Usage example:
<?php
require_once 'Services/W3C/HTMLValidator.php';
$v = new Services_W3C_HTMLValidator();
var_dump($v->validate('http://www.unl.edu/'));
?>

I thought this might be useful for some others.... cheers!

-- 
-Brett

http:saltybeagle.com aim:ianswerq
Received on Thursday, 4 January 2007 01:30:19 GMT

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