View Single Post
Old 01-09-2019, 08:34 PM   #6
xiatian
Connoisseur
xiatian began at the beginning.
 
Posts: 51
Karma: 10
Join Date: Oct 2018
Device: kindle
Thanks, kovidgoyal

Fisrt, I convert it into epub. It works if I convert one single html file into epub. The audio file can be successfully added into epub.

Second, all the audio files already exist in my local system. So the recipe needn't to download them. I just want to use parse_index recipe to convert a bunch of html files and add the audio files(these audio files already exist and correctly refered to in the html file code) into an epub book.

When I convert a single html file, which contain <audio> element and it works(in ibooks). But sadly when I convert a recipe, which points to dozens of these kind of html files, it fails to add audio files.

The reason why I want to use parse_index is that it can automatically generate TOC since I have many html files on my local system. Sure I can convert these html files one by one, but that's not what I want.

Can I make some tweaks to parse_index so that it can add my local audio files, just like converting a single html file? If not, is there any other possible solutions? I really want to achieve this, so I sincerely hope you can give me more guidance.
xiatian is offline   Reply With Quote