itunes info in sidebar
because something was f[beep] up with the way kung-tunes posted the trackinfo from my itunes to the sidebar, here’s the roundup on how i did it (adding to this post):
- go to mt’s control panel.
- make a new blog (itunes).
- make a new category (nowplaying).
- hit “edit category attributes”, toggle “accept incoming trackback pings” to yes.
- jot down the trackback url.
- add that url to kung-tunes preferences.
- make the format of kungtunes notification:
- add three files to the sub-blog (here: itunes), now_playing.html and lastfive.html and last30.html.
- for each of the three above files add something along these lines to the code: (MTAmazon optional for album cover)
by <a href=“itms:// phobos.apple.com/WebObjects/MZSearch.woa/wa/ advancedSearchResults?artistTerm=<$MTPingBlogName encode_url=“1”$>” title=“Search at the iTunes Music Store”><$MTPingBlogName$>
from the album <a href=“itms://phobos.apple.com/WebObjects/MZSearch.woa/wa/ advancedSearchResults?albumTerm=<$MTPingExcerpt encode_url=“1”$>” title=“Search at the iTunes Music Store”><$MTPingExcerpt$>
was played .
- thank b. for whacking out quite a bit of the above code and helping with the initial debugging.
- prettify the code for the 5 and 30 page, because these are the pages the people are gonna look at (iterate lastn=X in: “”.
- add the code below to the sidebar of the main blog.
- rebuild all involved blogs.
- wash, rinse, repeat
btw: you did not notice that since i installed panther kung-tunes was posting the album title as the song title, did you?
Categories: