||Tidy HTML Repairing and Parsing
John Coggeshall <
john at php dot net >
Ilia Alshanetsky <
ilia at php dot net >
Michael Wallner <
mike at php dot net >
Nuno Lopes <
nlopess at php dot net >
||Tidy is a binding for the Tidy HTML clean and repair utility which
allows you to clean and manipluate HTML documents.
NOTE: This is the PHP4 version!
The tidy extension now works in PHP4 for most tasks, only the parsing
abilities of the extension are not available (ZE2 only). The OO portions
of the extension have been completely re-written and are now stable and
work quite well.
The way all tidy functions work has also changed slightly. Instead of
calling tidy_create() to create a tidy resource, the tidy resource is
stored internally and used as needed. Thus, all tidy functions no longer
need the initial $tidy parameter to function. If you'd like to reset
tidy to an initial state, you can still call tidy_create(). This change
was done to make tidy faster per-request. Special Thanks to Ilia
Alshanetsky for his work in this respect (among other things)!