News Feed
Jobs Feed
Sections

Recent Jobs

News Archive
DevShed:
Parsing Web Document Nodes with the Tidy Library in PHP 5
July 03, 2007 @ 11:50:00

Continuing on with their look at using Tidy in PHP5 applications, DevShed has posted this second part of the series, a look a parsing document nodes with the help of the Tidy library.

In this second article of the series I'm going to discuss how to extract different sections of a specific (X)HTML document (called file nodes) by using the capabilities provided by some additional functions included with this library.

They start by pulling the document into a Tidy instance and formating it a bit before moving on. Following this, they work with a few of the methods Tidy has to offer to pull information from the parsed document - tidy_get_html, tidy_get_head, tidy_get_body and tidy_get_output.

0 comments voice your opinion now!
php5 parse document tutorial library gethtml gethead getbody get output php5 parse document tutorial library gethtml gethead getbody get output



Similar Posts

DevShed: Introducing the Facade Pattern in PHP 5

Matthew Turland's Blog: Meet Phergie

Zend Developer Zone: Flex and PHP: Party in the Front, Business in the Back

DevShed: Retrieving Information on Several Objects with Destructors in PHP 5

Joseph Crawford's Blog: CodeIgniter


Community Events







Don't see your event here?
Let us know!


book release cakephp database zend application developer package job framework code conference releases mysql security zendframework example PHP5 ajax PEAR

All content copyright, 2008 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework