08-27-2008, 03:27 PM | #16 | |
eBook Enthusiast
Posts: 120
Karma: 726
Join Date: Dec 2007
Location: US
Device: Sony PRS-350, Astak PocketPro, iPhone, Asus eee Pad Transformer
|
Quote:
Here's a copy of the zip file. Gene |
|
08-27-2008, 04:23 PM | #17 |
Addict
Posts: 350
Karma: 705
Join Date: Dec 2006
Location: Mumbai, India
Device: Kindle 1/REB 1200
|
Hmm, this looks like a bug in eBook Publisher itself. If I manually add the file to the publisher, the images were missing in that case too. If there are any bugs in the automation code, impmake will inherit them too
Looks like it works if you put the images in the same directory, but not different directories. I'll do some more testing tomorrow, but if you are able to produce a OPF file which creates images which impmake doesn't please post just the project file here. (You can use the -s option to auto-create a project file when building the IMP). |
08-27-2008, 05:06 PM | #18 |
GuteBook/Mobi2IMP Creator
Posts: 2,958
Karma: 2530691
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200 EBW1150 Device: T1 NSTG iLiad_v2 NC Device: Asus_TF Next1 WPDN
|
OK I found your html problems, yes problems.
You need to change the lines around each <img src> tag to: -eliminate the <a href> & </a> tags surrrounding each <img src> tag . -delete the width=40% attributed within the <img src> tag. Now it will convert properly with eBook Publisher. Haven't tried it yet with impmake, but there should be no html issues now. |
08-27-2008, 05:56 PM | #19 | |
eBook Enthusiast
Posts: 120
Karma: 726
Join Date: Dec 2007
Location: US
Device: Sony PRS-350, Astak PocketPro, iPhone, Asus eee Pad Transformer
|
Quote:
Thanks. Making the changes worked like a charm. Now the question is: Why? since I was taught to surround internal image links with the <a href></a> tags. Or is it just a peculiarity of eBook Publisher? In any case, I (and I hope other EBookwise users) am very grateful that you and others continue to make the reader eminently useable. Gene |
|
08-27-2008, 07:13 PM | #20 | |
Grand Sorcerer
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
Quote:
Of course eBook Publisher does not support clickable images. There are lots of html constructs that are not intended for eBook use. Dale |
|
08-27-2008, 08:44 PM | #21 | |
GuteBook/Mobi2IMP Creator
Posts: 2,958
Karma: 2530691
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200 EBW1150 Device: T1 NSTG iLiad_v2 NC Device: Asus_TF Next1 WPDN
|
Quote:
As Dale mentioned, eBook Publisher is not so accommodating and chokes on those constructs, as you have subtly found out! |
|
08-27-2008, 09:26 PM | #22 |
eBook Enthusiast
Posts: 120
Karma: 726
Join Date: Dec 2007
Location: US
Device: Sony PRS-350, Astak PocketPro, iPhone, Asus eee Pad Transformer
|
|
08-30-2008, 08:01 PM | #23 |
Addict
Posts: 350
Karma: 705
Join Date: Dec 2006
Location: Mumbai, India
Device: Kindle 1/REB 1200
|
NOTE: impmake has now been renamed to ebookutils, and is hosted at http://gitorious.org/projects/ebookutils using Git, which should easily allow other developers to make changes. I plan to merge impserve, impmake, 2 new python utilities which replace ebw1150+rebcomm and pdfread under this umbrella.
Changes in ebookutils-0.3: - impmake: add an -f option to specify the files to be included, with one file per line - impserve: handle paging of booklist requests - impserve: handle downloading of IMP books which are sent as an attachment (direct download of IMP from mobileread works) - impserve: implement a plugin system and provide 2 default plugins to change the URL/content before being sent to the device. - impserve: refactored the code heavily, please run impserve/run.py from python. |
08-31-2008, 10:19 AM | #24 |
Jack O' Apes
Posts: 227
Karma: 1939
Join Date: Dec 2007
Location: Oklahoma
Device: Ebookwise 1150, Nokia N810, EZ-Reader, HTC Droid Incredible, Archos 70
|
After setting up wine to work with impmake, ie using winetricks to add vcrun6 and dcom98 does the gui preview of imp books quit working? I've tried every combination I can think of including which version of windows is being emulated and the best I've been able to get is that the eBook Publisher program will start and work but the preview application crashes. Thats the best case the worst is that eBook Publisher won't even start. Strangely using impmake still works and creates a valid imp format book.
For now I've just set up two different directories for wine. One with the wine version of dcom98 so eBook Publisher works and the other with the microsoft dcom98 so that impmake will work. Seems like its an odd problem. I was just wondering if anyone else was having it as well? |
08-31-2008, 12:41 PM | #25 | |
Addict
Posts: 350
Karma: 705
Join Date: Dec 2006
Location: Mumbai, India
Device: Kindle 1/REB 1200
|
Quote:
But the main thing for me, it works and in an automated manner without having to start a Windows VM or do lots of configuration. If I do ever get the time, I plan to investigate it further but that is rather unlikely since it works with the workarounds so I don't complain. The problem is, eBook Publisher is quite buggy at times and chokes on invalid HTML and crashes or fails with some GomiIzer (?!) error. I may have to write a script which just sanitizes the input HTML for impmake later... |
|
08-31-2008, 03:15 PM | #26 |
Jack O' Apes
Posts: 227
Karma: 1939
Join Date: Dec 2007
Location: Oklahoma
Device: Ebookwise 1150, Nokia N810, EZ-Reader, HTC Droid Incredible, Archos 70
|
Thanks just wanted to make sure it wasn't just me. There are times when it seems that very odd things go wrong and no one else can replicate them.
It does work and I'll keep using it in the fashion I mentioned above. Thanks for all the effort that you are putting into the software for these readers. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
<Command Line> Add multiple books in multiple formats | himitsu | Calibre | 8 | 09-25-2010 11:07 PM |
adding books via command line in msdos batch | FlaKate | Calibre | 1 | 12-25-2009 01:12 AM |
Where are the command line tools? | PaulChernoch | Calibre | 17 | 10-23-2009 12:08 PM |
Adding books from the command line | edembowski | Calibre | 1 | 08-29-2009 11:18 AM |
Why use the command line? | slantybard | Calibre | 6 | 07-22-2009 12:17 PM |