I'm working on a desklet that shows the Top 10 iTunes songs (inspired by an OS X widget) - nothing special, but it's just a little project. What I want to do is retrieve the artist name and song seperately so I can print it out neater in the desklet. Here's the RSS: http://phobos.apple.com/WebObjects/MZStore...imit=10/rss.xml
You'll notice that the artist and song are in different nodes itms:artist and itms:song, respectively. Right now I'm using the "title" node and it'll print out, for example, 1. Don't Forget About Us (Radio) - Mariah Carey.
<layer text="!XMLTXT:0[rss//channel//item[1]//title]" x="20" y="180" height="20" width="260" fontname="Verdana" fontsize="10" fontcolor="clWhite" fontstyle="B" fontalign="LT" onmouseenter="highlight(true);" onmouseexit="highlight(false);" fullhittest="yes" mousecursor="32649" onclick="onClickItem(1)" />
That's the code I'm using for it. However, when I change it to "...item[1]//itms:artist]", it doesn't work. Any suggestions?
Aqua-Soft Forums