Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:5873 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 71800 invoked by uid 1010); 1 Dec 2003 13:39:22 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 71776 invoked from network); 1 Dec 2003 13:39:22 -0000 Received: from unknown (HELO cicero2.cybercity.dk) (212.242.40.53) by pb1.pair.com with SMTP; 1 Dec 2003 13:39:22 -0000 Received: from uros.krug.dk (port118.ds1-rdo.adsl.cybercity.dk [212.242.124.121]) by cicero2.cybercity.dk (Postfix) with ESMTP id 47EE4191A26; Mon, 1 Dec 2003 14:39:04 +0100 (CET) Received: from emini.dk (unknown [212.242.124.121]) by uros.krug.dk (Postfix) with ESMTP id E919415041D; Mon, 1 Dec 2003 14:38:28 +0100 (CET) Date: Mon, 1 Dec 2003 14:38:56 +0100 Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v553) Cc: PHP Internals To: ilia@prohost.org In-Reply-To: <200312010845.23909.ilia@prohost.org> Message-ID: Content-Transfer-Encoding: 7bit X-Mailer: Apple Mail (2.553) X-MailScanner-Information: Please contact postmaster@emini.dk for information X-MailScanner: Found to be clean Subject: Re: [PHP-DEV] Tidy & PHP5 From: edink@emini.dk (Edin Kadribasic) References: <200312010845.23909.ilia@prohost.org> On Monday, Dec 1, 2003, at 14:45 Europe/Copenhagen, Ilia Alshanetsky wrote: > 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. Sounds like a useful thing for many typical PHP applications, so +1 from here. Edin