Monthly Archives: July 2010

JavaScript-like innerHTML access in PHP

As part of an update to the Five Filters Full-Text RSS service, I’ve been porting some JavaScript code (Arc90′s current version of Readability) to PHP. It contains a lot of DOM manipulation which translates very easily – thanks to PHP5′s DOM support. But one thing I wasn’t able to do was manipulate the DOM tree [...]

Posted in Code | Tagged , , , | 9 Comments