Games with XML
July 27, 2008The php script Dedric Mauriac gave me relies on the xml DOM’s open method, which under php apparently must use fopen under the hood. At any rate, the fact that my host has allow_url_fopen false in the php.ini means it won’t work.
What I did instead was rewrite it to use curl to grab the rss feed for parsing, and it seems to be working. Once I get the bugs ironed out, I’ll pass it on to Dedric in case he wants to make use of that method as well.
The fun part is that, although I’ve never programmed with php, my asp and asp.net and now LSL background has made it pretty trivial to pick up on what’s going on and modify things as needed. Very fun, since I always wanted to add php to the list of things I’ve at least used, and this project forced me to dive in and do just that.
At any rate, it won’t be long before I’ll be done with both the php and the LSL and have nice rss players for audio or video podcasts that we can copy (and therefore rez on demand) and let the podcasting community make use of. All credit will go to Dedric and if you have any scripting or gadget needs, please check out his stuff or IM him about your project. He does do custom work projects and he’s very good at what he does.















