The whole is greater than the sum of its parts.
Wednesday, Oct 17. 2007 – Category: Songbird
Don’t you love it when you add one cool thing to another cool thing to get something even better?
I do.
Root beer is good. Ice cream is good. Root beer floats are fantastic. Daphne was good. Velma was good. Add them together and you had the Scooby Doo gang (well the only members worth watching anyway).
So Songbird is good. Nay, Songbird is great (okay so I’m a little biased). Last.fm is good.
Songbird + Last.fm is yabba-dabba-doorific.
Here’s a really simple example I threw together to familiarise myself with the Webpage API. (Of course it only works from inside the Songbird client, so make sure you load it from there) It’s perhaps not the greatest, but it is pretty straight-forward, so hopefully it’s of use to others. Basically it adds listeners to the Songbird events that monitor when the tracks change. It then makes AJAX queries to Last.fm to load album cover information (including cover art), tag information for the current track, and a list of similar artists – all using Songbird’s wicked powerful Webpage API and Last.fm’s handy dandy XML web services APIs. On the right hand side, it does some somewhat unrelated tag-clouding of your own media library. Yeah – it’s not related to Last.fm, but I wanted to try it. So sue me.
So this is just a mere example of the kind of goodness that comes from two open APIs adding up to a whole that’s greater than the sum of its parts.
One Response to “The whole is greater than the sum of its parts.”
Leave a Reply
Recent posts
- Android UI… fragmentation?
(Tuesday, Aug 3. 2010 – 7 Comments) - Building & simulating Blackberry apps with the Blackberry SDK on Mac OS X
(Wednesday, Jun 2. 2010 – 3 Comments) - OBAI
(Thursday, May 13. 2010 – 7 Comments) - new servicepane!
(Thursday, May 6. 2010 – 17 Comments)
Categories
- Android
- Cars
- ChinaBlog
- Code
- Computers
- Development
- Food
- Football
- Grommit
- Linkage
- Movies&TV
- Music
- Musings
- OpenSolaris
- OpenSource
- Outdoors
- Pets
- Photos
- Quotage
- Rdio
- Songbird
- Sun
- Travel
Grommit
Mozilla
OpenSolaris
- alan burlison
- bonnie corwin
- eric boutilier
- glynn foster
- jim grisanzio
- mark nelson
- mike kupfer
- planet opensolaris
- stephen hahn
Songbird
Archives
- August 2010
- June 2010
- May 2010
- February 2010
- January 2010
- December 2009
- October 2009
- September 2009
- August 2009
- June 2009
- April 2009
- March 2009
- February 2009
- January 2009
- December 2008
- November 2008
- October 2008
- September 2008
- August 2008
- July 2008
- June 2008
- May 2008
- April 2008
- March 2008
- February 2008
- January 2008
- December 2007
- November 2007
- October 2007
- September 2007
- August 2007
- July 2007
- June 2007
- May 2007
- April 2007
- March 2007
- February 2007
- January 2007
- December 2006
- November 2006
- October 2006
- September 2006
- August 2006
- July 2006
- June 2006
- May 2006
- April 2006
- March 2006
- February 2006
- January 2006
- December 2005
- November 2005
- October 2005
- September 2005
- August 2005
- July 2005
- June 2005
- May 2005
- April 2005
- March 2005
- February 2005
- January 2005
- December 2004
- November 2004
- October 2004
- September 2004
- August 2004
- July 2004
- June 2004
- May 2004
- April 2004
- March 2004
- February 2004
- January 2004
- December 2003
- November 2003
- October 2003
- September 2003
- August 2003
- July 2003
- June 2003
- May 2003
- April 2003
- March 2003
- February 2003
- January 2003
- December 2002
- November 2002
- October 2002
- September 2002
- August 2002
- July 2002
- June 2002
- May 2002
- April 2002
- March 2002

October 17th, 2007 at 21:05
I should probably note, since AJAX queries can’t cross domains (XSS security exploits are bad!), this made use of a really simple PHP proxy script (the last-fm.php script referenced in the AJAX query) to forward requests from my whacked.net domain over to Last.fm.