<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.webos-internals.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Stickywhipit</id>
	<title>WebOS Internals - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.webos-internals.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Stickywhipit"/>
	<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/wiki/Special:Contributions/Stickywhipit"/>
	<updated>2026-04-19T21:31:56Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.35.1</generator>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=EBook-Reader&amp;diff=5650</id>
		<title>EBook-Reader</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=EBook-Reader&amp;diff=5650"/>
		<updated>2009-09-11T13:13:52Z</updated>

		<summary type="html">&lt;p&gt;Stickywhipit: /* Data Issues */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===Application description from a users perspective ===&lt;br /&gt;
Scene 1: Splash image and 3 buttons: [[Image: Scene1.png|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
.. Where I left off ... -- Opens the last book you read at the place you stopped. &lt;br /&gt;
&lt;br /&gt;
.. 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. &lt;br /&gt;
&lt;br /&gt;
... Library ... -- opens a scrollable page of &amp;quot;shelves&amp;quot; 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. &lt;br /&gt;
&lt;br /&gt;
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. &lt;br /&gt;
&lt;br /&gt;
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.. &lt;br /&gt;
&lt;br /&gt;
Images default to no larger than 1/4 screen, but touch results in lightbox like zoom. &lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
===Features Wish List===&lt;br /&gt;
# on-pc conversion of various formats to pre-compatible format -probably using plucker distiller. Should support &lt;br /&gt;
## html&lt;br /&gt;
## rde&lt;br /&gt;
## doc&lt;br /&gt;
## m4b&lt;br /&gt;
## pdb (palm-doc)&lt;br /&gt;
## pdb (isilo), prc (unencrypted mobipocket)&lt;br /&gt;
## prc (encrypted) # lots of people with a ton of fictionwise books want this&lt;br /&gt;
## epub [http://en.wikipedia.org/wiki/EPUB]&lt;br /&gt;
## plain text&lt;br /&gt;
## plucker&lt;br /&gt;
## .lit&lt;br /&gt;
# on Pre conversion of html and text docs by download from the cloud. &lt;br /&gt;
# Library supports user definable catagories for sorting and shelving&lt;br /&gt;
#: Shelves can be user defined to hold any collection of books a reader cares to:  &lt;br /&gt;
#* By author&lt;br /&gt;
#* By Genre&lt;br /&gt;
#* By Geography&lt;br /&gt;
#* By cover color&lt;br /&gt;
#* By Series # very useful to group books in a series together&lt;br /&gt;
#: The ''user'' should define the sorting catagories. Shelf design can initially be a scroll list like the Contacts app.&lt;br /&gt;
# Book display page is minimally invasive making the most space available to read on as possible &lt;br /&gt;
# Typography is bifocal friendly. User definable print sizes, and if possible type faces. &lt;br /&gt;
# user defined foreground/background colors for text.&lt;br /&gt;
## Sepia &lt;br /&gt;
## Night mode&lt;br /&gt;
## Adjust screen brightness&lt;br /&gt;
# multiple bookmarks per doc. &lt;br /&gt;
# shallow menus&lt;br /&gt;
# smooth scrolling or page-at-a-time scrolling by gestures. &lt;br /&gt;
## plucker style button-based scrolling &lt;br /&gt;
## swipe gesture based scrolling&lt;br /&gt;
## auto-scrolling with user adjustable speed&lt;br /&gt;
### Pause auto-scrolling by tapping gesture area&lt;br /&gt;
## page turn on screen tap option&lt;br /&gt;
# support for covers.&lt;br /&gt;
# coverflow view of shelves. &lt;br /&gt;
# easy rapid sorting of books onto shelves.&lt;br /&gt;
# Change text size&lt;br /&gt;
# Possibly be able to add books over Wi-Fi&lt;br /&gt;
# Copy &amp;amp; Paste words&lt;br /&gt;
## Dictionary search implemented&lt;br /&gt;
# Support for rotation&lt;br /&gt;
## Portrait and Landscape views (at least for the reading screen)&lt;br /&gt;
## Auto adjust gesture orientation to match view&lt;br /&gt;
## Include a rotation &amp;quot;lock&amp;quot; to prevent unwanted rotations (or just ignore the accelerometer and make it a button or gesture controlled rotation)&lt;br /&gt;
&lt;br /&gt;
===Data Structure=== &lt;br /&gt;
&lt;br /&gt;
'''Table: Catalog'''&lt;br /&gt;
* catalogId:   (globally unique ID - a system generated number) &lt;br /&gt;
* Title:  string&lt;br /&gt;
* Author: string&lt;br /&gt;
* Genre: string&lt;br /&gt;
* catalogType: (B,S - book or series)&lt;br /&gt;
* ShelfId:  &lt;br /&gt;
* CoverImage: Filename&lt;br /&gt;
* Encrypted: boolean &lt;br /&gt;
* Format: string (book format)&lt;br /&gt;
&lt;br /&gt;
'''Table: BookSeries'''&lt;br /&gt;
* bookseriesId:   (globally unique ID - a system generated number) &lt;br /&gt;
* catSeriesId:   (must be present in book table and the catType must be 'S')&lt;br /&gt;
* catBookId:   (must be present in book table and the catType must be 'B')&lt;br /&gt;
&lt;br /&gt;
'''Table: Bookmarks'''&lt;br /&gt;
* bkmkId: &lt;br /&gt;
* bookId:   (must be present in book table)&lt;br /&gt;
* Position:   ( an integer, refering to the character in the file at the top of the screen.) &lt;br /&gt;
&lt;br /&gt;
'''Table: BookShelf'''&lt;br /&gt;
* shelfId: &lt;br /&gt;
* ShelfName:&lt;br /&gt;
* ShelfOrder: (A, T, or U)  Representing Author, Title or User Set&lt;br /&gt;
&lt;br /&gt;
'''Table ShelfOrder'''&lt;br /&gt;
* shelfId:&lt;br /&gt;
* bookId: &lt;br /&gt;
* position:  (integer representing the position of this book on this shelf) &lt;br /&gt;
&lt;br /&gt;
'''Table: BookText'''&lt;br /&gt;
* BookId: &lt;br /&gt;
* BookText: &lt;br /&gt;
&lt;br /&gt;
====Data Issues====&lt;br /&gt;
&lt;br /&gt;
* 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. &lt;br /&gt;
* This structure makes no provision for the internal storage of images. &lt;br /&gt;
* 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?&lt;br /&gt;
** Correct me if i am wrong, but the current SDK does not allow for writing files to the file system, so the database would be the best and sort-of only way to do it. Also, the ajax request is a little slow, the database might show better performance loading.&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
====Book Format Issues====&lt;br /&gt;
* Can javascript on the device natively parse/navigate all of the above list formats?&lt;br /&gt;
** '''No.''' &lt;br /&gt;
* Can javascript on the device effectively parse/navigate the plucker format (if we settle on this one), or do we need our own format?&lt;br /&gt;
** '''Perhaps.'''  plucker decoding sources in JAVA at  http://www.fbreader.org/downloads.php  &lt;br /&gt;
** Possible ePub since it's basically XHTML?&lt;br /&gt;
* 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?&lt;br /&gt;
** on pc app&lt;br /&gt;
** some scripts found so far: &lt;br /&gt;
*** ereader2html -- python app, same as plucker converters. &lt;br /&gt;
*** pdbshred  -- Binary app for unencrypting secure palm reader pdb's.  Sorry.  &lt;br /&gt;
*** (include others as you find them)&lt;br /&gt;
* Has anyone found a free and open source method to unzip files or data streams in javascript??&lt;br /&gt;
** 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.&lt;br /&gt;
**: note that this page says that compressing 15K takes MINUTES...   ooops.  :-(  Not going to work&lt;/div&gt;</summary>
		<author><name>Stickywhipit</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=EBook-Reader&amp;diff=4355</id>
		<title>EBook-Reader</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=EBook-Reader&amp;diff=4355"/>
		<updated>2009-08-14T16:49:27Z</updated>

		<summary type="html">&lt;p&gt;Stickywhipit: /* Data Structure */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===Application description from a users perspective ===&lt;br /&gt;
Scene 1: Splash image and 3 buttons: &lt;br /&gt;
&lt;br /&gt;
.. Where I left off ... -- Opens the last book you read at the place you stopped. &lt;br /&gt;
&lt;br /&gt;
.. 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. &lt;br /&gt;
&lt;br /&gt;
... Library ... -- opens a scrollable page of &amp;quot;shelves&amp;quot; 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. &lt;br /&gt;
&lt;br /&gt;
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. &lt;br /&gt;
&lt;br /&gt;
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.. &lt;br /&gt;
&lt;br /&gt;
Images default to no larger than 1/4 screen, but touch results in lightbox like zoom. &lt;br /&gt;
&lt;br /&gt;
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. &lt;br /&gt;
&lt;br /&gt;
===Features Wish List===&lt;br /&gt;
# on-pc conversion of various formats to pre-compatible format -probably using plucker distiller. Should support &lt;br /&gt;
## html&lt;br /&gt;
## rde&lt;br /&gt;
## doc&lt;br /&gt;
## m4b&lt;br /&gt;
## pdb (palm-doc)&lt;br /&gt;
## pdb (isilo), prc (unencrypted mobipocket)&lt;br /&gt;
## prc (encrypted) # lots of people with a ton of fictionwise books want this&lt;br /&gt;
## epub [http://en.wikipedia.org/wiki/EPUB]&lt;br /&gt;
## plain text&lt;br /&gt;
## plucker&lt;br /&gt;
# on Pre conversion of html and text docs by download from the cloud. &lt;br /&gt;
# Library supports user definable catagories for sorting and shelving&lt;br /&gt;
#: Shelves can be user defined to hold any collection of books a reader cares to:  &lt;br /&gt;
#* By author&lt;br /&gt;
#* By Genre&lt;br /&gt;
#* By Geography&lt;br /&gt;
#* By cover color&lt;br /&gt;
#* By Series # very useful to group books in a series together&lt;br /&gt;
#: The ''user'' should define the sorting catagories. Shelf design can initially be a scroll list like the Contacts app.&lt;br /&gt;
# Book display page is minimally invasive making the most space available to read on as possible &lt;br /&gt;
# Typography is bifocal friendly. User definable print sizes, and if possible type faces. &lt;br /&gt;
# user defined foreground/background colors for text.&lt;br /&gt;
## Sepia &lt;br /&gt;
## Night mode&lt;br /&gt;
## Adjust screen brightness&lt;br /&gt;
# multiple bookmarks per doc. &lt;br /&gt;
# shallow menus&lt;br /&gt;
# smooth scrolling or page-at-a-time scrolling by gestures. &lt;br /&gt;
## plucker style button-based scrolling &lt;br /&gt;
## swipe gesture based scrolling&lt;br /&gt;
## auto-scrolling with user adjustable speed&lt;br /&gt;
### Pause auto-scrolling by tapping gesture area&lt;br /&gt;
# support for covers.&lt;br /&gt;
# coverflow view of shelves. &lt;br /&gt;
# easy rapid sorting of books onto shelves.&lt;br /&gt;
# Change text size&lt;br /&gt;
# Possibly be able to add books over Wi-Fi&lt;br /&gt;
# Copy &amp;amp; Paste words&lt;br /&gt;
## Dictionary search implemented&lt;br /&gt;
&lt;br /&gt;
===Data Structure=== &lt;br /&gt;
&lt;br /&gt;
'''Table: Catalog'''&lt;br /&gt;
* catalogId:   (globally unique ID - a system generated number) &lt;br /&gt;
* Title:  string&lt;br /&gt;
* Author: string&lt;br /&gt;
* Genre: string&lt;br /&gt;
* catalogType: (B,S - book or series)&lt;br /&gt;
* ShelfId:  &lt;br /&gt;
* CoverImage: Filename&lt;br /&gt;
&lt;br /&gt;
'''Table: BookSeries'''&lt;br /&gt;
* bookseriesId:   (globally unique ID - a system generated number) &lt;br /&gt;
* catSeriesId:   (must be present in book table and the catType must be 'S')&lt;br /&gt;
* catBookId:   (must be present in book table and the catType must be 'B')&lt;br /&gt;
&lt;br /&gt;
'''Table: Bookmarks'''&lt;br /&gt;
* bkmkId: &lt;br /&gt;
* bookId:   (must be present in book table)&lt;br /&gt;
* Position:   ( an integer, refering to the character in the file at the top of the screen.) &lt;br /&gt;
&lt;br /&gt;
'''Table: BookShelf'''&lt;br /&gt;
* shelfId: &lt;br /&gt;
* ShelfName:&lt;br /&gt;
* ShelfOrder: (A, T, or U)  Representing Author, Title or User Set&lt;br /&gt;
&lt;br /&gt;
'''Table ShelfOrder'''&lt;br /&gt;
* shelfId:&lt;br /&gt;
* bookId: &lt;br /&gt;
* position:  (integer representing the position of this book on this shelf) &lt;br /&gt;
&lt;br /&gt;
'''Table: BookText'''&lt;br /&gt;
* BookId: &lt;br /&gt;
* BookText: &lt;br /&gt;
&lt;br /&gt;
====Data Issues====&lt;br /&gt;
&lt;br /&gt;
* 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. &lt;br /&gt;
* This structure makes no provision for the internal storage of images. &lt;br /&gt;
* 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?&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
====Book Format Issues====&lt;br /&gt;
* Can javascript on the device natively parse/navigate all of the above list formats?&lt;br /&gt;
** '''No.''' &lt;br /&gt;
* Can javascript on the device effectively parse/navigate the plucker format (if we settle on this one), or do we need our own format?&lt;br /&gt;
** '''Perhaps.'''  plucker decoding sources in JAVA at  http://www.fbreader.org/downloads.php  &lt;br /&gt;
* 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?&lt;br /&gt;
** on pc app&lt;br /&gt;
* Has anyone found a free and open source method to unzip files or data streams in javascript??&lt;br /&gt;
** 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.&lt;/div&gt;</summary>
		<author><name>Stickywhipit</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=EBook-Reader&amp;diff=4354</id>
		<title>EBook-Reader</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=EBook-Reader&amp;diff=4354"/>
		<updated>2009-08-14T16:47:53Z</updated>

		<summary type="html">&lt;p&gt;Stickywhipit: /* Data Structure */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===Application description from a users perspective ===&lt;br /&gt;
Scene 1: Splash image and 3 buttons: &lt;br /&gt;
&lt;br /&gt;
.. Where I left off ... -- Opens the last book you read at the place you stopped. &lt;br /&gt;
&lt;br /&gt;
.. 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. &lt;br /&gt;
&lt;br /&gt;
... Library ... -- opens a scrollable page of &amp;quot;shelves&amp;quot; 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. &lt;br /&gt;
&lt;br /&gt;
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. &lt;br /&gt;
&lt;br /&gt;
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.. &lt;br /&gt;
&lt;br /&gt;
Images default to no larger than 1/4 screen, but touch results in lightbox like zoom. &lt;br /&gt;
&lt;br /&gt;
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. &lt;br /&gt;
&lt;br /&gt;
===Features Wish List===&lt;br /&gt;
# on-pc conversion of various formats to pre-compatible format -probably using plucker distiller. Should support &lt;br /&gt;
## html&lt;br /&gt;
## rde&lt;br /&gt;
## doc&lt;br /&gt;
## m4b&lt;br /&gt;
## pdb (palm-doc)&lt;br /&gt;
## pdb (isilo), prc (unencrypted mobipocket)&lt;br /&gt;
## prc (encrypted) # lots of people with a ton of fictionwise books want this&lt;br /&gt;
## epub [http://en.wikipedia.org/wiki/EPUB]&lt;br /&gt;
## plain text&lt;br /&gt;
## plucker&lt;br /&gt;
# on Pre conversion of html and text docs by download from the cloud. &lt;br /&gt;
# Library supports user definable catagories for sorting and shelving&lt;br /&gt;
#: Shelves can be user defined to hold any collection of books a reader cares to:  &lt;br /&gt;
#* By author&lt;br /&gt;
#* By Genre&lt;br /&gt;
#* By Geography&lt;br /&gt;
#* By cover color&lt;br /&gt;
#* By Series # very useful to group books in a series together&lt;br /&gt;
#: The ''user'' should define the sorting catagories. Shelf design can initially be a scroll list like the Contacts app.&lt;br /&gt;
# Book display page is minimally invasive making the most space available to read on as possible &lt;br /&gt;
# Typography is bifocal friendly. User definable print sizes, and if possible type faces. &lt;br /&gt;
# user defined foreground/background colors for text.&lt;br /&gt;
## Sepia &lt;br /&gt;
## Night mode&lt;br /&gt;
## Adjust screen brightness&lt;br /&gt;
# multiple bookmarks per doc. &lt;br /&gt;
# shallow menus&lt;br /&gt;
# smooth scrolling or page-at-a-time scrolling by gestures. &lt;br /&gt;
## plucker style button-based scrolling &lt;br /&gt;
## swipe gesture based scrolling&lt;br /&gt;
## auto-scrolling with user adjustable speed&lt;br /&gt;
### Pause auto-scrolling by tapping gesture area&lt;br /&gt;
# support for covers.&lt;br /&gt;
# coverflow view of shelves. &lt;br /&gt;
# easy rapid sorting of books onto shelves.&lt;br /&gt;
# Change text size&lt;br /&gt;
# Possibly be able to add books over Wi-Fi&lt;br /&gt;
# Copy &amp;amp; Paste words&lt;br /&gt;
## Dictionary search implemented&lt;br /&gt;
&lt;br /&gt;
===Data Structure=== &lt;br /&gt;
&lt;br /&gt;
'''Table: Catalog'''&lt;br /&gt;
* catalogId:   (globally unique ID - a system generated number) &lt;br /&gt;
* Title:  string&lt;br /&gt;
* Author: string&lt;br /&gt;
* Genre: string&lt;br /&gt;
* catalogType: (B,S - book or series)&lt;br /&gt;
* ShelfId:  &lt;br /&gt;
* CoverImage: Filename&lt;br /&gt;
&lt;br /&gt;
'''Table: BookSeries'''&lt;br /&gt;
* bookseriesId:   (globally unique ID - a system generated number) &lt;br /&gt;
* catSeriesId:   (must be present in book table and the catType must be 'S')&lt;br /&gt;
* catBookId:   (must be present in book table and the catType must be 'B')&lt;br /&gt;
&lt;br /&gt;
'''Table: Bookmarks'''&lt;br /&gt;
* bkmkId: &lt;br /&gt;
* bookId:   (must be present in book table)&lt;br /&gt;
* Position:   ( an integer, refering to the character in the file at the top of the screen.) &lt;br /&gt;
&lt;br /&gt;
'''Table: ShelfList'''&lt;br /&gt;
* shelfListId: &lt;br /&gt;
* ShelfName:&lt;br /&gt;
* ShelfOrder: (A, T, or U)  Representing Author, Title or User Set&lt;br /&gt;
&lt;br /&gt;
'''Table ShelfOrder'''&lt;br /&gt;
* shelfid:&lt;br /&gt;
* bookguid: &lt;br /&gt;
* position:  (integer representing the position of this book on this shelf) &lt;br /&gt;
&lt;br /&gt;
'''Table: BookText'''&lt;br /&gt;
* BookGuid: &lt;br /&gt;
* BookText: &lt;br /&gt;
&lt;br /&gt;
====Data Issues====&lt;br /&gt;
&lt;br /&gt;
* 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. &lt;br /&gt;
* This structure makes no provision for the internal storage of images. &lt;br /&gt;
* 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?&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
====Book Format Issues====&lt;br /&gt;
* Can javascript on the device natively parse/navigate all of the above list formats?&lt;br /&gt;
** '''No.''' &lt;br /&gt;
* Can javascript on the device effectively parse/navigate the plucker format (if we settle on this one), or do we need our own format?&lt;br /&gt;
** '''Perhaps.'''  plucker decoding sources in JAVA at  http://www.fbreader.org/downloads.php  &lt;br /&gt;
* 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?&lt;br /&gt;
** on pc app&lt;br /&gt;
* Has anyone found a free and open source method to unzip files or data streams in javascript??&lt;br /&gt;
** 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.&lt;/div&gt;</summary>
		<author><name>Stickywhipit</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=EBook-Reader&amp;diff=4353</id>
		<title>EBook-Reader</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=EBook-Reader&amp;diff=4353"/>
		<updated>2009-08-14T16:47:07Z</updated>

		<summary type="html">&lt;p&gt;Stickywhipit: /* Book Format Issues */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===Application description from a users perspective ===&lt;br /&gt;
Scene 1: Splash image and 3 buttons: &lt;br /&gt;
&lt;br /&gt;
.. Where I left off ... -- Opens the last book you read at the place you stopped. &lt;br /&gt;
&lt;br /&gt;
.. 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. &lt;br /&gt;
&lt;br /&gt;
... Library ... -- opens a scrollable page of &amp;quot;shelves&amp;quot; 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. &lt;br /&gt;
&lt;br /&gt;
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. &lt;br /&gt;
&lt;br /&gt;
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.. &lt;br /&gt;
&lt;br /&gt;
Images default to no larger than 1/4 screen, but touch results in lightbox like zoom. &lt;br /&gt;
&lt;br /&gt;
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. &lt;br /&gt;
&lt;br /&gt;
===Features Wish List===&lt;br /&gt;
# on-pc conversion of various formats to pre-compatible format -probably using plucker distiller. Should support &lt;br /&gt;
## html&lt;br /&gt;
## rde&lt;br /&gt;
## doc&lt;br /&gt;
## m4b&lt;br /&gt;
## pdb (palm-doc)&lt;br /&gt;
## pdb (isilo), prc (unencrypted mobipocket)&lt;br /&gt;
## prc (encrypted) # lots of people with a ton of fictionwise books want this&lt;br /&gt;
## epub [http://en.wikipedia.org/wiki/EPUB]&lt;br /&gt;
## plain text&lt;br /&gt;
## plucker&lt;br /&gt;
# on Pre conversion of html and text docs by download from the cloud. &lt;br /&gt;
# Library supports user definable catagories for sorting and shelving&lt;br /&gt;
#: Shelves can be user defined to hold any collection of books a reader cares to:  &lt;br /&gt;
#* By author&lt;br /&gt;
#* By Genre&lt;br /&gt;
#* By Geography&lt;br /&gt;
#* By cover color&lt;br /&gt;
#* By Series # very useful to group books in a series together&lt;br /&gt;
#: The ''user'' should define the sorting catagories. Shelf design can initially be a scroll list like the Contacts app.&lt;br /&gt;
# Book display page is minimally invasive making the most space available to read on as possible &lt;br /&gt;
# Typography is bifocal friendly. User definable print sizes, and if possible type faces. &lt;br /&gt;
# user defined foreground/background colors for text.&lt;br /&gt;
## Sepia &lt;br /&gt;
## Night mode&lt;br /&gt;
## Adjust screen brightness&lt;br /&gt;
# multiple bookmarks per doc. &lt;br /&gt;
# shallow menus&lt;br /&gt;
# smooth scrolling or page-at-a-time scrolling by gestures. &lt;br /&gt;
## plucker style button-based scrolling &lt;br /&gt;
## swipe gesture based scrolling&lt;br /&gt;
## auto-scrolling with user adjustable speed&lt;br /&gt;
### Pause auto-scrolling by tapping gesture area&lt;br /&gt;
# support for covers.&lt;br /&gt;
# coverflow view of shelves. &lt;br /&gt;
# easy rapid sorting of books onto shelves.&lt;br /&gt;
# Change text size&lt;br /&gt;
# Possibly be able to add books over Wi-Fi&lt;br /&gt;
# Copy &amp;amp; Paste words&lt;br /&gt;
## Dictionary search implemented&lt;br /&gt;
&lt;br /&gt;
===Data Structure=== &lt;br /&gt;
&lt;br /&gt;
'''Table: Catalog'''&lt;br /&gt;
* catalogId:   (globally unique ID - a system generated number) &lt;br /&gt;
* Title:  string&lt;br /&gt;
* Author: string&lt;br /&gt;
* Genre: string&lt;br /&gt;
* catalogType: (B,S - book or series)&lt;br /&gt;
* ShelfId:  &lt;br /&gt;
* CoverImage: Filename&lt;br /&gt;
&lt;br /&gt;
'''Table: BookSeries'''&lt;br /&gt;
* bookseriesId:   (globally unique ID - a system generated number) &lt;br /&gt;
* catSeriesId:   (must be present in book table)&lt;br /&gt;
* catBookId:   (must be present in book table and the catType )&lt;br /&gt;
&lt;br /&gt;
'''Table: Bookmarks'''&lt;br /&gt;
* bkmkId: &lt;br /&gt;
* bookId:   (must be present in book table)&lt;br /&gt;
* Position:   ( an integer, refering to the character in the file at the top of the screen.) &lt;br /&gt;
&lt;br /&gt;
'''Table: ShelfList'''&lt;br /&gt;
* shelfListId: &lt;br /&gt;
* ShelfName:&lt;br /&gt;
* ShelfOrder: (A, T, or U)  Representing Author, Title or User Set&lt;br /&gt;
&lt;br /&gt;
'''Table ShelfOrder'''&lt;br /&gt;
* shelfid:&lt;br /&gt;
* bookguid: &lt;br /&gt;
* position:  (integer representing the position of this book on this shelf) &lt;br /&gt;
&lt;br /&gt;
'''Table: BookText'''&lt;br /&gt;
* BookGuid: &lt;br /&gt;
* BookText: &lt;br /&gt;
&lt;br /&gt;
====Data Issues====&lt;br /&gt;
&lt;br /&gt;
* 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. &lt;br /&gt;
* This structure makes no provision for the internal storage of images. &lt;br /&gt;
* 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?&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
====Book Format Issues====&lt;br /&gt;
* Can javascript on the device natively parse/navigate all of the above list formats?&lt;br /&gt;
** '''No.''' &lt;br /&gt;
* Can javascript on the device effectively parse/navigate the plucker format (if we settle on this one), or do we need our own format?&lt;br /&gt;
** '''Perhaps.'''  plucker decoding sources in JAVA at  http://www.fbreader.org/downloads.php  &lt;br /&gt;
* 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?&lt;br /&gt;
** on pc app&lt;br /&gt;
* Has anyone found a free and open source method to unzip files or data streams in javascript??&lt;br /&gt;
** 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.&lt;/div&gt;</summary>
		<author><name>Stickywhipit</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=EBook-Reader&amp;diff=4352</id>
		<title>EBook-Reader</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=EBook-Reader&amp;diff=4352"/>
		<updated>2009-08-14T16:46:40Z</updated>

		<summary type="html">&lt;p&gt;Stickywhipit: /* Data Structure */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===Application description from a users perspective ===&lt;br /&gt;
Scene 1: Splash image and 3 buttons: &lt;br /&gt;
&lt;br /&gt;
.. Where I left off ... -- Opens the last book you read at the place you stopped. &lt;br /&gt;
&lt;br /&gt;
.. 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. &lt;br /&gt;
&lt;br /&gt;
... Library ... -- opens a scrollable page of &amp;quot;shelves&amp;quot; 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. &lt;br /&gt;
&lt;br /&gt;
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. &lt;br /&gt;
&lt;br /&gt;
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.. &lt;br /&gt;
&lt;br /&gt;
Images default to no larger than 1/4 screen, but touch results in lightbox like zoom. &lt;br /&gt;
&lt;br /&gt;
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. &lt;br /&gt;
&lt;br /&gt;
===Features Wish List===&lt;br /&gt;
# on-pc conversion of various formats to pre-compatible format -probably using plucker distiller. Should support &lt;br /&gt;
## html&lt;br /&gt;
## rde&lt;br /&gt;
## doc&lt;br /&gt;
## m4b&lt;br /&gt;
## pdb (palm-doc)&lt;br /&gt;
## pdb (isilo), prc (unencrypted mobipocket)&lt;br /&gt;
## prc (encrypted) # lots of people with a ton of fictionwise books want this&lt;br /&gt;
## epub [http://en.wikipedia.org/wiki/EPUB]&lt;br /&gt;
## plain text&lt;br /&gt;
## plucker&lt;br /&gt;
# on Pre conversion of html and text docs by download from the cloud. &lt;br /&gt;
# Library supports user definable catagories for sorting and shelving&lt;br /&gt;
#: Shelves can be user defined to hold any collection of books a reader cares to:  &lt;br /&gt;
#* By author&lt;br /&gt;
#* By Genre&lt;br /&gt;
#* By Geography&lt;br /&gt;
#* By cover color&lt;br /&gt;
#* By Series # very useful to group books in a series together&lt;br /&gt;
#: The ''user'' should define the sorting catagories. Shelf design can initially be a scroll list like the Contacts app.&lt;br /&gt;
# Book display page is minimally invasive making the most space available to read on as possible &lt;br /&gt;
# Typography is bifocal friendly. User definable print sizes, and if possible type faces. &lt;br /&gt;
# user defined foreground/background colors for text.&lt;br /&gt;
## Sepia &lt;br /&gt;
## Night mode&lt;br /&gt;
## Adjust screen brightness&lt;br /&gt;
# multiple bookmarks per doc. &lt;br /&gt;
# shallow menus&lt;br /&gt;
# smooth scrolling or page-at-a-time scrolling by gestures. &lt;br /&gt;
## plucker style button-based scrolling &lt;br /&gt;
## swipe gesture based scrolling&lt;br /&gt;
## auto-scrolling with user adjustable speed&lt;br /&gt;
### Pause auto-scrolling by tapping gesture area&lt;br /&gt;
# support for covers.&lt;br /&gt;
# coverflow view of shelves. &lt;br /&gt;
# easy rapid sorting of books onto shelves.&lt;br /&gt;
# Change text size&lt;br /&gt;
# Possibly be able to add books over Wi-Fi&lt;br /&gt;
# Copy &amp;amp; Paste words&lt;br /&gt;
## Dictionary search implemented&lt;br /&gt;
&lt;br /&gt;
===Data Structure=== &lt;br /&gt;
&lt;br /&gt;
'''Table: Catalog'''&lt;br /&gt;
* catalogId:   (globally unique ID - a system generated number) &lt;br /&gt;
* Title:  string&lt;br /&gt;
* Author: string&lt;br /&gt;
* Genre: string&lt;br /&gt;
* catalogType: (B,S - book or series)&lt;br /&gt;
* ShelfId:  &lt;br /&gt;
* CoverImage: Filename&lt;br /&gt;
&lt;br /&gt;
'''Table: BookSeries'''&lt;br /&gt;
* bookseriesId:   (globally unique ID - a system generated number) &lt;br /&gt;
* catSeriesId:   (must be present in book table)&lt;br /&gt;
* catBookId:   (must be present in book table and the catType )&lt;br /&gt;
&lt;br /&gt;
'''Table: Bookmarks'''&lt;br /&gt;
* bkmkId: &lt;br /&gt;
* bookId:   (must be present in book table)&lt;br /&gt;
* Position:   ( an integer, refering to the character in the file at the top of the screen.) &lt;br /&gt;
&lt;br /&gt;
'''Table: ShelfList'''&lt;br /&gt;
* shelfListId: &lt;br /&gt;
* ShelfName:&lt;br /&gt;
* ShelfOrder: (A, T, or U)  Representing Author, Title or User Set&lt;br /&gt;
&lt;br /&gt;
'''Table ShelfOrder'''&lt;br /&gt;
* shelfid:&lt;br /&gt;
* bookguid: &lt;br /&gt;
* position:  (integer representing the position of this book on this shelf) &lt;br /&gt;
&lt;br /&gt;
'''Table: BookText'''&lt;br /&gt;
* BookGuid: &lt;br /&gt;
* BookText: &lt;br /&gt;
&lt;br /&gt;
====Data Issues====&lt;br /&gt;
&lt;br /&gt;
* 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. &lt;br /&gt;
* This structure makes no provision for the internal storage of images. &lt;br /&gt;
* 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?&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
====Book Format Issues====&lt;br /&gt;
* Can javascript on the device natively parse/navigate all of the above list formats?&lt;br /&gt;
** '''No.''' &lt;br /&gt;
* Can javascript on the device effectively parse/navigate the plucker format (if we settle on this one), or do we need our own format?&lt;br /&gt;
** '''Perhaps.'''  plucker decoding sources in JAVA at  http://www.fbreader.org/downloads.php  &lt;br /&gt;
* 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?&lt;br /&gt;
** on pc app&lt;br /&gt;
* !! has anyone found a free and open source method to unzip files or data streams in javascript??&lt;br /&gt;
** 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.&lt;/div&gt;</summary>
		<author><name>Stickywhipit</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=EBook-Reader&amp;diff=4351</id>
		<title>EBook-Reader</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=EBook-Reader&amp;diff=4351"/>
		<updated>2009-08-14T14:22:18Z</updated>

		<summary type="html">&lt;p&gt;Stickywhipit: /* Data Structure */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===Application description from a users perspective ===&lt;br /&gt;
Scene 1: Splash image and 3 buttons: &lt;br /&gt;
&lt;br /&gt;
.. Where I left off ... -- Opens the last book you read at the place you stopped. &lt;br /&gt;
&lt;br /&gt;
.. 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. &lt;br /&gt;
&lt;br /&gt;
... Library ... -- opens a scrollable page of &amp;quot;shelves&amp;quot; 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. &lt;br /&gt;
&lt;br /&gt;
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. &lt;br /&gt;
&lt;br /&gt;
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.. &lt;br /&gt;
&lt;br /&gt;
Images default to no larger than 1/4 screen, but touch results in lightbox like zoom. &lt;br /&gt;
&lt;br /&gt;
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. &lt;br /&gt;
&lt;br /&gt;
===Features Wish List===&lt;br /&gt;
# on-pc conversion of various formats to pre-compatible format -probably using plucker distiller. Should support &lt;br /&gt;
## html&lt;br /&gt;
## rde&lt;br /&gt;
## doc&lt;br /&gt;
## m4b&lt;br /&gt;
## pdb (palm-doc)&lt;br /&gt;
## pdb (isilo), prc (unencrypted mobipocket)&lt;br /&gt;
## prc (encrypted) # lots of people with a ton of fictionwise books want this&lt;br /&gt;
## epub [http://en.wikipedia.org/wiki/EPUB]&lt;br /&gt;
## plain text&lt;br /&gt;
## plucker&lt;br /&gt;
# on Pre conversion of html and text docs by download from the cloud. &lt;br /&gt;
# Library supports user definable catagories for sorting and shelving&lt;br /&gt;
#: Shelves can be user defined to hold any collection of books a reader cares to:  &lt;br /&gt;
#* By author&lt;br /&gt;
#* By Genre&lt;br /&gt;
#* By Geography&lt;br /&gt;
#* By cover color&lt;br /&gt;
#* By Series # very useful to group books in a series together&lt;br /&gt;
#: The ''user'' should define the sorting catagories. Shelf design can initially be a scroll list like the Contacts app.&lt;br /&gt;
# Book display page is minimally invasive making the most space available to read on as possible &lt;br /&gt;
# Typography is bifocal friendly. User definable print sizes, and if possible type faces. &lt;br /&gt;
# user defined foreground/background colors for text.&lt;br /&gt;
## Sepia &lt;br /&gt;
## Night mode&lt;br /&gt;
## Adjust screen brightness&lt;br /&gt;
# multiple bookmarks per doc. &lt;br /&gt;
# shallow menus&lt;br /&gt;
# smooth scrolling or page-at-a-time scrolling by gestures. &lt;br /&gt;
## plucker style button-based scrolling &lt;br /&gt;
## swipe gesture based scrolling&lt;br /&gt;
## auto-scrolling with user adjustable speed&lt;br /&gt;
### Pause auto-scrolling by tapping gesture area&lt;br /&gt;
# support for covers.&lt;br /&gt;
# coverflow view of shelves. &lt;br /&gt;
# easy rapid sorting of books onto shelves.&lt;br /&gt;
# Change text size&lt;br /&gt;
# Possibly be able to add books over Wi-Fi&lt;br /&gt;
# Copy &amp;amp; Paste words&lt;br /&gt;
## Dictionary search implemented&lt;br /&gt;
&lt;br /&gt;
===Data Structure=== &lt;br /&gt;
&lt;br /&gt;
'''Table: Book'''&lt;br /&gt;
* bookId:   (globally unique ID - a system generated number) &lt;br /&gt;
* Title:  string&lt;br /&gt;
* Author: string&lt;br /&gt;
* Genre: string&lt;br /&gt;
* ShelfId:  &lt;br /&gt;
* CoverImage: Filename&lt;br /&gt;
&lt;br /&gt;
'''Table: BookSeries'''&lt;br /&gt;
* seriesId:   (globally unique ID - a system generated number) &lt;br /&gt;
* bookId:   (must be present in book table)&lt;br /&gt;
&lt;br /&gt;
'''Table: Bookmarks'''&lt;br /&gt;
* bkmkId: &lt;br /&gt;
* bookId:   (must be present in book table)&lt;br /&gt;
* Position:   ( an integer, refering to the character in the file at the top of the screen.) &lt;br /&gt;
&lt;br /&gt;
'''Table: ShelfList'''&lt;br /&gt;
* shelfListId: &lt;br /&gt;
* ShelfName:&lt;br /&gt;
* ShelfOrder: (A, T, or U)  Representing Author, Title or User Set&lt;br /&gt;
&lt;br /&gt;
'''Table ShelfOrder'''&lt;br /&gt;
* shelfid:&lt;br /&gt;
* bookguid: &lt;br /&gt;
* position:  (integer representing the position of this book on this shelf) &lt;br /&gt;
&lt;br /&gt;
'''Table: BookText'''&lt;br /&gt;
* BookGuid: &lt;br /&gt;
* BookText: &lt;br /&gt;
&lt;br /&gt;
====Data Issues====&lt;br /&gt;
&lt;br /&gt;
* 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. &lt;br /&gt;
* This structure makes no provision for the internal storage of images. &lt;br /&gt;
* 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?&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
====Book Format Issues====&lt;br /&gt;
* Can javascript on the device natively parse/navigate all of the above list formats?&lt;br /&gt;
** '''No.''' &lt;br /&gt;
* Can javascript on the device effectively parse/navigate the plucker format (if we settle on this one), or do we need our own format?&lt;br /&gt;
** '''Perhaps.'''  plucker decoding sources in JAVA at  http://www.fbreader.org/downloads.php  &lt;br /&gt;
* 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?&lt;br /&gt;
** on pc app&lt;br /&gt;
* !! has anyone found a free and open source method to unzip files or data streams in javascript??&lt;br /&gt;
** 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.&lt;/div&gt;</summary>
		<author><name>Stickywhipit</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=EBook-Reader&amp;diff=4326</id>
		<title>EBook-Reader</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=EBook-Reader&amp;diff=4326"/>
		<updated>2009-08-13T14:35:41Z</updated>

		<summary type="html">&lt;p&gt;Stickywhipit: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===Application description from a users perspective ===&lt;br /&gt;
Scene 1: Splash image and 3 buttons: &lt;br /&gt;
&lt;br /&gt;
.. Where I left off ... -- Opens the last book you read at the place you stopped. &lt;br /&gt;
&lt;br /&gt;
.. 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. &lt;br /&gt;
&lt;br /&gt;
... Library ... -- opens a scrollable page of &amp;quot;shelves&amp;quot; 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. &lt;br /&gt;
&lt;br /&gt;
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. &lt;br /&gt;
&lt;br /&gt;
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.. &lt;br /&gt;
&lt;br /&gt;
Images default to no larger than 1/4 screen, but touch results in lightbox like zoom. &lt;br /&gt;
&lt;br /&gt;
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. &lt;br /&gt;
&lt;br /&gt;
===Features Wish List===&lt;br /&gt;
# on-pc conversion of various formats to pre-compatible format -probably using plucker distiller. Should support &lt;br /&gt;
## html&lt;br /&gt;
## rde&lt;br /&gt;
## doc&lt;br /&gt;
## m4b&lt;br /&gt;
## pdb (palm-doc)&lt;br /&gt;
## pdb (isilo), prc (unencrypted mobipocket)&lt;br /&gt;
## prc (encrypted) # lots of people with a ton of fictionwise books want this&lt;br /&gt;
## epub [http://en.wikipedia.org/wiki/EPUB]&lt;br /&gt;
## plain text&lt;br /&gt;
## plucker&lt;br /&gt;
# on Pre conversion of html and text docs by download from the cloud. &lt;br /&gt;
# Library supports user definable catagories for sorting and shelving&lt;br /&gt;
#: Shelves can be user defined to hold any collection of books a reader cares to:  &lt;br /&gt;
#* By author&lt;br /&gt;
#* By Genre&lt;br /&gt;
#* By Geography&lt;br /&gt;
#* By cover color&lt;br /&gt;
#* By Series # very useful to group books in a series together&lt;br /&gt;
#: The ''user'' should define the sorting catagories. Shelf design can initially be a scroll list like the Contacts app.&lt;br /&gt;
# Book display page is minimally invasive making the most space available to read on as possible &lt;br /&gt;
# Typography is bifocal friendly. User definable print sizes, and if possible type faces. &lt;br /&gt;
# user defined foreground/background colors for text.&lt;br /&gt;
## Sepia &lt;br /&gt;
## Night mode&lt;br /&gt;
## Adjust screen brightness&lt;br /&gt;
# multiple bookmarks per doc. &lt;br /&gt;
# shallow menus&lt;br /&gt;
# smooth scrolling or page-at-a-time scrolling by gestures. &lt;br /&gt;
## plucker style button-based scrolling &lt;br /&gt;
## swipe gesture based scrolling&lt;br /&gt;
## auto-scrolling with user adjustable speed&lt;br /&gt;
### Pause auto-scrolling by tapping gesture area&lt;br /&gt;
# support for covers.&lt;br /&gt;
# coverflow view of shelves. &lt;br /&gt;
# easy rapid sorting of books onto shelves.&lt;br /&gt;
# Change text size&lt;br /&gt;
# Possibly be able to add books over Wi-Fi&lt;br /&gt;
# Copy &amp;amp; Paste words&lt;br /&gt;
## Dictionary search implemented&lt;br /&gt;
&lt;br /&gt;
===Data Structure=== &lt;br /&gt;
&lt;br /&gt;
'''Table: Catalog'''&lt;br /&gt;
Title:  string&lt;br /&gt;
Author: string&lt;br /&gt;
Shelfguid:  &lt;br /&gt;
CoverImage: Filename&lt;br /&gt;
guid:   (globally unique ID - a system generated number) &lt;br /&gt;
&lt;br /&gt;
'''Table: Bookmarks'''&lt;br /&gt;
guid: &lt;br /&gt;
Position:   ( an integer, refering to the character in the file at the top of the screen.) &lt;br /&gt;
&lt;br /&gt;
'''Table: Shelves'''&lt;br /&gt;
guid: &lt;br /&gt;
ShelfName:&lt;br /&gt;
Shelving Order: (A, T, or U)  Representing Author, Title or User Set&lt;br /&gt;
&lt;br /&gt;
'''Table ShelfOrder'''&lt;br /&gt;
Shelfguid:&lt;br /&gt;
Bookguid: &lt;br /&gt;
Position:  (integer representing the position of this book on this shelf) &lt;br /&gt;
&lt;br /&gt;
'''Table: BookText'''&lt;br /&gt;
BookGuid: &lt;br /&gt;
BookText: &lt;br /&gt;
&lt;br /&gt;
====Data Issues====&lt;br /&gt;
&lt;br /&gt;
* 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. &lt;br /&gt;
* This structure makes no provision for the internal storage of images. &lt;br /&gt;
* 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?&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
====Book Format Issues====&lt;br /&gt;
* Can javascript on the device natively parse/navigate all of the above list formats?&lt;br /&gt;
* Can javascript on the device effectively parse/navigate the plucker format (if we settle on this one), or do we need our own format?&lt;br /&gt;
* 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?&lt;/div&gt;</summary>
		<author><name>Stickywhipit</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Patch_Phone_Show_Call_Duration_in_the_Call_Log&amp;diff=2625</id>
		<title>Patch Phone Show Call Duration in the Call Log</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Patch_Phone_Show_Call_Duration_in_the_Call_Log&amp;diff=2625"/>
		<updated>2009-07-27T04:32:49Z</updated>

		<summary type="html">&lt;p&gt;Stickywhipit: /* Show call duration in the call log */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page details ways to enable hidden functionality in on the palm pre. You will need root shell access to perform these changes. Follow these instructions at your own risk, if you make an error (or perhaps even if you do it correctly) you risk bricking your phone, voiding your warranty, etc. These instructions assume a working knowledge of unix. Also, note that these changes require rebooting the phone to take effect.&lt;br /&gt;
&lt;br /&gt;
==== Show call duration in the call log ====&lt;br /&gt;
Sprint always customizes their phones to conceal call duration information. This avoids angry phone calls from confused customers who are surprised when their 1:01 phone call results in 2:00 minutes charged to their account. I can sympathize. However, I won't call complain, and I occasionally want to know how long a call was after the fact.&lt;br /&gt;
&lt;br /&gt;
There is now a shell script for executing the commands below if you do not feel comfortable doing the steps below manually. See http://gitorious.org/webos-internals/modifications/commit/3b2e55a22e64b5302b5d45521ccf94fe28db3595&lt;br /&gt;
&lt;br /&gt;
There is a system preference &amp;lt;tt&amp;gt;phoneAppHideCallDuration&amp;lt;/tt&amp;gt; which appears to control this, but it merely provides a default value. The phone app caches the value and saves it as a cookie. As an exercise, I'll show you how to set the preference as well.&lt;br /&gt;
&lt;br /&gt;
To set the &amp;lt;tt&amp;gt;phoneAppHideCallDuration&amp;lt;/tt&amp;gt; preference:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
[user@linuxhost]$ ssh -p 222 palm-pre&lt;br /&gt;
user@castle:~$ su&lt;br /&gt;
root@castle:/home/user# luna-send -n 1 palm://com.palm.systemservice/setPreferences '{&amp;quot;phoneAppHideCallDuration&amp;quot;: false}'&lt;br /&gt;
** Message: serviceResponse Handling: 2, { &amp;quot;returnValue&amp;quot;: true }&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here we've used &amp;lt;tt&amp;gt;luna-send&amp;lt;/tt&amp;gt; to broadcast a message requesting the &amp;lt;tt&amp;gt;systemservice&amp;lt;/tt&amp;gt; to set a preference (I believe you can actually specify multiple preferences at once, the payload format is a json hashtable). Unfortunately, that only sets the default, so to actually see the change we need to update a cookie stored in the phone app. We'll do that now:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
root@castle:/home/user# cd /var/palm/data/&lt;br /&gt;
root@castle:/var/palm/data# sqlite3 cookies.db&lt;br /&gt;
SQLite version 3.6.1&lt;br /&gt;
Enter &amp;quot;.help&amp;quot; for instructions&lt;br /&gt;
Enter SQL statements terminated with a &amp;quot;;&amp;quot;&lt;br /&gt;
sqlite&amp;gt;  update Cookies set value = &amp;quot;%220%22&amp;quot; where domain_head = &amp;quot;.usr.palm.applications.com.palm.&amp;quot; and domain_tail = &amp;quot;app.phone&amp;quot; and path = &amp;quot;/usr/palm/applications/com.palm.app.phone&amp;quot; and &amp;quot;name&amp;quot; = &amp;quot;mojo_cookie_hidecalllogduration&amp;quot;;&lt;br /&gt;
sqlite&amp;gt; .exit&lt;br /&gt;
root@castle:/var/palm/data# exit&lt;br /&gt;
user@castle:~$ exit&lt;br /&gt;
Connection to palm-pre closed.&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This time we've used &amp;lt;tt&amp;gt;sqlite3&amp;lt;/tt&amp;gt; to update the cookies database directly. The primary key of the Cookies table (in the cookies database) is (domain_head, domain_tail, path, name), we specify the full key, and update the value. Note the value field is always ''percent-encoded'' and in this case represents the string &amp;lt;tt&amp;gt;&amp;quot;0&amp;quot;&amp;lt;/tt&amp;gt; (including the quotes). To see your changes, reboot your phone. I've been doing this by holding the power key and turning it off, though presumably a &amp;lt;tt&amp;gt;shutdown -r&amp;lt;/tt&amp;gt; would work as well (I have not tried it though).&lt;br /&gt;
&lt;br /&gt;
''Note: if you are typing in the sql by hand, take care you get it correct. If you make a typo and the where portion does not match any records you will not get any feedback. To verify that your update was successful run the following SQL after your issue the update:'' &amp;lt;tt&amp;gt;select * from Cookies where domain_tail = &amp;quot;app.phone&amp;quot;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Enable adding / removing pages in the Launcher app ====&lt;br /&gt;
&lt;br /&gt;
Please see this page for a tutorial: [[Tutorials_webOS_Add_Or_Delete_Pages_In_The_Launcher|Add Or Delete Pages In The Launcher]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I'm guessing this was disabled due to usability concerns. Especially with the limited number of apps available right now, there's not a huge need for multiple screens, and deleting a page would result in shifting around icons, which can be a frustrating experience. I'm guessing this will be enabled in the future (perhaps on an &amp;quot;advanced mode&amp;quot; switch, or through a different UI). This time the disabling is directly in the code, there are two bits of commented-out code which we simply need to uncomment. I have intentionally not included the file here out of respect for palm's intellectual property.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
[user@linuxhost]$ ssh -p 222 palm-pre&lt;br /&gt;
user@castle:~$ su&lt;br /&gt;
root@castle:/home/user# vi /usr/lib/luna/system/luna-applauncher/app/controllers/launcher-assistant.js&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Once you have that file open, uncomment the two items in the &amp;lt;tt&amp;gt;items&amp;lt;/tt&amp;gt; array defined on line 30. Then scroll down to line 125 in the &amp;lt;tt&amp;gt;handleCommand&amp;lt;/tt&amp;gt; function and uncomment the two commented out cases in the switch statement. Save the file, and reboot. You should have two new menu options, &amp;quot;New Page&amp;quot; and &amp;quot;Delete Page&amp;quot;. It looks like the code will not let you delete your last page, but I wouldn't try it.&lt;br /&gt;
&lt;br /&gt;
Verified to run as written by optik678.&lt;/div&gt;</summary>
		<author><name>Stickywhipit</name></author>
	</entry>
</feed>