Amazon Adds Book Sample Embed Feature for Kindle ebooks

Do you like Amazon’s “Look Inside” feature to read a free sample of a book before purchasing it? So do I! And now Amazon has given people the ability to grab the embed code for “the vast majority of Kindle books” and place it in your website / blog / emails / Facebook posts / Twitter posts, etc.

There are two embedding options offered. One is a link to be clicked which opens a new browser tab with the book sample.

Example code (with spaces added so it doesn’t actually become a link here in my post):

https :// read.amazon.com/kp/embed?asin=B017747888&preview=newtab&linkCode=kpe&ref_=cm_sw_r_kb_dp_IltJwb1S991KA

And the link:

Click to view a sample of Roping the Cowboy!

The second embedding option allows you to embed actual code into your website – like a widget – that will show you the preview right in the page rather than opening a new tab.

Example code (with spaces added so you can see the actual code):

< iframe type=”text/html” width=”336″ height=”550″ frameborder=”0″ allowfullscreen style=”max-width:100%” src=” https: //read.amazon.com/kp/card?asin=B017747888&preview=inline&linkCode=kpe&ref_=cm_sw_r_kb_dp_IltJwb1S991KA” >< /iframe >

 

I won’t add the embedded code here, because I haven’t yet figured out how to get iframes working.  To see it in action, I recommend looking at this GeekWire.com article about this new Amazon feature, which contains a preview of the book “The Martian” by Andy Weir. Here’s what it looks like (although this image is non-functioning due to my iframe ignorance):

SampleWidget

In a functioning iframe, the “Free Preview” button at the bottom of the image would load the preview right there in that little image space and would look like this:

SampleWidgetText

Amazon affiliate links may also be added to the code, of course! Bravo, Amazon!

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s