01-05-2012, 05:44 PM | #16 |
Wizard
Posts: 2,832
Karma: 5843878
Join Date: Oct 2010
Location: UK
Device: Pocketbook Pro 903, (beloved Pocketbook 360 RIP), Kobo Mini, Kobo Aura
|
@rkomar, your previous message is totally above my head
@J.C. &rkomar: my laptop is a window machine, how do I save the edit-epub.app in unix? (I have a ubuntu emulator, but I am not sure whether it is of any relevance) |
01-05-2012, 06:07 PM | #17 |
Wizard
Posts: 2,832
Karma: 5843878
Join Date: Oct 2010
Location: UK
Device: Pocketbook Pro 903, (beloved Pocketbook 360 RIP), Kobo Mini, Kobo Aura
|
bingo!
ok, please ignore my previous request: now I've learned about "end of line"
used "gedit" to convert, and it works! Thank you so much guys! EDIT: on the 903, the programme runs, but it seems to be unable to open any of the extensions (no txt, no html, no xhtml, no css) while all seems well on the 360. Any further hints? Last edited by paola; 01-05-2012 at 06:16 PM. |
Advert | |
|
01-05-2012, 07:59 PM | #18 |
Wizard
Posts: 3,015
Karma: 18765431
Join Date: Oct 2010
Location: Sudbury, ON, Canada
Device: PRS-505, PB 902, PRS-T1, PB 623, PB 840, PB 633
|
Okay, so I've made all the changes that J.C. suggested and posted the new files to the website pointed to in the first post. I did change the "-q" so that it now outputs 'y' or 'n' (which is different than it was). I modified edit-epub.app to account for that change, as well.
|
01-05-2012, 08:10 PM | #19 | |
Wizard
Posts: 3,015
Karma: 18765431
Join Date: Oct 2010
Location: Sudbury, ON, Canada
Device: PRS-505, PB 902, PRS-T1, PB 623, PB 840, PB 633
|
Quote:
Does Pi not start at all? Are you able to rename the output zip file? I wonder if this is the disappearing output bug that J.C. saw earlier? You can try downloading a fresh version of sh_ivtool.app and edit-epub.app (the latter needed a cosmetic change because the behaviour of sh_ivtool changed) and trying that on your 903. The other programs haven't changed. |
|
01-05-2012, 08:12 PM | #20 |
Wizard
Posts: 3,015
Karma: 18765431
Join Date: Oct 2010
Location: Sudbury, ON, Canada
Device: PRS-505, PB 902, PRS-T1, PB 623, PB 840, PB 633
|
|
Advert | |
|
01-06-2012, 04:28 AM | #21 |
Addict
Posts: 224
Karma: 3184
Join Date: Feb 2011
Device: ONYX BOOX Note Air3 C
|
Tried it shortly on the device, echoing the result to file works so it means that $FILE was set properly, however popping up a message using 'sh_ivtool -s $FILE' (or "$FILE") resulted in no action at all, not even a blank message box.
I'll post more after I've had a chance to do more testing |
01-06-2012, 09:29 AM | #22 |
Member
Posts: 21
Karma: 12650
Join Date: Apr 2011
Device: PB903
|
I suggest/ask for introducing an another option in the tool - choosing from a list of options. The idea is in the attachment.
Last edited by bogomil; 01-06-2012 at 10:46 AM. |
01-06-2012, 03:24 PM | #23 | |
Wizard
Posts: 3,015
Karma: 18765431
Join Date: Oct 2010
Location: Sudbury, ON, Canada
Device: PRS-505, PB 902, PRS-T1, PB 623, PB 840, PB 633
|
Quote:
Edit: Changes are uploaded to the website. They include the "-F" option for single directory level file searches, "-o" for an option chooser, and a bugfix for those cases where the OpenContent dialog was called with no files to show. Last edited by rkomar; 01-06-2012 at 05:21 PM. |
|
01-06-2012, 04:45 PM | #24 | |
Wizard
Posts: 2,832
Karma: 5843878
Join Date: Oct 2010
Location: UK
Device: Pocketbook Pro 903, (beloved Pocketbook 360 RIP), Kobo Mini, Kobo Aura
|
Quote:
Again, many thanks! |
|
01-06-2012, 05:29 PM | #25 |
Member
Posts: 21
Karma: 12650
Join Date: Apr 2011
Device: PB903
|
Thanks
|
01-06-2012, 07:17 PM | #26 | |
Wizard
Posts: 3,015
Karma: 18765431
Join Date: Oct 2010
Location: Sudbury, ON, Canada
Device: PRS-505, PB 902, PRS-T1, PB 623, PB 840, PB 633
|
Quote:
The zipped file is identical to the unzipped version on the web page, but I see that people on Windows still have the same problem (i.e. browser and unzip both automatically change the file from Unix LF to Windows CR/LF style). So, the zipped version doesn't help at all. Are there simple instructions for how Windows users can download the unzipped file so that it doesn't get changed? I'll include them in the webpage if they're not too complicated. |
|
01-07-2012, 05:10 AM | #27 | |
Wizard
Posts: 2,832
Karma: 5843878
Join Date: Oct 2010
Location: UK
Device: Pocketbook Pro 903, (beloved Pocketbook 360 RIP), Kobo Mini, Kobo Aura
|
Quote:
1) copy the text in the edit-epub.app webpage and paste it in a blank text file in e.g. notepad or similar (I use crimson editor); 2) save the file as "edit-epub.app"; 3) download and install gedit 4) open the newly created edit-epub.app in gedit and "save as" by selectin Unix/Linux end of line (over-writing the previous edit-epub.app file) but presumably it would go quicker at follows: 1) download and install "gedit"; 2) launch gedit, which automatically opens a blank file; 3) copy the text in he edit-epub.app webpage and paste it in the gedit window; 4) save as "epub-edit.app" selecting the Unix/Linux "end of line", instead of Windows (see picture attached) I am no geek, and anyone who feels confident in editing the .cfg file should have no problem with the above |
|
01-07-2012, 05:56 AM | #28 |
Wizard
Posts: 3,015
Karma: 18765431
Join Date: Oct 2010
Location: Sudbury, ON, Canada
Device: PRS-505, PB 902, PRS-T1, PB 623, PB 840, PB 633
|
Thanks paola. That's not so bad, but does require that you have gedit installed. I tried right-clicking on the link for edit-epub.app in Internet Explorer, selected "Save Target As..." from the menu, and then saved with the default setting of ".app Document" in the "Save as type:" box. That seemed to do the trick for me, but I have no idea if it works the same for other browsers in Windows (or even other versions of IE). I couldn't save it properly if I was already looking at the contents of the script in the browser window.
Anyway, I'll add both sets of instructions later. No sense in being cheap with the electrons. |
01-07-2012, 09:46 AM | #29 | |
Wizard
Posts: 2,832
Karma: 5843878
Join Date: Oct 2010
Location: UK
Device: Pocketbook Pro 903, (beloved Pocketbook 360 RIP), Kobo Mini, Kobo Aura
|
Quote:
In short - your system is fast and easy, and it works! |
|
01-07-2012, 11:47 AM | #30 |
Member
Posts: 14
Karma: 10316
Join Date: Feb 2011
Device: Pocketbook pro 602
|
Would it be possible to add a progressbar? Would be practical for download scripts.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Trio of Picture Books - Simple Animals, Simple Shapes, and You're My Baby! | Manley Peterson | Self-Promotions by Authors and Publishers | 5 | 01-06-2012 09:55 PM |
Application update: application not installed error | Merischino | Kindle Fire | 4 | 12-01-2011 11:30 PM |
erm, simple question , hope for simple answer! | al zymers | Amazon Kindle | 5 | 09-25-2010 02:01 PM |
Simple question for a simple mind :) | PKFFW | OpenInkpot | 6 | 08-27-2009 10:00 PM |
Television scripts for your handheld | Bob Russell | Lounge | 2 | 01-07-2006 07:22 PM |