Archive for June, 2010

Working with DOM in PHP – Looking at a PHP HTML Parser

Sunday, June 6th, 2010

So, lets assume you've got a PHP project where you're scraping pages and trying parse fields out of the DOM.  Up till now, I've just used regular expressions because they're easy.  I avoided trying to parse html as xml using SimpleXML because there's just to many cases where it would ...