View Full Version : iTunes Listing System
alexskiing
Oct 2, 2007, 08:40 PM
Hi, Im trying to write a (web) program for the iphone. This program would fetch and sort the "itunes music library.xml" file, into different things, like song and artist. Does anyone know of a API that i can adapt, or even how to sort a xml file for that matter?
Thank,
angelwatt
Oct 2, 2007, 08:46 PM
Though I don't anything about programming specifically for the iPhone, one option for sorting the XML is to use XSLT. It can very easily do this. I'm not sure if that'll help though with your setup, but that's all the advice I have on this.
plinden
Oct 2, 2007, 08:49 PM
The itunes library file is an Apple XML plist file. I would look up plist if I were you - for instance:
http://en.wikipedia.org/wiki/Property_list
http://developer.apple.com/documentation/CoreFoundation/Conceptual/CFPropertyLists/index.html
Of course, then you need to learn something about XML, but yes, I'm sure you would be able to sort it.
alexskiing
Oct 2, 2007, 09:39 PM
Thanks,
Im not getting that complex, here is a demo i have http://alexskiing.ath.cx/. that will give you an idea of what im trying to do
vBulletin® v3.6.10, Copyright ©2000-2009, Jelsoft Enterprises Ltd.