Embed Google Books in Your Website

Google made it easy to embed in a site any book available at Google Book Search. You can add a fully-functional widget using this code:

<script type=”text/javascript” src=”http://books.google.com/books/previewlib.js”></script>
<script type=”text/javascript”>
GBS_insertEmbeddedViewer(‘GkCpLIk7aisC‘,600,500);
</script>

You should replace GkCpLIk7aisC with the corresponding book ID, which can be obtained from the URL. See this example on the post at Google Operating System.


Post from Google Operating System

One response on “Embed Google Books in Your Website

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>