Login   Register  
PHP Classes
elePHPant
Icontem

Clean Output: Reformat HTML and XML documents

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 (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (5)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2009-06-04 (5 years ago) RSS 2.0 feedStarStarStar 58%Total: 1,594 This week: 1All time: 2,280 This week: 1,141Up
Version License PHP version Categories  
cleanoutput 2Free for non-commercial...5HTML, XML, PHP 5
Description Author  

This class can be used to reformat HTML or XML documents.

It can read a string with HTML or XML and indent its lines according to the depth of the tags and data.

Optional it can show in the outputted document a trace of the indentation level.

Picture of Jon Gjengset
Name: Jon Gjengset is available for providing paid consulting. Contact Jon Gjengset .
Classes: 10 packages by
Country: Norway Norway
Age: 25
All time rank: 2301 in Norway Norway
Week rank: 232 Down1 in Norway Norway Equal
Innovation award
Innovation award
Nominee: 3x

  Files folder image Files  
File Role Description
Plain text file cleanmyhtml.class.php Class The CleanOutput class
Accessible without login Plain text file cleanoutput.example.php Example Example of usage of the CleanOutput class

 Version Control Unique User Downloads Download Rankings  
 0%Total:1,594All time:2,280
 This week:1This week:1,141Up
 User Ratings  
 
 All time
Utility:87%StarStarStarStarStar
Consistency:79%StarStarStarStar
Documentation:-
Examples:66%StarStarStarStar
Tests:-
Videos:-
Overall:58%StarStarStar
Rank:1026