View Single Post
Old 06-22-2022, 10:46 AM   #1
Trigun
Connoisseur
Trigun began at the beginning.
 
Posts: 98
Karma: 10
Join Date: Oct 2014
Device: kindle pw3
send to kindle help

hello
i made a small program that auto send to my kindle a few files, untill now i used .mobi and the file sent to the kindle (with email) is correct without problems, from a few days i'm receiving a mail from amazon that tell me the .mobi will be deprecated soon, so i changed the conversion from my program to epub, i get the file but i lose all the chapters section, how i can make it works with epub too?

for conversion i was using something like
(java string)
Code:
"ebook-convert \"" + KINDLEFOLDER + title + ".html\" \"" + KINDLEFOLDER
+ title + ".mobi\" --language english --chapter \"" + xpath
 + "\" --page-breaks-before \"" + xpath + "\""
i replaced the .mobi with .epub but the chapters are lost after sent (if i open the .epub with calibre i get the chapters)

any idea how to solve this problem?
Trigun is offline   Reply With Quote