12-11-2011, 02:27 PM | #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.
|
12-11-2011, 03:15 PM | #17 |
Wizard
Posts: 2,985
Karma: 18343081
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.
|
Advert | |
|
12-11-2011, 05:53 PM | #18 |
Wizard
Posts: 2,824
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!
|
12-20-2011, 01:53 PM | #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. |
12-29-2011, 05:10 PM | #20 |
Wizard
Posts: 2,824
Karma: 5843878
Join Date: Oct 2010
Location: UK
Device: Pocketbook Pro 903, (beloved Pocketbook 360 RIP), Kobo Mini, Kobo Aura
|
thank you!
|
Advert | |
|
12-29-2011, 06:21 PM | #21 | |
Wizard
Posts: 2,985
Karma: 18343081
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 |
|
12-30-2011, 03:18 AM | #22 |
Wizard
Posts: 2,824
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.
|
12-30-2011, 04:30 AM | #23 | |
Wizard
Posts: 2,985
Karma: 18343081
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. |
|
12-30-2011, 04:36 AM | #24 |
Wizard
Posts: 2,824
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!
|
12-31-2011, 04:09 AM | #25 |
Wizard
Posts: 2,985
Karma: 18343081
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?
|
12-31-2011, 05:30 AM | #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. |
|
01-01-2012, 04:52 PM | #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 ;-) |
|
01-01-2012, 09:17 PM | #28 | |
Wizard
Posts: 2,985
Karma: 18343081
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 . 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. |
|
01-02-2012, 03:35 AM | #29 |
Wizard
Posts: 2,824
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?!
|
01-10-2012, 02:33 PM | #30 |
Connoisseur
Posts: 61
Karma: 29446
Join Date: Apr 2010
Device: pocketbook 301, pocketbook 603
|
v 0.9.1 bug fix release.
|
|
Similar Threads | ||||
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 |