Quote:
Originally Posted by Vroni
or is something availöable in the API to make use of?
|
We've been mentioning the new stuff available in the api all along.
There's the group functions which return the locations of the different mimetypes (where are the xhtml files being kept, where are the css files stored, where is the opf?). Then there's still the href from the iter functions that can be used in combination with the group data (or the relative link between two hrefs just discussed) and other things.
It's not a matter of not being able to "trust" that certain locations will be present. It's a matter of switching to new methods/paradigms that don't make hard-coded
assumptions about where things always
used to be.
Examples of all this are in the plugins that have already been updated to accommodate non-standard (as well as standard) epub structures.
If you have any specific code-related questions as to how to perform a certain task, feel fee to ask--in words OR in Python.