?

Log in

No account? Create an account

February 21st, 2007

On Vox: LazyVox - I don't know PHP.

What's the best way to parse XML in PHP? I've tried using DOMDocument(), but it's driving me up a fucking wall. The constructor doesn't seem to work as documented, and when I finally do get an object, using domxml_open_mem(string), the documented methods blow up. Hate hate hate hate.

If you're wondering what I'm doing, I just want to walk the items in this feed and pull out the value of the title node as well as the url attribute of the enclosure node. I was able to do it in Javascript using the browsers DOM parser, and would like an easy port.

Originally posted on pop.vox.com

On Vox: Oh YAY!

Props to ruiner. for pointing this out.

Man oh man! I'm still amped up about the forthcoming release of Hot Fuzz, but it looks like there's already another hilarious looking Simon Pegg movie on the horizon:


Note: Siouxsie and the Banshees shirt, the Fratellis playing in the background, and the obvious take on Run Lola Run for the title. These all make me very happy.

Unrelated: When I went to IMDB just now to grab that link for Hot Fuzz, I noticed that there's an Open Water 2... WHAT THE FUCK?

Originally posted on pop.vox.com

On Vox: Awww yeah

Oh man.. I spent a little time last night and tonight on a little Vox hack for the upcoming release. I can't tell you what it is just yet, but suffice it to say that it's THE BALLS. It's a neat little chunk of code, comprised of some PHP, HTML, XML, and a stolen flash component. It took way too long, but it was a learning experience. 

Originally posted on pop.vox.com