?

Log in

No account? Create an account
Ramblings Journals I Read Calendar The Dirt MegaZone's Waste of Time Older Older Newer Newer
iTunes Library.xml -> HTML - MegaZone's Safety Valve
The Ramblings of a Damaged Mind
zonereyrie
zonereyrie
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: , ,
I am: hungry hungry
Current Media: Ugly Kid Joe: America's Least Wanted - I'll Keep Tryin'

2 STDOUT || STDIN
Comments
ardaniel From: ardaniel Date: August 27th, 2005 05:36 am (UTC) (Direct Link)
Yeah, I have an awk kitbash for an exported playlist that makes it cut-and-pastable for LJ. It's butt-ugly, though. :)
hnybny From: hnybny Date: August 27th, 2005 08:22 pm (UTC) (Direct Link)
Wow, what a collection! Some goodies in there I tell ya.
2 STDOUT || STDIN