PHP Classes

MMP: HTML parser that triggers events for each element

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 359 All time: 6,925 This week: 206Up
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: United States United States

  Files folder image Files (5)  
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 (5)  /  classes  
File Role Description
Files folder imagehtml (2 files)

  Files folder image Files (5)  /  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.

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:359
This week:0
All time:6,925
This week:206Up