Quote:
Originally Posted by Doitsu
Any of the supported input files listed on the github page.
If both the .html and the .opf file are correctly formatted, you can simply generate the dictionary with KindleGen. (pyGlossary is only needed for converting word lists and other dictionary formats to Kindle dictionaries.)
BTW, if you unpack a working mobi dictionary using Calibre or KindleUnpack you might not get the required .opf file, because Amazon uses some custom <x-metadata> metadata entries that are usually not restored.
They look like this for a monolingual US English dictionary:
Code:
<x-metadata>
<DictionaryInLanguage>en-us</DictionaryInLanguage>
<DictionaryOutLanguage>en-us</DictionaryOutLanguage>
<DefaultLookupIndex>default</DefaultLookupIndex>
</x-metadata>
Without this section, KindleGen will treat the source file like a regular book.
For more information see this website and the Kindle Publishing Guidelines.
|
is <x-metadata> the actual tag or should it be <metadata>?