![]() |
#1 |
Connoisseur
![]() Posts: 51
Karma: 10
Join Date: Oct 2018
Device: kindle
|
parse_index parse audio files?
![]() ![]() |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
no i'm afraid not.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Connoisseur
![]() Posts: 51
Karma: 10
Join Date: Oct 2018
Device: kindle
|
Thank you anyway! I've read an epub ebook with embeded audio. That's truly awesome!
|
![]() |
![]() |
![]() |
#4 | |
Connoisseur
![]() Posts: 51
Karma: 10
Join Date: Oct 2018
Device: kindle
|
Hi,kovidgoyal
Today I wrote a simple html: Quote:
Next, I wrote dozens of html files like this one and then I used a parse_index recipe with url "'file://" to refer to there html files. But none of the audio files were added. So I'm quite confused. Why can it work when I converted a single html file but not with parse_index which deals with a bunch of html files? Could you help me? |
|
![]() |
![]() |
![]() |
#5 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
first of all if you convert to MOBI you will get no audio, since MOBI does not support that. Secondly, the recipe system only downloads images and stylesheets, not other resource files such as audio/video/javascript.
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Connoisseur
![]() 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. |
![]() |
![]() |
![]() |
#7 | |
Connoisseur
![]() Posts: 51
Karma: 10
Join Date: Oct 2018
Device: kindle
|
To put it simply, I have the following feed:
Quote:
|
|
![]() |
![]() |
![]() |
#8 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
|
![]() |
![]() |
![]() |
#9 |
Connoisseur
![]() Posts: 51
Karma: 10
Join Date: Oct 2018
Device: kindle
|
Awesome!It's so nice of you! Thank you!
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Books with audio files associated with them | userwack | Library Management | 5 | 07-09-2018 09:20 PM |
Use parse_index to parse XML? | surf | Recipes | 0 | 02-10-2013 04:36 AM |
Audio files | jgray | Workshop | 5 | 09-19-2009 01:16 PM |
Query about audio files | SolidSquid | Calibre | 1 | 06-12-2009 10:53 AM |