Search on SLJ.com ....
Subscribe to SLJ
Follow This Blog: RSS feed
Neverending Search
Inside Neverending Search

Now embeddable: Google Books!

GBS_insertEmbeddedViewer(‘DHkIMoOUac4C’,400,300);

How cool is this?  If you wait a minute, you’ll see that you can now read Alice in Wonderland directly on my little blog. 

I’ve been playing around with creating a collection of fulltext classics on our Virtual Library for a little while now.

Today I discovered, we can embed books–available fulltext or previews–from Google Books on our wikis, blogs, instructional Web pages, virtual libraries, and online catalogs.

Instructions were described today in the unofficial Google Operating Systems Blog:

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 replace GkCpLIk7aisC with the corresponding book ID, which can be obtained from the URL.  

The blog post explains:

As on the Book Search site itself, you can search within the book, zoom in and out on the page, and browse up to 20% of the book," explains Inside Google Book Search. The new widget is already used by online catalogs like WorldCat.org and social book sites like weRead to preview books.

Off I go to post fulltext of several plays on our various Shakespeare studies wikis! 

Trust me, this is easy.  If you have any fear of code, just get a techie person to hold your hand once.  You’ll master this in no time.


share save 171 16 Now embeddable: Google Books!
Joyce Valenza About Joyce Valenza

Joyce is the teacher-librarian at Springfield Township High School, a technology writer, and a blogger. Follow her on Twitter: @joycevalenza

Comments

  1. Sharon Seslija says:

    Could you please show what part of the URL that’s used to replace GkCpLIk7aisC?
    I’ve tried to embed Animal Farm on by blog (I use Blogger), but I’m not having any luck.

  2. joycevalenza says:

    Sharon,
    I inserted the stuff following id=
    or the stuff between the two = signs. Let me know.

  3. Joan Tracy says:

    Thank you Joyce. I can see many uses for this. I wanted to mention when I put the code up in Blogger it didn’t work until I made it all one line with no line breaks (I just hit delete key at end of every line). I got this idea from the comments on your linked post to Google Operating Systems Blog.
    Also this worked, without need for deleting line breaks, in pbwiki. I just used id code to &

  4. Sharon Seslija says:

    Thanks for the direction. I still can’t get this to work – for some reason Blogger and Wikispaces won’t let me put the code all on one line. I’ll keep playing though.

  5. Amy Marquez says:

    I can’t get this to work either. If you have figured it out can you post exactly what the code looks like for the book you were able to embed. I am using Blogger and I tried deleting parts but nothing is working for me.

Speak Your Mind

*