PHP Interface to the W3 HTML Validator

November 28th, 2006 by bbieber Leave a reply »

Last night a co-worker mentioned the W3’s new API for their HTML Validator, which sounded pretty handy.

I searched around on the Internet and found a few people who had scratched some things together to read the SOAP 1.2 response data, but nothing object oriented and re-usable the way I would need it to be. So I went ahead and coded up a simple PEAR Package which will connect to the W3’s validator and check if a given URI is valid.

In our office we have talked about developing a tool that would automatically crawl a site to do simple blind validation, and this tool will be a starting point for that system.

Today I proposed the package to pear.php.net, and plan on continuing development if not on pear.php.net at least on my own channel pear.saltybeagle.com.

Wish me luck… this is my first pepr proposal in about 2 years… and a PEAR package which might actually be worthwhile for others.

Check out my proposal for Services_W3C_HTMLValidator.

Advertisement

Leave a Reply