Thank you.
Before starting modifying the .py code, I created a new branch on my clone and pushed a couple of EPUB2 trees demoing some possible inputs. You can find them here:
https://github.com/pettarin/ePub3-it...ee/mo/tests/mo
When you have 5 minutes, would you please confirm that handling those epub2_* publications is in scope for this plugin?
(The epub3_* is just the "base" from which I "backported" the EPUB2 trees, and it is not meant to be handled, as we discussed above, just ignore it.)
=== === ===
If the above is fine with you, I will proceed coding the SMIL parser/patcher and include it into the current plugin code. Basically, there will be a check for .smil files into Misc/ . If so, they will be parsed, to determine which XHTML files are associated to, and then the suitable metas and properties will be added into the OPF. The SMIL files might be patched too, to adjust the src attributes of text and audio elements.
=== === ===
SMIL DTD: the specs link to a RelaxNG:
http://www.idpf.org/epub/301/spec/ep...verlays-schema which I think can be converted to DTD using jing and trang. I will check with the DAISY dev responsible for MO in EPUB3 if there is a "free" DTD available.