HTML Parser for PHP-4
Note: This project has been inactive for some time,
but we recommend checking out
Simple HTML DOM Parser,
which is a PHP 5 DOM parser based on this project.
OverviewThis is an open source HTML parser written in PHP. This parser also comes with a tool that converts HTML to text, as an example.This parser is designed for speed and flexibility. It does not create an object model for you. But it doesn't prevent you from using its results to create an object model if you need to. It is not based on callbacks (like a SAX parser) but instead you ask for the next element or node in the document as needed. RequirementsThis parser has been tested with PHP 4.0.4. It should work with PHP 4.0.3+.DownloadThe latest version is available at SourceForge's download area for this project.User TipsYou only need to copysrc/htmlparser.inc to a location in your
codebase where you'd like to be able to include it.
The PHP file which uses the parser might look like
this:
The field named FeedbackOther Projects
|