After I run the feed2disk, which commands do I need to run for mobi book?
I tried oeb2mombi I gives this exception:
"
Traceback (most recent call last):
File "writer.py", line 634, in <module>
File "writer.py", line 630, in main
File "writer.py", line 601, in oeb2mobi
File "calibre\ebooks\oeb\base.pyo", line 1067, in __init__
File "calibre\ebooks\oeb\base.pyo", line 1535, in _all_from_opf
File "calibre\ebooks\oeb\base.pyo", line 1268, in _spine_from_opf
calibre.ebooks.oeb.base.OEBError: Spine is empty
"
html2epub worked fine for the same html tree.
Another problem is: the epub seems does not contain the pictures.
This seems due to the fact that I ran the feed2disk with -o option.
That caused the image URL to be created wrongly:
The correct one should be:
file:///C:/ebook/zaobao/feed_12/article_0/images/img1.jpg.jpg
Instead, feed2disk used this wrong one:
file:///C:/ebook/zaobao/feed_12/article_0/zaobao/feed_12/article_0/images/img1.jpg.jpg
looks like a bug
Last edited by pubolab; 04-22-2009 at 06:12 AM.
|