|» Metadata||» Status|
Provides an OO interface to the API of the W3 HTML Validator application (http://validator.w3.org/). With this package you can connect to a running instance of the validator and retrieve the validation results (true|false) as well as the errors and warnings for a web page.
It utilizes the SOAP1.2 output format for the validator to obtain results and populate simple objects for the results.
For more information see http://validator.w3.org/docs/api.html
A simple example:
Detailed results are also available:
Added validateFragment($html) to validate a string of html content.
Added validateFile($file) for validating uploaded documents.
Add method to response object isValid().
Add examples for validateFile and validateFragment
Correct CS and phpdoc errors (thx David Coallier/CPUnerd).
Switched methods from private to protected to allow overriding.
Move all variables which were int 0|1 to booleans (thanks Christian Weiske).
|» Dependencies||» Links|
|» Timeline||» Changelog|