View Single Post
Old 12-12-2008, 06:16 PM   #12
llasram
Reticulator of Tharn
llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.
 
llasram's Avatar
 
Posts: 618
Karma: 400000
Join Date: Jan 2007
Location: EST
Device: Sony PRS-505
Quote:
Originally Posted by wallcraft View Post
Will this work for ePub? Calibre does not currently have an ePub to OEB capability. In particular, the ePub TOC needs to be converted to an OPF guide. If it had one, then ePub to MOBI would also be simpler. MobiPocket's own MOBI tools don't always work well when importing ePubs, but they work very well on OEBs.
Well, OEB is a little vague. I usually use it to mean either OEBPS 1.x or OPF 2.0 + OPS 2.0, which seems consistent with the specs if not explicitly defined. Given that definition, your basic "EPUB to OEB" command is "unzip" :-).

In any case -- yes, oeb2lit consumes either OPF 1.x or EPUB's OPF 2.0 and emits "compliant-enough" OPF 1.2. (My generator is more strict that MSReader actually requires, but I don't strip attributes the OPF 1.2 DTD doesn't allow but exist in namespaces OPF 2.0 doesn't care about.) Converting OPS 2.0 content to the subset of OPS 1.x MSReader understands completely won't be in the first release, alas, but I'm planning to add it soon after.
llasram is offline   Reply With Quote