Bill Clementson's Blog

Bits and pieces (mostly Lisp-related) that I collect from the ether.

September 2008
Sun Mon Tue Wed Thu Fri Sat
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30
Aug  Oct

Embed Books in a Web Page

Tuesday, September 23, 2008

I never used to like reading books on a computer. However, I've recently started to do this more regularly (even reading some books on my iPhone), so I've gotten interested in different online reading alternatives. Google recently made available a way to easily embed a book in a web page. Of course, you're limited to those books that are carried by Google Book Search, and many books will only have a limited preview available; however, it is still useful to be able to search a book or to quickly skim through a book online to determine whether you would want to buy it (although Amazon has provided such functionality for a long time, their previews are much more limited). Google also provides a number of other API's that allow you to make use of specific Google Book Search functionality on your own web pages, so you can do some interesting, custom things with the books. Here's an example of embedding CLtL2 in a web page:

emacs Copyright © 2008 by Bill Clementson