«« Updated Articles Become Summaries FanConcert is Presentable (Just in Time) »»
blog header image
FanConcert Links to Google Music Search

Google has enhanced its search results for musical artist and album names. Thanks to my bro Derek for the heads up and Dave Winer for the link.

It's interesting that Google is partnering with online music stores like Amazon and iTunes instead of trying to take over yet another online business. It's a good way to get into the music business but it makes you wonder if Google will eventually try to sell music themselves. I like that for now Google is sticking with what they do best.

I've already linked to GMS from FanConcert. The artist and release pages have "Google Music Search for this" links which take you to the search results for that artist name or release title.

An interesting little gotcha was ampersands in the artist or album name, like Coldplay's album X&Y or the artist Iron & Wine. Ruby's URL.escape() method wasn't converting the ampersand & into its querystring equivalent %26 so I had to do it myself.

I couldn't quickly find a Ruby String method that substituted all instances of a pattern or substring (sub replaces the first instance) so I got a little creative:

query = URI.escape(text)
if query.include?('&')
  pieces = query.split('&')
  query = pieces.join('%26')
end
url = 'http://www.google.com/musicsearch?q='+query

Posted at December 15, 2005 at 06:36 PM EST
Last updated December 15, 2005 at 06:36 PM EST
Comments

Apparently there is no partnership between Google and iTunes or Amazon. It's simply a link.

» Posted by: V. Mardian at December 15, 2005 10:48 PM

The News.com called them "initial merchant partners". Do you have a link to refute that?

» Posted by: Ryan at December 15, 2005 10:52 PM

It was on slashdot fool!

» Posted by: j2k at December 17, 2005 10:34 AM

Why link to Google Music? Just link into itunes yourself...

» Posted by: fanboy at December 17, 2005 10:38 AM

fanboy: I'm looking into it :) it's easy to link to Google Music Search, so I'm doing it ... it's already proven to be handy

» Posted by: Ryan at December 21, 2005 11:24 AM
Google
 
Search scope: Web ryanlowe.ca