MegaZone (zonereyrie) wrote,

  • Mood:
  • Music:

iTunes Library.xml -> HTML

I was looking for a simple way to get a nicely formatted list out of iTunes. The export to text is badly tab damaged, and the export to XML isn't human friendly - and both have a ton of crap that humans generally won't care about. My eventual plan is to write some PHP that will let you sort on the different columns, probably search by string, etc, that will operate on the XML. But, in the meantime, I went looking online for some ready made way to get something static for now.

I found someone's itunes2html.xsl which was a simple XSL Transform from XML to HTML. It was a bit out of date, some of the field names didn't match what I had dumped from the current iTunes, and it just dumped the tracks in the order they are in the XML, and it still dumped all the machine info. So I modified it - now it sorts by artist name, and I reduced the number of columns displayed, and put them in a more logical order. If you know how to use XSL, you can get my file here.

And this is the end result.

That's everything I have in iTunes at this time...
Tags: itunes, music, software
  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded