PHP Classes
elePHPant
Icontem

CriosWeb HTML Cleaner: Remove unwanted tags and data from HTML 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 (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2008-10-03 (6 years ago) RSS 2.0 feedStarStarStarStar 73%Total: 1,918 All time: 1,932 This week: 808Up
Version License PHP version Categories  
criosweb_htmlcleaner 1.0Free for non-comm...4.3HTML
Description Author  

This class can be used to remove unwanted tags and data from HTML document.

It takes a string with the HTML document to clean and parses it assuming a given character set encoding.

The class can perform several types of clean-up operations like:

- Removing style definitions
- Remove tags or attributes based on white lists or blacklists
- optimize code (merge inline tags, strip empty inline tags, trim excess new lines)
- Use the HTML tidy extension to clean the document and format the output as XHTML and drop proprietary attributes from Microsoft Word HTML documents
- Drop empty paragraphs
- Remove needless white space
- Fill empty table cells

Picture of Lucian Sabo
Name: Lucian Sabo <contact>
Classes: 1 package by
Country: Romania Romania
Age: ???
All time rank: 142636 in Romania Romania
Week rank: 1841 Down38 in Romania Romania Down

  Files folder image Files  
File Role Description
Accessible without login Plain text file changelog.txt Doc. changelog
Plain text file HTMLCleaner.php Class Main class file
Accessible without login Plain text file index.php Example usage example
Accessible without login HTML file readme.html Doc. readme
HTML file test.html Data Uggly HTML Test File

 Version Control Unique User Downloads Download Rankings  
 0%Total:1,918All time:1,932
 This week:0This week:808Up
User Ratings User Comments (1)  
 All time
Utility:95%StarStarStarStarStar
Consistency:75%StarStarStarStar
Documentation:87%StarStarStarStarStar
Examples:91%StarStarStarStarStar
Tests:-
Videos:-
Overall:73%StarStarStarStar
Rank:111
 
That was very good Thank u "Lucian"
5 years ago (hightech)
77%StarStarStarStar