Quote:
Originally Posted by AZed
I can't replicate this with the file you have provided (though I fixed a related bug when unpacking PalmDoc files, now fixed in svn). I get text/html when I unpack it. Please delete the My_Book2 output directory entirely and try again, to see if you're simply failing to overwrite some older copy somehow.
|
I tried it several times, and always got (in the .epub's .opf) the same
media-type="text/plain" instead of
media-type="application/xhtml+xml" or
media-type="text/x-oeb1-document" for .html files.
Quote:
If you still get this output, please e-mail me a copy of the full output of doing this with the '-vvv' option. My best guess in that case is that mime type detection is broken on your system somehow, but I'll see if I can narrow it down.
|
I think you are right about the mime-detection being broken! See the Warning I get since I am unable to find a suitable 'shared-mime-info' package for Win XP on freedesktop.org, namely:
Code:
WARNING: You don't seem to have a mime-info database.
The shared-mime-info package is available from
http://freedesktop.org/wiki/Software_2fshared_2dmime_2dinfo
I attach the ereader file I used, the log.txt results when using the -vvv option and the unpacked directory (see My_Book6.zip) as well as the .epub created using genepub. Hope this helps narrow down the problem.
Can you create a .epub from my ereader .pdb and post it here with your command line used? Maybe add a switch to help me override mime-detection to produce your results?