http://phpimpact.wordpress.com/2 ... arser-jquery-style/
Simple HTML DOM Parser
The Simple HTML DOM Parser is implemented as a simple PHP class and a few helper functions. Itsupports CSS selector style screen scraping (such as in jQuery), canhandle invalid HTML, and even provides a familiar interface tomanipulate a DOM.
Tutorial: Easy Screen Scraping in PHP with the Simple HTML DOM Library
Zend_Dom_Query
Zend_Dom_Query provides mechanisms for querying XML and (X)HTML documents utilizingeither XPath or CSS selectors. It was developed to aid with functionaltesting of MVC applications, but could also be used for rapiddevelopment of screen scrapers.
CSS selector notation is provided as a simpler and more familiarnotation for web developers to utilize when querying documents with XMLstructures. The notation should be familiar to anybody who hasdeveloped Cascading Style Sheets or who utilizes Javascript toolkitsthat provide functionality for selecting nodes utilizing CSS selectors.
phpQuery
phpQuery is a server-side, chainable DOM selector & manipulator. CSSselectors are used to fetch nodes. It’s a partial port of jQueryJavaScript Library to PHP5. It doesn’t need jQuery to work. API iscompatible with jQuery 1.2.
DomQuery
DomQuery is a wrapper for various features of the DOM extension to provide ajQuery-like API for them using the SPL ArrayObject class as a base forstorage and iteration. |