![]() |
#16 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 61
Karma: 29446
Join Date: Apr 2010
Device: pocketbook 301, pocketbook 603
|
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.
|
![]() |
![]() |
![]() |
#17 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,041
Karma: 18821071
Join Date: Oct 2010
Location: Sudbury, ON, Canada
Device: PRS-505, PB 902, PRS-T1, PB 623, PB 840, PB 633
|
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.
|
![]() |
![]() |
![]() |
#18 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,840
Karma: 5843878
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!
|
![]() |
![]() |
![]() |
#19 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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. |
![]() |
![]() |
![]() |
#20 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,840
Karma: 5843878
Join Date: Oct 2010
Location: UK
Device: Pocketbook Pro 903, (beloved Pocketbook 360 RIP), Kobo Mini, Kobo Aura
|
thank you!
|
![]() |
![]() |
![]() |
#21 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,041
Karma: 18821071
Join Date: Oct 2010
Location: Sudbury, ON, Canada
Device: PRS-505, PB 902, PRS-T1, PB 623, PB 840, PB 633
|
Quote:
Code:
zip mybook.epub -0 mimetype zip -r mybook.epub * -x mimetype |
|
![]() |
![]() |
![]() |
#22 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,840
Karma: 5843878
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.
|
![]() |
![]() |
![]() |
#23 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,041
Karma: 18821071
Join Date: Oct 2010
Location: Sudbury, ON, Canada
Device: PRS-505, PB 902, PRS-T1, PB 623, PB 840, PB 633
|
Quote:
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. |
|
![]() |
![]() |
![]() |
#24 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,840
Karma: 5843878
Join Date: Oct 2010
Location: UK
Device: Pocketbook Pro 903, (beloved Pocketbook 360 RIP), Kobo Mini, Kobo Aura
|
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!
|
![]() |
![]() |
![]() |
#25 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,041
Karma: 18821071
Join Date: Oct 2010
Location: Sudbury, ON, Canada
Device: PRS-505, PB 902, PRS-T1, PB 623, PB 840, PB 633
|
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?
|
![]() |
![]() |
![]() |
#26 | |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 61
Karma: 29446
Join Date: Apr 2010
Device: pocketbook 301, pocketbook 603
|
Quote:
I can add dialogs cancel by click Back button in future. I've forgot clear changed flag on saving, i'll fix it in next release. |
|
![]() |
![]() |
![]() |
#27 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 245
Karma: 718
Join Date: Dec 2007
Location: Vienna
Device: Pocketbook Pro 612, Bookeen Cybook Gen3
|
Quote:
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 ;-) |
|
![]() |
![]() |
![]() |
#28 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,041
Karma: 18821071
Join Date: Oct 2010
Location: Sudbury, ON, Canada
Device: PRS-505, PB 902, PRS-T1, PB 623, PB 840, PB 633
|
Quote:
At least that was the problem until yesterday ![]() 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. |
|
![]() |
![]() |
![]() |
#29 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,840
Karma: 5843878
Join Date: Oct 2010
Location: UK
Device: Pocketbook Pro 903, (beloved Pocketbook 360 RIP), Kobo Mini, Kobo Aura
|
wow, how brilliant is that?!
![]() |
![]() |
![]() |
![]() |
#30 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 61
Karma: 29446
Join Date: Apr 2010
Device: pocketbook 301, pocketbook 603
|
v 0.9.1 bug fix release.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Looking for a decent text editor | ghostyjack | Workshop | 22 | 01-27-2011 11:07 AM |
Android Text editor for programming | FiboFreak | enTourage Archive | 4 | 11-10-2010 07:33 AM |
Onyx Text Editor? | Risto | Andere Lesegeräte | 1 | 05-25-2010 05:34 AM |
Text Editor Problem | crutledge | Sigil | 2 | 08-10-2009 10:12 AM |
iLiad as a text editor | Capodasello | Introduce Yourself | 7 | 12-02-2007 08:43 AM |