News Feed
Sections




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

DevShed:
Working with the Tidy Library in PHP 5
June 27, 2007 @ 08:42:00

In this new tutorial from DevShed, they demonstrate the use of a handy little bit of functionality to help keep your code (and markup) clean - Tidy.

Now that you know that the Tidy (X)HTML formatting/correcting application can be called directly from your own PHP 5 scripts, over the course of this series, which is comprised of three friendly tutorials, I'm going to walk you through using the bunch of useful functions included with this library.

This tutorial (part one) talks about the parsing of (X)HTML strings and using the tidy_clear_repair, tidy_parse_file and tidy_repair_file functions to handle the cleanup of (X)HTML strings and files automatically.

0 comments voice your opinion now!
php5 tutorial tidy library extension xhtml php5 tutorial tidy library extension xhtml


blog comments powered by Disqus

Similar Posts

SitePoint PHP Blog: Adding Social Network Features to a PHP App with Neo4j

IBM developerWorks: Process and integrate Google Notebook data with PHP

Matthew Weir O'Phinney's Blog: Phly_Struct? no, Phly_Hash...

SitePoint PHP Blog: More Useful Jenkins Plugins for PHP Projects

SitePoint PHP Blog: Visualize Your Code’s Quality with PhpMetrics


Community Events

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


language api opinion interview development conference laravel5 unittest laravel podcast introduction series wordpress library middleware framework community voicesoftheelephpant extension release

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