Archive | January 2016

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 ://

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: //” >< /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 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):


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:


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