Re: [PHP4BETA] php and MS SQL Server....

From: Date: Tue, 07 Mar 2000 07:34:33 +0000
Subject: Re: [PHP4BETA] php and MS SQL Server....
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-11661@lists.php.net to get a copy of this message
Hello Lukasz, On 06-Mar-00 20:59:47, you wrote: >| This is nice but parsing HTML documents in PHP it is a pain. As with any >| other interpreted language, doing many interations over data is very slow >| task for PHP. A good alternative would be to use W3C libwww to handle >| that. I was willing to do it, but after the descrimination suffered >| before, I felt discouraged and never bothered to do it. The project was >| working, but the document analysis is still very slow. >| >| There are plenty of uses for libwww. If we think just of HTML parsing, I >| can imagine useful applications like document indexing for search engines. >| Perl comes with the HTML::Search package that does precisely that with >| libwww. >Hi there! >I'd like to make an official statement : >MAN! >DON'T DISCOURAGE YOURSELF FROM DEVELOPING libwww FOR PHP ! >If you can't post it to cvs, I'd be glad to download it from your site or >from anywhere else - HTML parsing under PHP right now really sucks (you have >to use things like link_harvester and so on...) and it would really make my >job much less time-consuming! Cheers, Precisely. Anyway, it's too late. I no longer work in that project so the opportunity to add libwww support is gone. I don't have any project now that needs that to justify allocating some of my very scarce free time. You can always submit it as a feature request in PHP bug report pages, but don't keep your hopes too high. Alternatively, if you really need some sort of HTML parsing support, you may want to try the HTMLTidy program from the W3C site that converts ordinary HTML to XHTML (XML compliant HTML) and then use PHP's XML parsing support to handle it. It's not quite the same as parsing the original HTML files because you may not be able to rebuild the orginal HTML data again. But if I needed to some sort of HTML parsing support now, I most likely would not bother to add libwww support to PHP after the bad acceptance experiences of the past and no demonstration from Rasmus that it would be different in the future! :-( Regards, Manuel Lemos Web Programming Components using PHP Classes. Look at: http://phpclasses.UpperDesign.com/?user=mlemos@acm.org -- E-mail: mlemos@acm.org URL: http://www.mlemos.e-na.net/ PGP key: http://www.mlemos.e-na.net/ManuelLemos.pgp --

« previous php.version4 (#11661) next »