Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:5878 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 70280 invoked by uid 1010); 1 Dec 2003 14:29:33 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 70246 invoked from network); 1 Dec 2003 14:29:32 -0000 Received: from unknown (HELO mx.thebrainroom.net) (65.200.24.98) by pb1.pair.com with SMTP; 1 Dec 2003 14:29:32 -0000 Received: by mx.thebrainroom.net (Postfix, from userid 517) id 57C4F1488089; Mon, 1 Dec 2003 06:28:50 -0800 (PST) Received: from obsidian (zaneeb.thebrainroom.net [82.133.1.138]) by mx.thebrainroom.net (Postfix) with ESMTP id BCFC91488087; Mon, 1 Dec 2003 06:28:47 -0800 (PST) Message-ID: <060b01c3b817$7acfe770$8802a8c0@obsidian> To: , "PHP Internals" References: <200312010845.23909.ilia@prohost.org> Date: Mon, 1 Dec 2003 14:29:06 -0000 Organization: The Brain Room Ltd. MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Spam-Status: No, hits=-0.9 required=5.0 tests=AWL,BAYES_30,QUOTED_EMAIL_TEXT,REFERENCES version=2.55 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) X-TBR-Filter: Virus scanned and defanged Subject: Re: [PHP-DEV] Tidy & PHP5 From: wez@thebrainroom.com ("Wez Furlong") +1 from me; very useful for screen scraping as well as validation and fixing. --Wez. ----- Original Message ----- From: "Ilia Alshanetsky" To: "PHP Internals" 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