Lakeisha,
We haven't implemented either of those features yet. I think one of the
reasons they are not part of the demo is because both require additional
third party software and configuration. It could probably be better
documented, but here is some info that might help you get started when
you're ready.
More on implementing "Search Inside":
http://raj.blog.archive.org/2011/03/17/how-to-serve-ia-style-books-from-your-own-cluster/#comment-102
More on TTS:
https://github.com/openlibrary/bookreader/wiki/Read-It-To-Me
-Shaun
On 6/3/13 11:40 AM, Robinson, Lakeisha wrote:
Thanks everyone for your response. My questions were whether or not you were
building upon the Demo code. In the demo, the voice and search options are not
available. Although we don't have a need for this now, I'm afraid that in the
future. For those who chose not to build on the Demo code, can you provide the
github web address with the source code so I can see how you implemented it (in
case you didn't already)? Thanks,
-Lakeisha-
-----Original Message-----
From: Code for Libraries [mailto:CODE4LIB@LISTSERV.ND.EDU] On Behalf Of Shaun
Ellis
Sent: Monday, June 03, 2013 10:13 AM
To: CODE4LIB@LISTSERV.ND.EDU
Subject: Re: [CODE4LIB] Open Library Internet Archive BookReader
Will,
The BookReader will serve pages of variable widths. You can see an example
here if you flip through the book and then look at a map:
http://pudl.princeton.edu/viewer.php?obj=9880vq97z#page/2/mode/2up
You need to click and hold to drag the oversized page if it bleeds off the
screen. If you simply click, the page will turn.
Take a look at the demo that comes with the BookReader distribution:
https://github.com/openlibrary/bookreader/blob/master/BookReaderDemo/BookReaderJSSimple.js
See how the br.getPageWidth and br.getPageHeight functions are hard coded? You
need to set them dynamically. In the Ethnographic Maps example I gave above,
our metadata contains the archival image dimensions, so we use that to set the
height and width before it gets loaded. Are you using an image server? Djatoka
has a metadata service that you can query, which might be an alternative if you
don't have image dimensions.
-Shaun
On 5/31/13 3:24 PM, Hicks, William wrote:
We are using it in an edit app on the admin side of the digital libraries @ UNT.
On an expanded note. Does anyone have some success they can share in regards
to serving materials through bookreader where the contained pages of a single
item have variable widths and/or heights? Building off the demo assumes a fixed
width/height ratio, which in our experience is not always the case (consider
the book with the occasional map foldout).
In our case we do not know an image's dimensions until it has loaded so we can't
construct an array on the server side to lookup against, and doing so on page load would
charge us a significant penalty for large items (books with 1000s of pages). My current
hack has "auto" filled to the width, which breaks centering and thumbs, but
renders the odd page as legible.
So any thoughts/ideas? Thanks in advance!
Will
-----Original Message-----
From: Code for Libraries [mailto:CODE4LIB@LISTSERV.ND.EDU] On Behalf
Of John Jung
Sent: Friday, May 31, 2013 1:34 PM
To: CODE4LIB@LISTSERV.ND.EDU
Subject: Re: [CODE4LIB] Open Library Internet Archive BookReader
We use this software at the University of Chicago Library as well:
http://chicagoan.lib.uchicago.edu/xtf/view?docId=bookreader/mvol-0010-
v005- i08/mvol-0010-v005-i08.xml;brand=default#page/1/mode/1up
John Jung
Web Project Manager
University of Chicago Library
On May 30, 2013, at 5:04 PM, "Robinson, Lakeisha"
<lakeisha.robin...@yale.edu<mailto:lakeisha.robin...@yale.edu>> wrote:
Hello Everyone, is anybody using the Open Library Internet Archive
BookReader for page turning?