Embed Google Books in you site | Startup Meme - Technology Startup and Latest Tech News

Our comments and trackback policy You Link We Follow, You Comment We Promote

Sep 24 2008

Embed Google Books in you site

Shoaib Hashmi 

Google-Books_LogoGoogle 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:

  • Facebook
  • Digg
  • Reddit
  • del.icio.us
  • StumbleUpon
  • Twitter
  • E-mail this story to a friend!
blog comments powered by Disqus