How do I convert XML into XSPF? October 2, 2006 11:04 PM Subscribe
How do I convert XML files into XSPF?
I'm looking particularly at the XML files offered at by the Audioscrobbler Webservices. They provide XSPF lists for most of the track charts, but not for the Recent Weekly Track Charts for groups. Is there a simple way to generate an XSPF file from the XML?
Either use your favourite scripting language (I'm a big fan of PHP5's XML functions) - or use an XSL Transform. I'm working on a lot of last.fm web services - I'll send you some example code to do transforms if you want. posted by tommorris at 4:12 AM on October 3, 2006
XSL is designed to do this. It's not that hard - a bit of reading to get started, but once you've got the hang of it you can do almost anything. posted by unixrat at 6:31 AM on October 3, 2006
« Older
What are these grey/black flak...
| I'd like to use my bike to pow...
Newer »
posted by beerbajay at 3:07 AM on October 3, 2006