EBook-Reader

From WebOS Internals
Jump to navigation Jump to search

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

  1. on-pc conversion of various formats to pre-compatible format -probably using plucker distiller. Should support
    1. html
    2. rde
    3. doc
    4. pdb (palm-doc)
    5. pdb (isilo), prc (unencrypted mobipocket)
    6. plain text
    7. plucker
  2. on Pre conversion of html and text docs by download from the cloud.
  3. Library supports user definable catagories for sorting and shelving
  4. Book display page is minimally invasive making the most space available to read on as possible
  5. Typography is bifocal friendly. User definable print sizes, and if possibletype faces.
  6. user defined forground/background colors for text.
    1. Night mode
  7. multiple bookmarks per doc.
  8. shallow menus
  9. smooth scrolling or page-at-a-time scrolling by gestures.
    1. plucker style button-based scrolling
    2. swipe gesture based scrolling
    3. auto-scrolling with user adjustable speed
  10. support for covers.
  11. coverflow view of shelves.
  12. easy rapid sorting of books onto shelves.

Data Structure

Table: Catalog Title: string Author: string Shelfguid: CoverImage: Filename guid: (globally unique ID - a system generated number)

Table: Bookmarks guid: Position: ( an integer, refering to the character in the file at the top of the screen.)

Table: Shelves guid: ShelfName: Shelving Order: (A, T, or U) Representing Author, Title or User Set

Table ShelfOrder Shelfguid: 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.

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.