Digital Inspiration Technology Blog: How to Embed Kindle eBooks into your Website

Thursday 25 October 2012

Digital Inspiration Technology Blog



Digital Inspiration is an award-winning how-to tech blog around all things related to computer software, web applications, mobile and personal productivity.



How to Embed Kindle eBooks into your Website

http://www.labnol.org/internet/embed-kindle-ebooks/24988/

Oct 25th 2012, 18:40



You have been using images and videos to complement the text content on your website but do you know that it is also possible to embed ebook samples into your web pages? →Amazon and Google Books are home to hundreds and thousands of ebooks and they do allow other websites to embed these ebooks with a few lines of code. Amazon lets you embed few sample chapters from the book while in the case of Google Books, you can embed the entire e-book provided it is in public domain or free.How to Embed Kindle BooksTo embed a Kindle ebook on your website, all you need to know is the ASIN code of the ebook and you are good to go. This unique code can be easily found on the product page of any Amazon title.The Kindle ebooks can been embedded either using JavaScript (see example) or even the IFRAME tag in case you aren't allowed to include JavaScript in your web pages.Kindle Embeds with JavaScript<div id='Kindle-Reader'></div>

<script type='text/javascript'

src='http://kindleweb.s3.amazonaws.com/app/KindleReader-min.js'></script>

<script>KindleReader.LoadSample({

containerID: 'Kindle-Reader', width: '600', height: '800',

asin: 'B0049U4CCE',assoctag: 'labnol-20'});

</script>You need to change the book's ASIN code (in this case, B0049U4CCE) and the assoctag value (in this case, labnol-20) with your own Amazon Associates ID.Kindle Embeds with IFRAME<iframe height="800" width="600" frameborder="0" src="http://kindleweb.s3.amazonaws.com/app/1.0.11.053.093655/KindleReaderApp.html?asin=B000JQUT8S&assoctag=labnol-20">

</iframe>You may also experiment with the height and width parameters (in pixels) to ensure that the embedded book fits perfectly into your site's layout.Bonus Tip: If you would like to directly link to the Kindle book sample without having to embed it on a page, just use the following link (remember to replace the ASIN value):http://kindleweb.s3.amazonaws.com/content/B000JQUT8S/gz_sample.htmlAlso see: How to Embed Anything into your Website This story, How to Embed Kindle eBooks into your Website, was originally published at Digital Inspiration on 25/10/2012 under Amazon Kindle, Embed, Internet.













You are receiving this email because you subscribed to this feed at http://blogtrottr.com



If you no longer wish to receive these emails, you can unsubscribe here:

http://blogtrottr.com/unsubscribe/crB/ZwM84m

0 comments:

Post a Comment

Newest Items :