> 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 :)

I don't know the tidy api very well, but wouldn't be the normal way to have an 
object for a Document (which was created by tidyCreate) instead to use a 
global value for? So you can work with multiple documents, and you also can 
add additional (userland) functionality. This would be the "normal" behaviour 
for new php5 extensions (simplexml, sqlite, mysqli, mono, ...).

Just my 0,024$

Georg

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to