Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:5872 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 64233 invoked by uid 1010); 1 Dec 2003 13:35:41 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 64188 invoked from network); 1 Dec 2003 13:35:40 -0000 Received: from unknown (HELO asuka.nerv) (24.112.18.98) by pb1.pair.com with SMTP; 1 Dec 2003 13:35:40 -0000 Received: (qmail 6247 invoked from network); 1 Dec 2003 08:30:50 -0000 Received: from rei.nerv (HELO dummy.com) (rei@192.168.1.1) by asuka.nerv with SMTP; 1 Dec 2003 08:30:50 -0000 Reply-To: ilia@prohost.org To: PHP Internals Date: Mon, 1 Dec 2003 08:45:23 -0500 User-Agent: KMail/1.5.4 Organization: Prohost.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-ID: <200312010845.23909.ilia@prohost.org> Subject: Tidy & PHP5 From: ilia@prohost.org (Ilia Alshanetsky) 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