Login   Register  
PHP Classes
elePHPant
Icontem

MMP: HTML parser that triggers events for each element

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   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2012-04-22 (2 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 353 All time: 6,193 This week: 2,052Up
Version License PHP version Categories  
mipso-mmp 1.0GNU Lesser General Publ...5.2HTML, PHP 5
Description Author  

This class is an HTML parser that triggers events for each document element that it finds.

It can take a text string with a HTML document and parse it.

The class triggers events for each type of page element that it finds.

It calls specific functions of a separate processor object that can processing functions passing the details of each element as parameters.

Currently it triggers events for start tag, end tags and character data.

Picture of Rodrigo Contreras K.
Name: Rodrigo Contreras K. <contact>
Classes: 1 package by
Country: Chile Chile
Age: 37
All time rank: 325212 in Chile Chile
Week rank: 1758 Up5 in Chile Chile Up

  Files folder image Files  
File Role Description
Files folder imageclasses (1 directory)
Plain text file BasicProcessor.class.php Class Sample processor instance.
Accessible without login Plain text file mmp_test_01.php Example Sample script.
Accessible without login Plain text file output_test_01.txt Output Sample output.

  Files folder image Files  /  classes  
File Role Description
Files folder imagehtml (2 files)

  Files folder image Files  /  classes  /  html  
File Role Description
  Plain text file AbstractMMProcessor.class.php Class Abstract base class for custom processors.
  Plain text file MMP.class.php Class The core SAX Parser.

 Version Control Unique User Downloads Download Rankings  
 0%Total:353All time:6,193
 This week:0This week:2,052Up