You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the proposal, a rendition object (see issue #13 ) contains a links array which contains objects describing the files, unless they are not spine items, in which case they're one level deeper in a manifest object. Might a simpler structure contain the same information?
One could determine which files are spine items by file extension and/or attribute. Again, in the common cases HTML files are spine items, and everything else isn't.
Advantages:
Simplicity of authoring and structure
Can easily handle current EPUB 3.0.1 linear=no behavior
Disadvantages:
Processing required to extract "spine"
Depending on details, it may be more work to create image-only publications
Imposes an ordering on non-spine files
The text was updated successfully, but these errors were encountered:
I'd like to propose a solution for that, which would be compatible with your proposed example:
collections are always the same thing: identified by a role and they can contain metadata, links and other collections
in our proposed JSON syntax, we would also allow the use of link objects when a collection has no metadata and no sub-collection
Basically, this would avoid defining manifest differently (it's still a collection), and would also extend to any other collection whenever it's useful.
A full collection uses:
metadata
links
sub-collections
While a compact collection is limited to link objects.
While it does make authoring easier, it'll make parsing those files a little more complex (since you'll have to detect if you have a full collection or a compact collection) but it's probably an acceptable compromise.
In the proposal, a rendition object (see issue #13 ) contains a links array which contains objects describing the files, unless they are not spine items, in which case they're one level deeper in a manifest object. Might a simpler structure contain the same information?
One could determine which files are spine items by file extension and/or attribute. Again, in the common cases HTML files are spine items, and everything else isn't.
Advantages:
Disadvantages:
The text was updated successfully, but these errors were encountered: