Login   Register  
PHP Classes
elePHPant
Icontem

Valid Markup: Convert the HTML output to XHTML using Tidy

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2008-05-02 (6 years ago) RSS 2.0 feedNot enough user ratingsTotal: 490 All time: 5,330 This week: 1,687Up
Version License PHP version Categories  
validmarkup 1.0MIT/X Consortium License5HTML, XML, PHP 5
Description Author  

This is a very simple class that can convert the HTML output of a page to XHTML using the Tidy extension.

It starts output buffering using the ob_tidyhandler function as filter to make it regenerate the current script HTML output to make sure it is formatted as XHTML.

The class may set the DTD to one of several possible HTML and XHTML versions.

Picture of Vagharshak Tozalakyan
Name: Vagharshak Tozalakyan <contact>
Classes: 28 packages by
Country: Armenia Armenia
Age: 34
All time rank: 61 in Armenia Armenia
Week rank: 15 Down1 in Armenia Armenia Equal
Innovation award
Innovation award
Nominee: 7x

  Files folder image Files  
File Role Description
Plain text file class.ValidMarkup.php Class Class source
Accessible without login Plain text file example.php Example Example of usage
Accessible without login Plain text file readme.txt Doc. How to use

 Version Control Unique User Downloads Download Rankings  
 0%Total:490All time:5,330
 This week:0This week:1,687Up