So I wanted a way to decently show off my iTunes/song collection as I work on ripping it (slowly but surely). Found http://codetriangle.com/ and modified it turning it into this. About as far as I am going to take it right now.. Just a way to let others see what I've done. Mainly for friends and whatnot, but I figured I would let you guys look also.
The script is very rudimentary. I could break it up and increase execution time (also could do FastCGI or something if I was so motivated).
I changed the display almost entirely from his example, and added track and album secondary and tertiary sorting to the artist and album sorts.
If anyone wants this, it is pretty straightforward. Your PHP system needs DOMXML installed. Then just stick the parser library, the display page, and your library.xml file in a directory, edit index.php and set $ituneslibrary to your filename (usually library.xml) and it will automatically fill in everything shown on my page.
edit - and for those who don't know, you generate your library.xml file with File->Export Library... in iTunes.
The script is very rudimentary. I could break it up and increase execution time (also could do FastCGI or something if I was so motivated).
I changed the display almost entirely from his example, and added track and album secondary and tertiary sorting to the artist and album sorts.
If anyone wants this, it is pretty straightforward. Your PHP system needs DOMXML installed. Then just stick the parser library, the display page, and your library.xml file in a directory, edit index.php and set $ituneslibrary to your filename (usually library.xml) and it will automatically fill in everything shown on my page.
edit - and for those who don't know, you generate your library.xml file with File->Export Library... in iTunes.