public marks

PUBLIC MARKS from znarf with tags ajax & amazon

January 2007

May 2006

Consuming Amazon's Web API Directly with Javascript (via JSON and XSLT)

(via)'s Web API is a cool piece of architecture, but one of its big limitations is the difficulty involved in getting Amazon's data straight to the browser.

Well, here's how to fix that problem (for's API at least), using Amazon's free XSLT transformation service, the JSON output format, and a bit of plain old javascript. The examples below show you how to use javascript (and a bit of XSL) to place live data - direct from Amazon's servers - on any web page.