Google Books – Embed it for preview

Google Book Search Beta provides following things:

1. Search book through its name of its content. You can go directly to http://books.google.com or search on http://www.google.com and you will be linked to Book search results if found.
2. Browse books online using complete or partial content. This holds true for books which are out of copyright or the publisher has given his permission.
3. You can buy book from there or borrow it from the library.

Check out the history of this project (which is almost as old as Google itself ) at http://books.google.com/intl/en/googlebooks/history.html

Now coming back to the main intent of this post that you can use Google Book Search to show preview of any book available with Google.

Use following code to embed book preview:

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

In the code above ‘ezqe1hh91q4C’ is corresponding Book Id which can be easily found by hovering on search result. You can find it in its URL.

http://books.google.com/books?id=ezqe1hh91q4C&printsec=frontcover&dq=perl&sig=ACfU3U3dRA6hfdz__E74W3GzSuFtThIVog

Here is an example


Most Commented Posts

If you enjoyed this post, please consider to leave a comment or subscribe to the feed and get future articles delivered to your feed reader.

Comments

No comments yet.

Leave a comment

(required)

(required)