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?