On Mon, 1 Dec 2003, Ilia Alshanetsky wrote:
> I would like to propose that tidy extension be bundled with PHP 5.
I'm -1 on this until the API gets cleaned up so that it either makes 1)
use of resources or 2) objects instead of polluting the global scope
with document and related settings.
Derick
Hello Georg,
Monday, December 1, 2003, 10:11:10 PM, you wrote:
>> before bundling i'd like to see the api refined...
>>
>> right now it's not possible to work with more than one html-doc at a
>> time. (tidy_parse_file() does not return a resource to the internal
>> tidy doc, so you can only have
> before bundling i'd like to see the api refined...
>
> right now it's not possible to work with more than one html-doc at a
> time. (tidy_parse_file() does not return a resource to the internal
> tidy doc, so you can only have one doc at a time)
Yes, Thies is right here! But
s/resource/object
In the primary use of tidy (which is to validate HTML), there is very
little need for a returned resource other than to clutter the namespace.
Unlike most extensions, where it would be useful imo the resource is
unnecessary. Since we can reuse the container for the tidy
documentation, it's much fas
before bundling i'd like to see the api refined...
right now it's not possible to work with more than one html-doc at a
time. (tidy_parse_file() does not return a resource to the internal
tidy doc, so you can only have one doc at a time)
also we should ask ourself if (i haven't used tidy so i m
> I would like to propose that tidy extension be bundled with PHP 5.
+1
Georg
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
+1 there are ... a lot :-)
- Original Message -
From: "John Coggeshall" <[EMAIL PROTECTED]>
To: "PHP Internals" <[EMAIL PROTECTED]>
Sent: Monday, December 01, 2003 4:31 PM
Subject: Re: [PHP-DEV] Tidy & PHP5
> > I would like to propose that tidy
> I would like to propose that tidy extension be bundled with PHP 5.
Uhh... +1 from me, too. :)
John
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
+1 if this is counted :)
Moriyoshi
On 2003/12/01, at 22:45, 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_t
+1 from me; very useful for screen scraping as well as validation and
fixing.
--Wez.
- Original Message -
From: "Ilia Alshanetsky" <[EMAIL PROTECTED]>
To: "PHP Internals" <[EMAIL PROTECTED]>
Sent: Monday, December 01, 2003 1:45 PM
Subject: [PHP-DEV] Tidy & PHP5
> I would like to propos
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().
T
11 matches
Mail list logo