googlebooks logo Embed Google Books in you siteGoogle has recently launched Book Search, letting users to read books online. If you want to embed any book from Book Search to your website, you can do it using a widget. The latest widget is already in use by online catalogs and social book sites such as WorldCat and weRead. There are three Google Books APIs available that lets users access over a million books. The widget is functional and its code is available.

Following is the code of the widget:

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

This is the preview of a book called ‘The Rough Guide to Manchester United’. If you want to embed any other book you just have to replace the book id with SOWewSQO9XoC.

This is how the book looks like when embedded: