Re: Tidy & PHP5

From: Date: Mon, 01 Dec 2003 14:29:06 +0000
Subject: Re: Tidy & PHP5
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-5878@lists.php.net to get a copy of this message
+1 from me; very useful for screen scraping as well as validation and fixing. --Wez. ----- Original Message ----- From: "Ilia Alshanetsky" <ilia@prohost.org> To: "PHP Internals" <internals@lists.php.net> Sent: Monday, December 01, 2003 1:45 PM Subject: [PHP-DEV] Tidy & PHP5 > I would like to propose that tidy extension be bundled with PHP 5. > > First of all it'll provide an easy means to validate and/or fix HTML input for > webforms, which can also help existing functions such as strip_tags(). The > extension can also be used to reduce HTML output by removing formatting, > which can be quite significant for large pages (even if compression is used). > Tidy can also be used to provide a rapid means for conversion between HTML > and XHTML and if needed can even handle XML. To those who need to parse HTML > it also provides a fairly handy OO API (similar to that of simplexml), which > would enable people to write fast HTML parsers in PHP. > > Ilia

« previous php.internals (#5878) next »