PHP Classes
elePHPant
Icontem

MMP: HTML parser that triggers events for each element

Recommend this page to a friend!
  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 (4 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 356 All time: 6,560 This week: 1,076Up
Version License PHP version Categories
mipso-mmp 1.0GNU Lesser Genera...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

  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:356
This week:0
All time:6,560
This week:1,076Up