Amazon Wish List Badge

written by crabasa on November 9th, 2005 @ 07:32 PM

Over the past day or so, I’ve cobbled together an Amazon Wish List badge for my blog. You’ll see my items listed on the right of this page if you scroll down. I did this using 3 things: AWS offers a List Lookup operation. You can invoke this operation like so by plugging in your Wish List ID and specifying some additional parameters (see the API for more details).

What’s important to note is that you can format the returned data from AWS by passing a URL to an XSLT stylesheet. In my case, the stylesheet that I wrote outputs Javascript code (I stole this idea from Flickr). So, to print the Wish List to the browser, I simply embed the following Javascript in my sidebar:

That’s it. Just in time for the holidays!

blog comments powered by Disqus
80x15-textdrive