EBook-Reader
Application description from a users perspective
Scene 1: Splash image and 3 buttons:
.. Where I left off ... -- Opens the last book you read at the place you stopped.
.. Bookmarks ... -- opens a list of the books you have bookmarks in and lets you open them to there. -- previews 2 lines above and below bookmark.
... Library ... -- opens a scrollable page of "shelves" Each shelf has a label which is user defined, and each shelf presents the books on it as a coverflow. Books can be moved between shelves by dragging and dropping. Each shelf has a context menu to control order, title, author or user defined. If user defined menu will present shelf as a draggable list instead of a coverflow when you want to re-order books. backswipe returns to coverflow.
in either the bookmarks view, tapping a book takes you to either the bookmark or the title page. upswipe downswipe provide smooth scrolling. Left and right swipe provide page at a time scrolling. Back swipe in gesture offers to bookmark with a dialog and returns to the shelf you came from.
When on a book, top left menu presents presentation options, which can be set book by book or globally. Type face (if I can figure out how), size, leading, justification, colors etc..
Images default to no larger than 1/4 screen, but touch results in lightbox like zoom.
Menu at splash or library offers import, and delete of books. When in a shelf, books can be deleted by dragging them to the recycle.
Features Wish List
- on-pc conversion of various formats to pre-compatible format -probably using plucker distiller. Should support
- html
- rde
- doc
- m4b
- pdb (palm-doc)
- pdb (isilo), prc (unencrypted mobipocket)
- prc (encrypted) # lots of people with a ton of fictionwise books want this
- epub [1]
- plain text
- plucker
- on Pre conversion of html and text docs by download from the cloud.
- Library supports user definable catagories for sorting and shelving
- Shelves can be user defined to hold any collection of books a reader cares to:
- By author
- By Genre
- By Geography
- By cover color
- By Series # very useful to group books in a series together
- The user should define the sorting catagories. Shelf design can initially be a scroll list like the Contacts app.
- Book display page is minimally invasive making the most space available to read on as possible
- Typography is bifocal friendly. User definable print sizes, and if possible type faces.
- user defined foreground/background colors for text.
- Sepia
- Night mode
- Adjust screen brightness
- multiple bookmarks per doc.
- shallow menus
- smooth scrolling or page-at-a-time scrolling by gestures.
- plucker style button-based scrolling
- swipe gesture based scrolling
- auto-scrolling with user adjustable speed
- Pause auto-scrolling by tapping gesture area
- support for covers.
- coverflow view of shelves.
- easy rapid sorting of books onto shelves.
- Change text size
- Possibly be able to add books over Wi-Fi
- Copy & Paste words
- Dictionary search implemented
Data Structure
Table: Catalog
- catalogId: (globally unique ID - a system generated number)
- Title: string
- Author: string
- Genre: string
- catalogType: (B,S - book or series)
- ShelfId:
- CoverImage: Filename
Table: BookSeries
- bookseriesId: (globally unique ID - a system generated number)
- catSeriesId: (must be present in book table)
- catBookId: (must be present in book table and the catType )
Table: Bookmarks
- bkmkId:
- bookId: (must be present in book table)
- Position: ( an integer, refering to the character in the file at the top of the screen.)
Table: ShelfList
- shelfListId:
- ShelfName:
- ShelfOrder: (A, T, or U) Representing Author, Title or User Set
Table ShelfOrder
- shelfid:
- bookguid:
- position: (integer representing the position of this book on this shelf)
Table: BookText
- BookGuid:
- BookText:
Data Issues
- This structure does not provide for books stored as chapters. This structure presumes a book is a single document. That document might have internal chapter indicators, but this structure does not divide the book up.
- This structure makes no provision for the internal storage of images.
- Should we actually store the text of the book in the DB or do we leave the book on the file system and just store a link to it?
There is some point, therefore to consider if in booktext, we want to simply store a plucker file, which CAN contain images and text intermingled.
Book Format Issues
- Can javascript on the device natively parse/navigate all of the above list formats?
- No.
- Can javascript on the device effectively parse/navigate the plucker format (if we settle on this one), or do we need our own format?
- Perhaps. plucker decoding sources in JAVA at http://www.fbreader.org/downloads.php
- Once we settle on a format, will the device be powerful enough to convert other formats to this one, or will we need a PC app to do the converting?
- on pc app
- Has anyone found a free and open source method to unzip files or data streams in javascript??
- all i have found is a page that refers to the huffman compression technique (http://rumkin.com/tools/compression/compress_huff.php), but i don't know if that is how epub files are zipped and i don't know if we can get our hands on the source.