Q&A
Can I use any version of iTunes to access the music library as XML?
No. Early versions of iTunes stored the music library as specially formatted text without XML tags. Your best bet is to download the latest version of iTunes from Apple at
http://www.apple.com/itunes/download/
.
Can I use what I learned in this tutorial about iTunes and XML to create podcasts?
Not exactly. Although iTunes podcasts do rely on XML in order to be published properly, they use a different XML format that is based on RSS (Really Simple Syndication). So, there is really no correlation between the XML code used to store an iTunes music library and the XML code used to syndicate a podcast. RSS is discussed in detail in Syndicating The Web With RSS News Feeds.
How do I keep my music library current if I want to publish it on the Web?
Because the
itunesview.xsl
stylesheet is entirely external, all you must do to update your music library online is to grab (copy or export) the latest XML music library file from iTunes and paste in the line of code that links the stylesheet to it. Publish this file over the previous version and your library is updated and ready to roll!