Sat, 20 Sep 2003

top

amazon_buybox

<<reverse < index > forward>>

amazon_buybox is a plugin that generates code for items at Amazon.com, creating a link to the description, pulling the image file, and creating a "buy" button.

The following element <blosxom:amazon-buybox asin="ASIN (Amazon Standard Identification Number)">description</blosxom:amazon-buybox> will be turned into:

<div class="amazon-desc">description</div> <div class="amazon-image"> <a href="http://www.amazon.com/exec/obidos/ASIN/B000003RGY/ref=nosim/associate ID"< <img src="http://images.amazon.com/images/P/B000003RGY.01.TZZZZZZZ.jpg" alt="picture of description" /> </a> </div> <form method="POST" action="http://www.amazon.com/o/dt/assoc/handle-buy-box=B000003RGY"> <input type="hidden" name="asin.B000003RGY" value="1" \> <input type="hidden" name="tag-value" value="associate ID" \> <input type="hidden" name="tag_value" value="associate ID" \> <input type="submit" name="submit.add-to-cart" value="Buy from Amazon.com" \> </form>

You can customize the elements that contain the description, the image, and the whole thing.

See this entry for an example.

14:04:26 20 Sep 2003 > /computers/www/blosxom > permalink > 0 comments

comments

Comment form

Name:
URL/Email:
[http://... or mailto:you@w...] (optional)
Title:
(optional)
Comments:
Save my Name and URL/Email for next time
To prevent comment spam, please retype the characters in this image
Enter the text here: