Closed GoogleCodeExporter closed 9 years ago
See issue 348:
https://code.google.com/p/daisy-pipeline/issues/detail?id=348
This is now supported.
Can you cross-check with the latest sources and mark the issue as invalid if
you're happy ?
Original comment by rdeltour@gmail.com
on 17 Jul 2013 at 12:03
It does not work with the latest sources. The error is:
2013-07-17 14:09:37,730 [INFO ] com.xmlcalabash.runtime.XAtomicStep -
bundle://24.0:1/xml/xproc/html-to-epub3.convert.xpl:49:21:[WARNING] The type of
image 'data:image/jpg;base64,/9j/4AAQS(...)' is not a core EPUB media type.
Replacing by alternative text.
Are we sure that all EPUB readers support data URIs or should there be a
compatibility mode which stores all of them as separate files?
Original comment by josteinaj@gmail.com
on 17 Jul 2013 at 12:10
Mmm. I just tried from oXygen and it worked. I'll try from the dev-launcher to
confirm.
Not all readers support it, but it's valid EPUB. For now I suggest to leave it
as-is, since this is legal. It's a good idea to add a "compatibility layer", or
maybe integrated in the long-planned "EPUB Fixer" script.
Original comment by rdeltour@gmail.com
on 17 Jul 2013 at 12:22
Ok, sure.
Yeah I used the dev-launcher and the webui to test it.
Do we have a list somewhere of things to add to the EPUB Fixer script?
Original comment by josteinaj@gmail.com
on 17 Jul 2013 at 12:26
Mmm, I tried with the dev-launcher and it first didn't work, then re-mvn
installed the html-to-epub3 script and it worked.
You may need to clean Felix cache.
I don't think we have a list for the EPUB Fixer.
Original comment by rdeltour@gmail.com
on 17 Jul 2013 at 12:31
Added html-to-epub3 module to the scripts pom.xml.
Script works fine now.
If we need data URI utility steps in the future we can open separate issues.
Thanks for the help.
Original comment by josteinaj@gmail.com
on 17 Jul 2013 at 1:55
Original issue reported on code.google.com by
josteinaj@gmail.com
on 17 Jul 2013 at 11:47