View Single Post
Old 05-13-2014, 05:32 PM   #17
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,657
Karma: 205039118
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Not that I'm aware of. Unless you want to take a look at calibre's source. It unpacks mobis into an oebps-type structure for viewing with it's internal viewer. I think it uses html5lib to serialize the markup unto xhtml. But I'm also pretty sure the very latest version of html5lib has removed its xhtml serializer... for what that's worth. The lxml module's serializer doesn't do a bad job of whipping mobi markup into shape (as long as you fix up the page-break tags and a few other things before-hand).
DiapDealer is offline   Reply With Quote