Amazon Wish List Badge

Tags: Uncategorized amazon webservice code

Remember those Amazon Wish Lists that people used to set-up in the hopes that their friends or family would notice their pressing desire for the latest Red Hot Chili Peppers CD and (in the event of a birthday or Christmas) decide to hook them up? The problem was the wants were hard to publicize. Amazon provided the ability to email your Wish List to people, but how crass is that?

A year ago I wrote some code to take your Wish List and display it on your website. I’ve made a couple quick tweaks to make it even easier for you to add a Wish List badge to your site:

1. Find your Wish List ID

2. Add the following code to your website:

<style> ul.awslist { list-style-type: none; } ul.awslist li { display: inline } </style> <script src="http://cubanlinks.org/wishlist.php?wishListId=[YOUR WISHLIST ID]"> </script>

3. (Optional) Style your Wish List

The UL and LI elements of the Wish List are styled with the class awslist. You can style these elements any way you like to best fit your website.

ENJOY!

About Me

Hey there. My name is Carter Rabasa and I am a husband and father of two beautiful daughters Catherine and Emily. I live in Seattle, WA.