Put iTunes' Recently Played list on your website
Jan 12, '07 07:30:00AM • Contributed by: glynn_bird
Jan 12, '07 07:30:00AM • Contributed by: glynn_bird
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:
[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...]
- 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.
[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...]
•
[11,453 views]
