I just threw together a few regular expressions in PHP that'll do *this* job I want.... not elegant, nor very re-usable.. but I'm going to keep searching for a decent PHP HTML parser in the meantime. Thanks, Matt! Anybody else want to chime in please do.
On Aug 15, 8:41 pm, "Matt Stith" <[EMAIL PROTECTED]> wrote: > I believe there is a PECL extension called DOMParser or something like that, > i find it during my hunt, but the server i was working on wouldnt allow me > to install it.. Oh well.. Had to write myself a table parser.. fun. > > On 8/15/07, MikeR <[EMAIL PROTECTED]> wrote: > > > > > Unfortunately, I haven't found one either... obviously. It's quite > > difficult finding a decent HTML parser in PHP. Oh well... guess I can > > still dream about one. > > > On Aug 15, 7:29 pm, "Matt Stith" <[EMAIL PROTECTED]> wrote: > > > I highly doubt something like that exists. I had trouble finding an HTML > > > parser in any form for php, let alone one with the rich feature set of > > > jQuery. Good luck on your hunt! > > > > On 8/15/07, MikeR <[EMAIL PROTECTED]> wrote: > > > > > We all know & love jQuery, but something that I've been wondering for > > > > a while now... not sure if it's feasible or not, but I'll ask anyway > > > > =). > > > > > Is there any sort of HTML parser for PHP that's similar to jQuery's > > > > selectors? > > > > > ie: $('div.class').html()...... but a PHP version? > > > > > Thanks!