Comments

Comments on Simple Amazon wishlist display

Insert your Amazon.com wishlist into any Web page by simply including a bit of JavaScript code. Continue reading...

Comments

There are 18 comments. If you haven't already done so, you might want to read the original article that inspired these comments.

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.

Adam Kalsey June 27, 2003 9:02 AM

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.

Adam Kalsey June 27, 2003 11:07 AM

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>

Jim June 27, 2003 5:10 PM

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.

Trackback from lovelinks
June 28, 2003 9:03 PM
wishlist display
Excerpt: Simple Amazon wishlist display - doesn't require the MTAmazon plugin. Very nice!...

DLashley June 29, 2003 10:02 AM

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.

Adam Kalsey June 29, 2003 10:26 AM

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.

Trackback from KevinDonahue.com
June 29, 2003 2:36 PM
Amazon.com Wishlist on your Webpage
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 ...

Trackback from E-Business Weblog/Newsfeed
July 2, 2003 6:33 AM
Simple Amazon wishlist display
Excerpt: Kalsey: Simple Amazon wishlist display mal sehen, ob das auch mit amazon.de-URLS klappt:...

Trackback from ETC. Indulging my inner geek
July 3, 2003 6:09 AM
http://www.fortysomething.ca/mt/etc/archives/002863.php
Excerpt: Simple Amazon wishlist display :: Kalsey Consulting Group. - display your Amazon Wishlist without plugins on any blog....

Trackback from Das E-Business Weblog
July 4, 2003 5:05 PM
Clevere Internet-Geschäftsmodelle: Kalseys "Simple Amazon wishlist display"
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...

Jamie July 10, 2003 2:39 AM

Very cool. Sadly, it doesn’t seem to work with amazon.co.uk …

Trackback from Cookie Crumbs
July 10, 2003 6:09 AM
Simple Amazon Wishlist Display, Fast and Easy
Excerpt: Simple Amazon Wishlist Display, Fast and Easy My birthday is coming up in just a few months, after all......

Amancay Maahs July 10, 2003 1:26 PM

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?)

Trackback from KevinDonahue.com
July 20, 2003 10:29 AM
No Call List Reminder
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.

Trackback from She Blogs
September 26, 2003 3:02 AM
Amazon Wish List
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

dazzle October 13, 2003 9:05 AM

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/

Trackback from patchwork progression
November 15, 2003 3:13 PM
My Amazon Wishlist
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">...


Add your comments

Text only, no HTML. URLs will automatically be converted to links. Your email address is required, but it won't be displayed on the site.

Trackback URL: http://kalsey.com/cgi-bin/mt/mt-tb.cgi/649

Name:

Email: (not displayed)

Website (optional):


  Remember me

 Forget Me

Comments:


Recently

Coffee spill (Nov 11)
Coffee vs the laptop
Cloud Reliability (Aug 12)
Would you like to take bets as to whether Amazon or Google have better reliability and safety than your local network service providers?
George Carlin (Jun 22)
"I'm always relieved when someone is delivering a eulogy and I realize I'm listening to it."
Business lessons from the Kitchen (Jun 9)
The Gordon Ramsay School of Business
Under The Radar twittering (Jun 3)
My live stream from Under the Radar
Measuring a CEO's mind (May 29)
Not everything that's important can be measured. Not everything that can be measured is important.
Golden 1: breaking customer expectations (May 25)
Take a potential new user and give them a poor signup experience, then call them a liar.

Subscribe to this site's feed.

Elsewhere

Feed Crier
Get alerted by IM when your favorite web sites and feeds are updated.
SacStarts
The Sacramento technology startup community.
Pinewood Freak
Pinewood Derby tips and tricks
Del.icio.us
My tagstream at del.icio.us.
Waddlespot
My son's Club Penguin community. News, blogs, tips, and tricks.

Contact

Adam Kalsey

Mobile: 916.600.2497

Email: adam AT kalsey.com

AIM or Skype: akalsey

PGP Key

©1999-2008 Adam Kalsey.
Content management by Movable Type.