Here’s the Kung-log text that is in my iTunes prefs
<br />album ^a
<br />by <a href=”itms://phobos.apple.com/WebObjects/MZSearch.woa/wa/com.apple.jingle.search.DirectAction/advancedSearchResults?artistTerm=^p” >^p</a></div>
Basically you can make three kinds of search links, songTerm, artistTerm, albumTerm, composerTerm, and term. You just put what you want to search for on the end of the URL “itms://phobos.apple.com/WebObjects/MZSearch.woa/wa/com.apple.jingle.search.DirectAction/advancedSearchResults?songTerm=” except for the term search, which is the most general. In that case you use “itms://phobos.apple.com/WebObjects/MZSearch.woa/wa/com.apple.jingle.search.DirectAction/search?term=”.
I wrote a Cocoa app called ITMS LinkMaker that also lets you create links directly to albums and artists. But you have to do a search first to do that.