Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > PocketBook

Notices

Reply
 
Thread Tools Search this Thread
Old 12-11-2011, 03:27 PM   #16
yuryfdr
Connoisseur
yuryfdr is faster than slow light.yuryfdr is faster than slow light.yuryfdr is faster than slow light.yuryfdr is faster than slow light.yuryfdr is faster than slow light.yuryfdr is faster than slow light.yuryfdr is faster than slow light.yuryfdr is faster than slow light.yuryfdr is faster than slow light.yuryfdr is faster than slow light.yuryfdr is faster than slow light.
 
Posts: 61
Karma: 29446
Join Date: Apr 2010
Device: pocketbook 301, pocketbook 603
Quote:
Originally Posted by paola View Post
but I tried to use it to edit typos in an epub and it cannot open it (I guess because it is zipped): is it me, or is it not possible?
it's a complex problem, as i know ebub may contains many files. Pi is a text editor like notepad or gedit. to use it with ebup you may manualy unzip edit and zip files again. or we need smth like archive manager.
yuryfdr is offline   Reply With Quote
Old 12-11-2011, 04:15 PM   #17
rkomar
Wizard
rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.
 
Posts: 1,769
Karma: 4368476
Join Date: Oct 2010
Location: Vancouver, BC, Canada
Device: PRS-505, PB 902, PRS-T1, PB 623, PB 840
Quote:
Originally Posted by yuryfdr View Post
it's a complex problem, as i know ebub may contains many files. Pi is a text editor like notepad or gedit. to use it with ebup you may manualy unzip edit and zip files again. or we need smth like archive manager.
unzip is available on the devices, but zip isn't (at least on my 902 with fw 2.0.4). There is another complication in that EPUB files have to be zipped in a special way. The "mimetype" file should be first and uncompressed, and the rest of the files can be compressed (I'm not sure if they have to be in any particular order). So, it would take some work to get this going.
rkomar is online now   Reply With Quote
 
Advertisement
Old 12-11-2011, 06:53 PM   #18
paola
Wizard
paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.
 
paola's Avatar
 
Posts: 2,781
Karma: 5640234
Join Date: Oct 2010
Location: UK
Device: Pocketbook Pro 903, (beloved Pocketbook 360 RIP), Kobo Mini, Kobo Aura
guys, many thanks for your explanations - never mind then, and at any rate it is still very useful to have an editor on the device!
paola is offline   Reply With Quote
Old 12-20-2011, 02:53 PM   #19
yuryfdr
Connoisseur
yuryfdr is faster than slow light.yuryfdr is faster than slow light.yuryfdr is faster than slow light.yuryfdr is faster than slow light.yuryfdr is faster than slow light.yuryfdr is faster than slow light.yuryfdr is faster than slow light.yuryfdr is faster than slow light.yuryfdr is faster than slow light.yuryfdr is faster than slow light.yuryfdr is faster than slow light.
 
Posts: 61
Karma: 29446
Join Date: Apr 2010
Device: pocketbook 301, pocketbook 603
v 0.9 is released.
sometimes after previous search failed next search may fail. to fix it reopen search dialog. I try to fix this problem in next release.
yuryfdr is offline   Reply With Quote
Old 12-29-2011, 06:10 PM   #20
paola
Wizard
paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.
 
paola's Avatar
 
Posts: 2,781
Karma: 5640234
Join Date: Oct 2010
Location: UK
Device: Pocketbook Pro 903, (beloved Pocketbook 360 RIP), Kobo Mini, Kobo Aura
thank you!
paola is offline   Reply With Quote
Old 12-29-2011, 07:21 PM   #21
rkomar
Wizard
rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.
 
Posts: 1,769
Karma: 4368476
Join Date: Oct 2010
Location: Vancouver, BC, Canada
Device: PRS-505, PB 902, PRS-T1, PB 623, PB 840
Quote:
Originally Posted by rkomar View Post
There is another complication in that EPUB files have to be zipped in a special way. The "mimetype" file should be first and uncompressed, and the rest of the files can be compressed (I'm not sure if they have to be in any particular order).
Just played around with zipping an epub by hand and found that the following works (from inside the folder with the book contents):

Code:
zip mybook.epub -0 mimetype
zip -r mybook.epub * -x mimetype
Of course, replace mybook.epub with whatever name you want. Hope this helps someone wanting to make simple changes to epubs.
rkomar is online now   Reply With Quote
Old 12-30-2011, 04:18 AM   #22
paola
Wizard
paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.
 
paola's Avatar
 
Posts: 2,781
Karma: 5640234
Join Date: Oct 2010
Location: UK
Device: Pocketbook Pro 903, (beloved Pocketbook 360 RIP), Kobo Mini, Kobo Aura
thansk rkomar: but from where do you run your zip command, from your computer? I thought we only had the "unzip.app" application.
paola is offline   Reply With Quote
Old 12-30-2011, 05:30 AM   #23
rkomar
Wizard
rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.
 
Posts: 1,769
Karma: 4368476
Join Date: Oct 2010
Location: Vancouver, BC, Canada
Device: PRS-505, PB 902, PRS-T1, PB 623, PB 840
Quote:
Originally Posted by paola View Post
thansk rkomar: but from where do you run your zip command, from your computer? I thought we only had the "unzip.app" application.
Yes, it's from my desktop. I got unzip to build fairly easily using the SDK cross-compilers, so I think building zip for PocketBook devices wouldn't be too hard. However, you still need some way to run it on the reader. You could run the unzip/<edit>/zip commands from poterm, but it would be pretty clumsy. Better would be a single program or script that handled the unzip/zip steps automatically, but I can't think of an easy way of having the Pi text editor take over for editing arbitrary unzipped files in between those two stages. Maybe someone else has some good ideas, though, so I put that information out to at least help with one of the stages.

Anyway, I'll see if I can build zip (and libzip) without much effort using the cross-compilers. Who knows what might come from that. libzip will probably be useful for the pbimageviewer program I've been working on.
rkomar is online now   Reply With Quote
Old 12-30-2011, 05:36 AM   #24
paola
Wizard
paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.
 
paola's Avatar
 
Posts: 2,781
Karma: 5640234
Join Date: Oct 2010
Location: UK
Device: Pocketbook Pro 903, (beloved Pocketbook 360 RIP), Kobo Mini, Kobo Aura
Quote:
Originally Posted by rkomar View Post
Anyway, I'll see if I can build zip (and libzip) without much effort using the cross-compilers. Who knows what might come from that. libzip will probably be useful for the pbimageviewer program I've been working on.
assuming I get what you say, that would be really great, as you could unzip an epub, correct the typos, zip it back, and continue reading!
paola is offline   Reply With Quote
Old 12-31-2011, 05:09 AM   #25
rkomar
Wizard
rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.
 
Posts: 1,769
Karma: 4368476
Join Date: Oct 2010
Location: Vancouver, BC, Canada
Device: PRS-505, PB 902, PRS-T1, PB 623, PB 840
I'm having a problem with the Save option in Pi on my 902. It pops up a file selection box with names to save to, and OK and Cancel exit buttons, but I can't seem to get to the exit buttons using the physical buttons on my device. I think I ended just hitting the Back button after a while (after hitting the OK button over the correct filename), and the changes were saved. However, it still said there were unsaved changes when I tried to quit right after that. What should I be doing?
rkomar is online now   Reply With Quote
Old 12-31-2011, 06:30 AM   #26
yuryfdr
Connoisseur
yuryfdr is faster than slow light.yuryfdr is faster than slow light.yuryfdr is faster than slow light.yuryfdr is faster than slow light.yuryfdr is faster than slow light.yuryfdr is faster than slow light.yuryfdr is faster than slow light.yuryfdr is faster than slow light.yuryfdr is faster than slow light.yuryfdr is faster than slow light.yuryfdr is faster than slow light.
 
Posts: 61
Karma: 29446
Join Date: Apr 2010
Device: pocketbook 301, pocketbook 603
Quote:
Originally Posted by rkomar View Post
I'm having a problem with the Save option in Pi on my 902. It pops up a file selection box with names to save to, and OK and Cancel exit buttons, but I can't seem to get to the exit buttons using the physical buttons on my device.
right, left,up, down must change active widget.
I can add dialogs cancel by click Back button in future.
Quote:
Originally Posted by rkomar View Post
I think I ended just hitting the Back button after a while (after hitting the OK button over the correct filename), and the changes were saved. However, it still said there were unsaved changes when I tried to quit right after that. What should I be doing?
I've forgot clear changed flag on saving, i'll fix it in next release.
yuryfdr is offline   Reply With Quote
Old 01-01-2012, 05:52 PM   #27
Snuffi
Addict
Snuffi will become famous soon enoughSnuffi will become famous soon enoughSnuffi will become famous soon enoughSnuffi will become famous soon enoughSnuffi will become famous soon enoughSnuffi will become famous soon enoughSnuffi will become famous soon enough
 
Snuffi's Avatar
 
Posts: 245
Karma: 718
Join Date: Dec 2007
Location: Vienna
Device: Pocketbook Pro 612, Bookeen Cybook Gen3
Quote:
Originally Posted by rkomar View Post
Better would be a single program or script that handled the unzip/zip steps automatically, but I can't think of an easy way of having the Pi text editor take over for editing arbitrary unzipped files in between those two stages. Maybe someone else has some good ideas, though, so I put that information out to at least help with one of the stages.
Maybe one could define a folder for zip/unzip operations. I put a zip-file into that folder, run the unzip app and it unzips everything in that folder. After that I can edit with PI and save to same folder. Last step would be to run the zip app which would zip everything in that folder.

Basically all one would need is a shell script calling zip/unzip with the parameter of that folder. What's still kinda clumsy is putting the zip file into that folder and taking it out afterwards...

I'm happy that so many knowledgeable people are working on apps for the PB, if anyone needs something tested on the 612, let me know, I have no problem tweaking scripts and such but have no experience with compiling stuff...
All that's missing now is a real RSS reader - and maybe an e-mail client ;-)
Snuffi is offline   Reply With Quote
Old 01-01-2012, 10:17 PM   #28
rkomar
Wizard
rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.
 
Posts: 1,769
Karma: 4368476
Join Date: Oct 2010
Location: Vancouver, BC, Canada
Device: PRS-505, PB 902, PRS-T1, PB 623, PB 840
Quote:
Originally Posted by Snuffi View Post
Maybe one could define a folder for zip/unzip operations. I put a zip-file into that folder, run the unzip app and it unzips everything in that folder. After that I can edit with PI and save to same folder. Last step would be to run the zip app which would zip everything in that folder.

Basically all one would need is a shell script calling zip/unzip with the parameter of that folder. What's still kinda clumsy is putting the zip file into that folder and taking it out afterwards...
The problem with shell scripts executed from the Application tab is that you don't get to see any text that is outputted, nor do you get to input anything. Basically, you need to run the script from a shell to interact with it properly.

At least that was the problem until yesterday . I've been thinking that it would be good to write a simple Inkview application that could be used within a script to display messages and get input from the user. So, I did that, and the first script I wrote with it was one for editing EPUB files. Doing file selection is clunky because Inkview doesn't have such a dialog element, so I used the table of contents dialog in its place. I'm thinking that the one available inside Pi is better than mine, but I'll leave the script as is. Anyone who wants to can edit the script by hand and change it to do whatever they like.

The script can be got from: http://www3.telus.net/rkomar/edit-epub/. Some binary files are required (zip, unzip, sh_ivtools, and Pi); the addresses where they can be downloaded from are available in the README.txt file for the webpage.

If you add "edit-epub.app" to the list of EPUB applications in /mnt/ext1/system/config/extensions.cfg, then you can automatically run it from the Library application via the "Open" menu; no command-line required at all!

I would recommend having an off-device backup of any EPUB that is to be edited. The program worked fine for me during testing, but I'm sure that bugs lurk in there somewhere.
rkomar is online now   Reply With Quote
Old 01-02-2012, 04:35 AM   #29
paola
Wizard
paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.
 
paola's Avatar
 
Posts: 2,781
Karma: 5640234
Join Date: Oct 2010
Location: UK
Device: Pocketbook Pro 903, (beloved Pocketbook 360 RIP), Kobo Mini, Kobo Aura
wow, how brilliant is that?!
paola is offline   Reply With Quote
Old 01-10-2012, 03:33 PM   #30
yuryfdr
Connoisseur
yuryfdr is faster than slow light.yuryfdr is faster than slow light.yuryfdr is faster than slow light.yuryfdr is faster than slow light.yuryfdr is faster than slow light.yuryfdr is faster than slow light.yuryfdr is faster than slow light.yuryfdr is faster than slow light.yuryfdr is faster than slow light.yuryfdr is faster than slow light.yuryfdr is faster than slow light.
 
Posts: 61
Karma: 29446
Join Date: Apr 2010
Device: pocketbook 301, pocketbook 603
v 0.9.1 bug fix release.
yuryfdr is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Looking for a decent text editor ghostyjack Workshop 22 01-27-2011 12:07 PM
Android Text editor for programming FiboFreak enTourage Archive 4 11-10-2010 08:33 AM
Onyx Text Editor? Risto Andere Lesegeräte 1 05-25-2010 06:34 AM
Text Editor Problem crutledge Sigil 2 08-10-2009 11:12 AM
iLiad as a text editor Capodasello Introduce Yourself 7 12-02-2007 09:43 AM


All times are GMT -4. The time now is 03:10 AM.


MobileRead.com is a privately owned, operated and funded community.