Login   Register  
PHP Classes

Private Validator: Validate the HTML output of a private web server

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author Author  
Picture of Steve Clay
Name: Steve Clay <e-mail contact>
Packages: 1 Browse all classes by Steve Clay Browse all classes by
Country: United States United States - PHP jobs in United States
Age: 39
All time rank: 1829238 in United States United States
Week rank: 1348 Up152 in United States United States Up
Innovation award
Innovation award
Nominee: 1x

  Detailed description   Download Download .zip .tar.gz  
Private Validator is a class that can be used to validate the HTML output of a private Web server via the public W3C's Validation Service.

This class is useful to validate pages served by a private Web server that cannot be reached by W3C's server. The class fetches a private page to be validated and submits it to the validator service pages and collect the validation results.

  Classes of Steve Clay  >  Private Validator  >  Download Download .zip .tar.gz  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Private Validator
Base name: private_validator
Description: Validate the HTML output of a private web server
Version: -
PHP version: -
License: GNU General Public License (GPL)
All time users: 1263 users
All time rank: 2760
Week users: 1 user
Week rank: 1884 Up
  Groups   Rate classes User ratings   Applications   Related links   Files Files  

Group folder image HTML HTML generation and processing View top rated classes
Group folder image Web services Web data clipping, SOAP or XML-RPC clients and servers View top rated classes
Group folder image Validation Validation algorithms View top rated classes

  Innovation Award  
PHP Programming Innovation award nominee
May 2004
Number 7
Sometimes Web developers make mistakes that result in bugs in their applications making them generate bogus HTML. Often these bugs are so subtle that is impossible to notice them just by displaying the pages in one browser.

Most browsers tolerate erroneous HTML but what may seem to render well in one browser, may not look very well in other browsers, preventing the users to see the information on the pages properly.

One solution for this problem is to use HTML validation tools to systematically detect bugs as early as possible during the development of the Web applications. The W3 Consortium site provides an useful HTML validation tool that may assist in the validation of the pages of Web applications.

However, many developers work on applications that are not meant to be made available to the public, at least during the development phase, thus preventing the use of tools need to have public access to the pages, like it is the case of W3C validation tools.

This class provide a solution that works around the problem by providing a means to submit the HTML code of the private pages to the W3C tools via a Web server that has full access to the world wide web, acting like a proxy.

The class collects the results of the W3C tools and display them in a page accessible to the Web developers so they can take the necessary fixing action if it is the case.

Manuel Lemos

  User ratings  
RatingsUtility Consistency Documentation Examples Tests Videos Overall Rank
All time: Good (90.0%) Sufficient (60.0%) Sufficient (70.0%) Sufficient (75.0%) - - Sufficient (65.5%) 453
Month: Not yet rated by the users

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.

  Related links  
Link Description
Private Validator home Documentation, latest release, etc.

  Files folder image Files  
File Role Description
Plain text file http.inc.php Class HTTP client class
Accessible without login Plain text file privateValidate.php Example PV application
Plain text file PrivateValidator.class.php Class PV class file
Accessible without login HTML file readme.html Doc. Information

Download Download all files: private_validator.tar.gz private_validator.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.