I'm writing a music reference app and for each album (pulled from last.fm) would like to link to the ITMS (if the album is in the store).

iTunes link maker web tool <http://apple.com/itunes/linkmaker/> is great for getting links for a known album but I need to access it programatically from within my app.

This [NSLog blogpost](http://nslog.com/2003/04/29/itms_links) which is from 2003 but was [referenced more recently in another question here](https://stackoverflow.com/questions/893604/how-to-link-to-the-itunes-store-from-iphone-app/893607#893607) seems to offer the only solution I've come across so far, suggesting to submit a query to:

> 
> phobos.apple.com/WebObjects/MZSearch.woa/wa/advancedSearchResults?
> 
> 
> Put "itms://" before it and the link will work in iTunes, put "http://" before it and the link will work in Camino (Safari sometimes spits back a malformed XML error).
> 
> 
> The tags that are of importance are as follows:
> 
> 
> * songTerm - song title
> * artistTerm - artist name
> * albumTerm - album name
> * composerTerm - composer name
> * term - all fields
> 
> 
> 

The suggestion is that would using http:// rather than itms:// the server will return an XML document of results instead of opening iTunes but either way I am sent directly to iTunes.

Is it possible to get back a list of results?