Login   Register  
PHP Classes
elePHPant
Icontem

HTML SAX Parser: Parse HTML documents using regular expressions

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 (17)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2006-06-18 (8 years ago) RSS 2.0 feedStarStarStarStar 69%Total: 2,926 All time: 1,175 This week: 1,538Down
Version License Categories  
html_saxparser 1.0The PHP LicenseHTML
Description Author  

This class can parse HTML documents using regular expressions to split the document character data, the begin and end tag elements.

For each type of elements, the class call custom callback that can do any type of processing. The callback functions may bu global or be functions of a class of a given object.

Picture of Alexey G. Piyanin
Name: Alexey G. Piyanin <contact>
Classes: 1 package by
Country: Russian Federation Russian Federation
Age: 38
All time rank: 98831 in Russian Federation Russian Federation
Week rank: 1879 Down48 in Russian Federation Russian Federation Down

  Files folder image Files  
File Role Description
Accessible without login Image file 1.jpg Data Image for example1.html
Accessible without login Image file 2.jpg Data Image for example1.html
Accessible without login Image file 3.jpg Data Image for example1.html
Accessible without login Image file 4.jpg Data Image for example1.html
Accessible without login Plain text file changelog.txt Doc. Changelog
Accessible without login HTML file example1.html Data Example HTML source
Accessible without login Plain text file example1.php Example Example #1 (show only images on page)
Accessible without login Plain text file example1wc.php Example Example #1 with use class
Accessible without login Plain text file example2.php Example Example #2 (page tree)
Accessible without login Plain text file example2wc.php Example Example #2 with use class
Accessible without login Plain text file example3.php Example Example #3 (find only first image)
Accessible without login Plain text file example3wc.php Example Example #3 with use class
Accessible without login Plain text file example4.php Example Example #4 (get body tag content)
Accessible without login Plain text file example5.php Example Example #5 (get page part - news on yahoo.com)
Accessible without login Plain text file example6.php Example Example #6 (get wikipedia page content)
Plain text file PageProcessor.php Class Class use in examples
Plain text file SAXParser.php Class Main class

 Version Control Unique User Downloads Download Rankings  
 0%Total:2,926All time:1,175
 This week:0This week:1,538Down
User Ratings User Comments (1)  
 All time
Utility:88%StarStarStarStarStar
Consistency:88%StarStarStarStarStar
Documentation:65%StarStarStarStar
Examples:94%StarStarStarStarStar
Tests:-
Videos:-
Overall:69%StarStarStarStar
Rank:240
 
Excellent
5 years ago (kishore kumar)
80%StarStarStarStarStar