Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Put iTunes' Recently Played list on your website Apps
If you are running OS X, listen to iTunes, and wish to publish your 'Recently Played' list to your website, you can do it like so:
  • Set up a shell script to run hourly using crontab
  • The script will transform your iTunes Music Library.xml file into HTML using this XSL template I created. You can see my sample script, as well as read more about this process, in this entry on my blog.
  • The script then uses scp (or ftp or whatever you want) to transfer the file to your webserver.
Voila!

[robg adds: I haven't tested this one, and due to the complexity of the XSL template, it's not mirrored on macosxhints as of now...]
    •    
  • Currently 3.50 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (2 votes cast)
 
[11,399 views]  

Put iTunes' Recently Played list on your website | 4 comments | Create New Account
Click here to return to the 'Put iTunes' Recently Played list on your website' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Put iTunes' Recently Played list on your website
Authored by: Fredrik on Jan 13, '07 02:12:18AM
You could also use [link:]www.last.fm

[ Reply to This | # ]
Put iTunes' Recently Played list on your website
Authored by: cilly on Jan 15, '07 10:03:44AM

Okay, I am running this and xsltproc takes for ever.

54 MB iTunes Library.xml

Is the library too large?



[ Reply to This | # ]
Put iTunes' Recently Played list on your website
Authored by: cilly on Jan 15, '07 10:06:35AM

sorry, the previous post is in the wrong tree



[ Reply to This | # ]
Put iTunes' Recently Played list on your website
Authored by: cilly on Jan 15, '07 10:04:48AM

Okay, I am running this and xsltproc takes for ever.

54 MB iTunes Library.xml

Is the library too large?



[ Reply to This | # ]