|
|
11/03/2009, 04:39 PM
|
#21 (permalink) | |
|
Member
![]() Join Date: Aug 2009
Posts: 257
Likes Received: 0
Thanks: 63
Thanked 45 Times in 32 Posts
|
Quote:
This should definitely hit Preware and Filecoaster ASAP. OK, my one wish was so quickly granted, I shouldn't look a gift horse in the mouth, but since you're currently in super-responsive mode, and it sounds like you're busy, so who knows how long that will last, here goes with another.. What about changing the text of the file navigation? Can it wrap to the next line? Or maybe lose the icon to the left? Wrap would be best, I think. Right now I have files that look like: Dick, Philip K - A Maz... Dick, Philip K - A Sca... Dick, Philip K - Count... Dick, Philip K - Now... Dick, Philip K - Rauta... Dick, Philip K - The P... Dick, Philip K - Time... As you can see, it's diffifcult to tell which books I'm opening. Also adding one of those scrolling alphabet index bars like in Music Player Remix might be helpful. ___________________________________________ <<Comments on media center "filepicker" widgit deleted, since it's explained more accruately and succinctly below.>> Last edited by neve; 11/04/2009 at 04:21 PM. |
|
11/03/2009, 10:37 PM
|
#22 (permalink) |
|
Member
![]() ![]() Join Date: Oct 2007
Location: Northport, NY
Posts: 610
Likes Received: 4
Thanks: 448
Thanked 133 Times in 89 Posts
|
Thanks so much!! I;ve been waiting for an eBook reader like this, & cannot wait for the html support too. I know this is very early in development, & i read your post & i know you're busy with your thesis, however i just wanted to ask:
I have several eBooks that were broken into parts (Stanza on the iPod Touch) & was wondering, in the future, would it be possible for the application to view a directory of the parts as a whole book? If not i understand, was just curious =]. Again -- thank you so much!! |
11/03/2009, 10:44 PM
|
#23 (permalink) |
|
Member
![]() Join Date: Mar 2008
Posts: 320
Likes Received: 0
Thanks: 34
Thanked 22 Times in 17 Posts
|
Looking forward to future versions. Right now not working with my free pdb files, I downloaded one from fictionwize.com. Also using free prc files would be cool. And in the future possibly encrypted ereader .pdb files? Thanks for the application and once again looking forward to the new versions.
|
11/03/2009, 10:56 PM
|
#24 (permalink) |
|
Member
![]() Join Date: Jul 2009
Location: land of the free and home of the sooners
Posts: 425
Likes Received: 1
Thanks: 51
Thanked 79 Times in 63 Posts
|
Sweeeet. I was going through my collection of pdb files (my old tungsten finally just died on me, so I thought I was never going to be able to use them again) and converting them one-by-one... this is a much better solution. If I knew this was going to exist back when I bought my pre, I would have been much less hesitant about switching to web os.
Any chance of getting code to autoformat books that are poorly formatted - with carriage returns, too few/too many spaces between paragraphs, em-dashes and other "special" characters into something that will show up? |
11/03/2009, 11:48 PM
|
#26 (permalink) |
|
Member
![]() Join Date: Jun 2007
Posts: 2,051
Likes Received: 32
Thanks: 87
Thanked 110 Times in 76 Posts
|
would like to thank you for this app!
Finally have a way to read my Wordsmith memos with the Font formatting. Awesome! I tried some of my medical books (.pdb files) which are big files (from 7-60MB) and it cannot render them yet. Is there a file size limit? |
11/04/2009, 03:32 AM
|
#27 (permalink) |
|
Member
![]() Join Date: Sep 2009
Posts: 59
Likes Received: 0
Thanks: 1
Thanked 3 Times in 3 Posts
|
Hi i just tried your software to open a txt file written in Chinese. The file can be loaded but the content shown are all messed up. It seems that the code is not supported. Could you please look into it? I also attach one txt file written in Chinese with this reply. Thanks.
|
11/04/2009, 06:43 AM
|
#29 (permalink) |
|
Member
![]() ![]() Join Date: Nov 2009
Location: Munich, Germany (né Berlin)
Posts: 687
Likes Received: 34
Thanks: 11
Thanked 338 Times in 139 Posts
|
Good news everyone!
The pReader version 0.5.2 now supports basic eReader PDB PPrs files. ![]() Of course, since I threw this support together in a day, some caveats apply:
Despite that, it seems to work pretty well. ![]() Happy reading! |
11/04/2009, 06:49 AM
|
#30 (permalink) | |
|
Member
![]() ![]() Join Date: Nov 2009
Location: Munich, Germany (né Berlin)
Posts: 687
Likes Received: 34
Thanks: 11
Thanked 338 Times in 139 Posts
|
Quote:
![]() Joking aside, I wanted to keep the DB hidden, because the app will have enough problems as it is. As soon as I'm sure that the app more or less works and can leave beta status, I'll add an option to move the DB to the media partition. For now, it is simply one less potential error source. :P |
|
11/04/2009, 07:30 AM
|
#31 (permalink) | ||
|
Member
![]() ![]() Join Date: Nov 2009
Location: Munich, Germany (né Berlin)
Posts: 687
Likes Received: 34
Thanks: 11
Thanked 338 Times in 139 Posts
|
Quote:
Quote:
Unfortunately, that is just the display end. On the decoding end, thinks look considerably more grim. To understand that, you only need to know a single thing about Javascript: Javascript does NOT want you to read binary data. What I do to circumvent that is to completely abuse the XMLHttpRequest() facility of javascript to load a local file into a UTF-8 string that only uses 8 Bit codes. If you're technically inclined, you already see that this has a major drawback: The file must be loaded completely and directly into RAM. Loading partial ranges is not supported. In any case, after decoding and decompression I end up with a wholly anonymous 8-bit stream. What I currently do is to simply translate those 8-bit chars directly into the low-byte UTF-8 portion which is, as you might have guessed, identical to plain ASCII. The only thing I currently translate are the German umlauts into HTML escapes, but that's just because I'm German and I used those as "proof-of-concept" test cases. What they proved to me was that, basically, to support other character encodings, I have to write a symbol translation table that maps those 8-Bit codes into their "correct" Multibyte UTF-8 codes, or alternatively into ASCII HTML escape codes. You can imagine that that's a rather time consuming task, which needs three things: 1.) Test files, 2.) the specification of the encoding and 3.) an unholy amount of patience. Basically, you could help me out there. What I need to support more 8-Bit encodings is nothing else but a single file which contains in each line the following data: Code:
8Bit-Hex-Code = HTML-Escape / Unicode Escape Code:
0xC0 = ю 0xC1 = а Supporting multi-byte code is a bit more tricky, since I don't know what the different file formats do with them and how WebOS will rect. To be honest, I haven't yet tested multibyte UTF-8 documents, since, as I said, it is rather time consuming to test it all, and I'm completely lacking on the front of test-files. But as I said in the OP, supporting more encodings is a definite target for the app. It's just very time consuming, that's all. And well, getting my thesis done sort of has priority at the moment. :P |
||
11/04/2009, 07:45 AM
|
#32 (permalink) | ||
|
Member
![]() ![]() Join Date: Nov 2009
Location: Munich, Germany (né Berlin)
Posts: 687
Likes Received: 34
Thanks: 11
Thanked 338 Times in 139 Posts
|
Quote:
Quote:
Afterall, there was a reason that I started coding with just TXT and Palm DOC support. They're both exclusively plain text and Palm DOC is a really simple format. Just as a comparison: The decompression of PalmDoc takes 46 lines of code (including comments). The ZLib decompression for PPrs files takes 400 lines of code. Basically, support for iSilo and Plucker needs to wait till I've implemented robust Rich-Text support. And even then, it will be quite a lot of work, since I need to write a Plucker/iSilo to HTML converter. The good thing with this program being OSS is that as soon as I've established a public repository, and as soon as I've got the time, I have no problems whatsoever with accepting patches from other developers. My ultimate aim is to modularize the program to the point that adding new formats is entirely independent of the main display code. No single person alone can write a good eReader. And that's the desired target for this reader: good & free.
|
||
11/04/2009, 08:01 AM
|
#33 (permalink) | ||
|
Member
![]() ![]() Join Date: Nov 2009
Location: Munich, Germany (né Berlin)
Posts: 687
Likes Received: 34
Thanks: 11
Thanked 338 Times in 139 Posts
|
Quote:
As it stands, I'd be more than happy to lose this crutch, since it is rather buggy. If you reread the original posting again, I've discovered a problem with the FilePicker that leads to an application crash. That's the reason why you have to click on "Reader" after selecting a file, and why the filename is printed into the main menu. It is a crude workaround for that problem. Currently the FilePicker is all I've got to list files. Of course, there's the FileMgr project on PreCentral that hopes to address this issue, but it's an external, non-javascript service. On top of that, it's just as much Beta as the pReader, and you really shouldn't mix Betas. It makes debugging virtually impossible. Quote:
Basically, the WebOS API more or less says: Use this, or go play somewhere else. I really, really hope that the v1.3 API will be massively better. But I'm not exactly betting on it. |
||
11/04/2009, 08:09 AM
|
#34 (permalink) | |
|
Member
![]() ![]() Join Date: Nov 2009
Location: Munich, Germany (né Berlin)
Posts: 687
Likes Received: 34
Thanks: 11
Thanked 338 Times in 139 Posts
|
Quote:
Another problem has to do with the performance. On the Palm Pre Device, WebOS monitors each application and checks how long it runs without relieving control to the AppController. That means, if a method runs for more than roughly 10 seconds, WebOS terminates that method. And as you can imagine, since everything happens in Javascript, processing several megabytes can take a lot more than 10 seconds. Therefore, I need to do those long tasks asynchronously, which complicates the source code quite a bit. The gist of it: Opening such large files has to wait till I've optimized the readers and till the WebOS API offers a better way to read files or at least parts of files. |
|
11/04/2009, 08:22 AM
|
#35 (permalink) |
|
Member
![]() Join Date: Nov 2009
Location: Prague, CzechRepublic
Posts: 342
Likes Received: 2
Thanks: 139
Thanked 20 Times in 20 Posts
|
Thnak you for this great application. Its almost what I was looking for :-) What I still need to be able to use it is more encoding as it cant display the czech lenguage corectly... So if it could load my own fonts..
like the ones created with the font creator for the palmfiction http://translate.google.cz/translate...istory_state0= and the other function I would love to see is the autoscroll.. again, as used on palmfiction... but again.. thank you for the first really good ebook reader for the pre!!! |
11/04/2009, 09:45 AM
|
#37 (permalink) |
|
Member
![]() Join Date: Aug 2009
Posts: 1
Likes Received: 0
Thanks: 0
Thanked 0 Times in 0 Posts
|
Great job making a reader for PDB format! Now at least I can read my son's new Sword Dreamer book on my Pre. The single touch page turn is so much better than a smooth scroll when actually reading a book. It matches the life long experience of real reading and moving from page to page. It will be nice when the graphics come along as well. But how it is right now is great. Congratulations on a job well done and thank you from making it available.
|
11/04/2009, 10:56 AM
|
#39 (permalink) |
|
Member
![]() ![]() Join Date: Aug 2009
Location: Silicon Valley
Posts: 117
Likes Received: 1
Thanks: 13
Thanked 65 Times in 31 Posts
|
Curse you Jappus, I was going to release a GPLv3 ebook reader! I've been digging around in the guts of SimpleBible, and I had a pretty clear plan to generalize it to display html books. Congratulations on beating me to the punch.
I've downloaded your sources, and I'll see if I can make my ideas talk to your ideas. Thanks for putting out pReader.
__________________
Author of Keyring for webOS - Easy password management on your phone Get Keyring :: Keyring website :: Keyring desktop client :: Keyring bugs :: Desktop client bugs Like what I've done with Keyring? Hire me! |
11/04/2009, 12:01 PM
|
#40 (permalink) |
|
Member
![]() Join Date: Aug 2006
Posts: 144
Likes Received: 0
Thanks: 73
Thanked 4 Times in 4 Posts
|
I have read through this forum and still am not clear if ereader books (password) are supported. When I select a book and hit the reader, I get the reading file and it just sits there. I have the updated version and it still happens.
Could someone let me know if the books they have purchased on ereader.com are supported with this program. If so, how did you get it to load? Thanks! |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|



