View Single Post
Old 02-09-2008, 09:40 AM   #187
tompe
Grand Sorcerer
tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.
 
Posts: 7,452
Karma: 7185064
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Kindle Voyage, Nexus 5, Kindle PW
Quote:
Originally Posted by kovidgoyal View Post
@tompe
Would you mind improving you mobi2html utility a little so I can write mobi2lrf

1) Allow passing of absolute paths to mobi2html for the .mobi file
2) Post process the generated HTML to remove mobipocket specific tags and attributes. For e.g. <mbpage-break/> -> <br style="page-break-after:always/> and so on
There is a new version 0.0.27 (no Windows binaries for this version).

1) Fixed.

2) I removed some of the tags and the attribute you mentioned. But I did not find a list of Mobipocket specific attributes. And can't you just ignore attributes you do not recognize?

Let me know if some more changes should be done to the html file. And a test file is always good to have when fixing these kind of things.
tompe is offline   Reply With Quote