Login   Register  
PHP Classes
elePHPant
Icontem

Class: HTML SAX Parser

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Alexey G. Piyanin  >  HTML SAX Parser  >  Download .tar.gz .zip  >  Support forum Support forum (2)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: HTML SAX Parser
Base name: html_saxparser
Description: Parse HTML documents using regular expressions
Related classes: , , , , ,
Version: -
PHP version: -
License: The PHP License
All time users: 2813 users
All time rank: 1081
Week users: 2 users
Week rank: 1753
Picture of Alexey G. Piyanin
Author: Alexey G. Piyanin <e-mail contact>
Packages: 1 Browse this author's classes Browse this author's classes
Country: Russian Federation Russian Federation - PHP jobs in Russian Federation
Age: 35
All time rank: 88828 in Russian Federation Russian Federation
Week rank: 128340 in Russian Federation Russian Federation


  Detailed description  
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.


 

  Groups  
Group folder image HTML HTML generation and processing View top rated classes

  Rate classes User ratings   Trackback   Applications   Files Files  

  User ratings  
Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Good (90.6%)
Good (90.6%)
Sufficient (60.7%)
Good (93.8%)
-
-
Sufficient (69.8%)
195
Month:
Not yet rated by the users

  Trackback links  
Link Description
Simple SAX parser for PHP Yesterday, I was working on PRAjax. The UpdatePanel did not work completely as I wanted it to work: in the background, the whole page was still fetched and updated. A cleaner way would be to just fetch updated content and not the whole page...

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Image file 1.jpg Data Image for example1.html
Image file 2.jpg Data Image for example1.html
Image file 3.jpg Data Image for example1.html
Image file 4.jpg Data Image for example1.html
Plain text file changelog.txt Doc. Changelog
HTML file example1.html Data Example HTML source
Plain text file example1.php Example Example #1 (show only images on page)
Plain text file example1wc.php Example Example #1 with use class
Plain text file example2.php Example Example #2 (page tree)
Plain text file example2wc.php Example Example #2 with use class
Plain text file example3.php Example Example #3 (find only first image)
Plain text file example3wc.php Example Example #3 with use class
Plain text file example4.php Example Example #4 (get body tag content)
Plain text file example5.php Example Example #5 (get page part - news on yahoo.com)
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

Download all files: html_saxparser.tar.gz html_saxparser.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.