~ playlist added ~
check it out! i added my recently played tracks on the bottom of the main page of this site… *points down*.
it took me a whole day to make sure that the Japanese font would show up correctly on the page. the whole day! and it turns out that i only needed to change the character set of the document and take out a few lines in the php file… doh!
to do this, i used Last.fm’s service. other than those cool charts of the stuff you listen, they also provide the feed of statistic recorded, including my recently played tracks. pretty cool, huh?
then, i used this little but so useful blogscrobbler to parse the file and display it on the site.
if you listen to Japanese/Chinese or other songs where it has weird characters, don’t forget to change your document character set to UTF-8 and take out the htmlentities function and utf8_decode function off the code. otherwise, the title and the artist name will show up as a bunch of question marks.
oh, and i added the travel map link on the main navigation… *points to the top of the page*
looks like you made good use of the script. awesome ;-)
no, thank YOU! it’s a compact and very easy to use script. so, thank you so much for sharing it! :D