iTMS Link-maker
http://phobos.apple.com/WebObjects/MZSearch.woa/193/wa/com.apple.jingle.search.DirectAction/itmsLinkHits?
songTerm=song+title&albumTerm=album+title&artistTerm=artist+name
... where the "+" symbols take the place of whitespace. The problem is the page that gets generated.
This is the meat of what one would need to get to the next step:
<TR height="20" bgColor="#ffffff">
<TD WIDTH="236" HEIGHT="20">
<FONT SIZE="1" FACE="Helvetica,Arial,Geneva,Swiss,SunSans-Regular"> Clocks
</FONT>
</TD>
<TD WIDTH="17" HEIGHT="20">
<a href="/WebObjects/MZSearch.woa/193/wa/com.apple.jingle.search.DirectAction/pickITMSLink?songName=Clocks&searchType=1&artistNa me=Coldplay&plid=684888&id=684859
&playlistName=A+Rush+of+Blood+to+the+Head">
What needs to happen is the page needs to be search for that content, and then the stuff in bold needs to be put into a url with this structure:
itms://ax.phobos.apple.com.edgesuite.net/WebObjects/MZStore.woa/193/wa/
viewAlbum?selectedItemId=684859&playListId=684888
Not hard theoretically, but I have no clue on how to pull info from an HTML page with AppleScript.

