Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Make Me Pulse Blog:
Yui Treeview with Php tidy
Jan 23, 2008 @ 11:18:00

Antoine Ughetto has quickly posted about an interesting combination - php_tidy and the Yahoo! YUI Treeview to easily make a nested, recursive list.

A rapid experimentation with php tidy and Yui treeview for rendering the DOM of a specific page. We user the tidy_parse_file() and a simple recursive function to display a treeview.

You can check out an example over on their demo page. Plug in your website of choice and get the resulting HTML stricture (all cleaned up) represented as a nice, ordered tree list.

tagged: tidy extension yui yahoo treeview html content