This is the blog of Adam Kalsey. Unusual depth and complexity. Rich, full body with a hint of nutty earthiness.
Excerpt: Insert your Amazon.com wishlist into any Web page by simply including a bit of JavaScript code. Read the whole article…
With the way the URL is written, you shouldn't need to encode it first. There's no query string, and the URL only contains forward slashes. As far as the browser's concerned, the http... part is just part of the path on the server. It works in all the usual suspects. Opera 7, IE6, Mozilla 1.x, and Netscape 4. But let me know if you find a browser that this doesn't work in.
A couple of tips... The wishlists are updated from Amazon.com every five minutes. So if you change your wishlist, it might take a few minutes for the changes to show up on your site. If you want to change the style of the list, simply put a DIV around the wishlist code. Then apply a style to the div. For example, if you want to show the list without bullets, you could use the following code... <style type="text/css"> <!-- .wishlist ul{ padding 0; margin 0; } .wishlist li{ list-style: none; } --> </style> <div class="wishlist"> <script src="http://kalsey.com/tools/amazon/wishlist/ http://www.amazon.com/exec/obidos/registry/9TPZE7QC6FP/" language="JavaScript" type="text/javascript"> </script> </div>
> As far as the browser's concerned, the http... part is just part of the path on the server. No, it includes a colon. From RFC 1738: "Octets must be encoded if they have no corresponding graphic character within the US-ASCII coded character set, if the use of the corresponding character is unsafe, or if the corresponding character is reserved for some other interpretation within the particular URL scheme." The colon has a very specific interpretation within the HTTP URL scheme, it separates the hostname from the port number. What with the sheer number of UAs out there (including any syndication utilities you care to mention), I would rather just conform to the standard than guess about whether or not any given UA will interpret the non-standard code correctly.
Excerpt: Simple Amazon wishlist display - doesn't require the MTAmazon plugin. Very nice!...
Thank you very much for sharing this tip! I'm going to go add it to my page right now! By the way, how would someone "URL Encode" the URL? I'm not sure what is meant by this. Could you please give an example? I'd really appreciate it.
What Jim means is change the http://www.amazon to read http%3A//www.amazon I still contend that it's not needed. While it is technically not correct to have a colon in the URL (unless you are using it as part of your authentication scheme), most browsers are smart enough to deal with it. You aren;t likely to have problems even if you don't encode the URL.
Excerpt: Whether you have a blog or not, Adam has come up with a way to display your Amazon.com wishlist on your webpage. Very cool and easy to implement. Works great if you don't want to install the MTAmazon plugin or if you don't have MoveableType! Adam also ...
Excerpt: Kalsey: Simple Amazon wishlist display mal sehen, ob das auch mit amazon.de-URLS klappt:...
Excerpt: Simple Amazon wishlist display :: Kalsey Consulting Group. - display your Amazon Wishlist without plugins on any blog....
Excerpt: Vor zwei Tagen bloggte ich im Newsfeed über Adam Kalseys Simple Amazon wishlist display, ein Skript, das es möglich machen sollte, die eigene Amazon-Wishlist in die Website einzubauen, und kriegte...
Very cool. Sadly, it doesn't seem to work with amazon.co.uk ...
Excerpt: Simple Amazon Wishlist Display, Fast and Easy My birthday is coming up in just a few months, after all......
that's awesome... but what about those of us that have our own affiliate? as opposed to sending all the comission to you!? (I guess perhaps it's a trade off for the code?)
Excerpt: For everyone but Christine (who enjoys outwitting the telemarketers) this is just a reminder to register all your phone numbers at donotcall.gov to be removed from most telemarketing lists.
Excerpt: Have you ever wanted to display your Amazon Wishlist on your page? Here's mine... Script found at: Kalsey.com You can see my list off to the side on the left, too. In order to
You can also have a look at my AmazonBox which lets you display your wishlist and, with a small hack, allows people to purchase an item for you and send it to you. http://www.edazzle.net/amazon/
Excerpt: On the off chance that you win the lottery, here are the top 10 items on my Amazon Wishlist... http://www.amazon.com/exec/obidos/registry/JF8Y65P7JHQH/ref=cm_wl_sortdropdown/104-3138964-7283149" language="JavaScript" type="text/javascript">...
This discussion has been closed.
Jim
June 27, 2003 6:04 AM
Don't forget that you need to URL-encode the URL to your wishlist - otherwise things might break in some browsers. PS: I almost didn't notice the comment section, it's not very prominent.