-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Scope of our infoset #176
Comments
I view such round tripping as important – even from out charter "This specification should generally be a functional superset of EPUB 3.1. Functional round-tripping to/from EPUB 3.1 considered highly desirable." (s/3.1/3.2). I'd think @laudrain is looking at this as part of his infoset work? |
Right, but that's currently listed under EPUB 4, not WP/PWP. Are we adopting this line of thinking for these two specs as well? |
I hope so! |
OK, well I'll do a gap analysis and comment here, but IMO this is a very serious reason for this group to consider the Readium Web Publication Manifest for its serialization. RWPM was built to support the EPUB infoset, and while we don't do full round trips with it, it's used in all Readium-2 based products to expose EPUB over HTTP. |
Perhaps not absolutely everything in every EPUB-related spec ever should be included in the WP infoset. |
I think we can easily make a difference between the core spec and the rest. |
As the nature of the contents in a WP may widely differ, I agree that we will need to define a core infoset that covers the common ground for many publications. Nevertheless we should have a well-defined extension mechanism to be able to open up WP for important reference books such as dictionaries, encyclopedia, etc. |
To put it another way what @WSchindler just said: we may have to "layer" or "prioritize" the Infoset items. We can decide to define some sort of a version 1 now, with the possibility to extend the infoset later. |
Here's a first take on this gap analysis, based on the EPUB 3.2 draft. Metadata
Default Reading Order & List of Resources
Navigation
Packaging
|
Thanks @HadrienGardeur. This will be useful to @laudrain and the whole group as we proceed. We need to make sure that we keep a few principles in mind as we work on this.
|
This has been my focus as well in this gap analysis. But for links, we lack "publication-level linking" as an infoset item, this is not tied to the technical wiring of EPUB.
That's why the section is very short, but we can hardly say that encryption and signatures are limited to packaging use cases.
I've mostly avoided them in this gap analysis. |
Thanks @HadrienGardeur ! About links:
Isn't addressed is 3.5 Extensibility point 2 ?
|
My goal wasn't really to assess what does or does not belong in a WP. Since our latest discussions about the infoset indicate a shift to a more BFF-like approach, I'm simply evaluating the differences between the current EPUB 3.2 and WP infosets.
I don't think that's enough. We need to know how those links are provided as well:
Purely from a lifecycle perspective, I don't have a single clue how we're supposed to discover this information right now. A separate infoset item for publication-level links would be the first step. |
Thanks @HadrienGardeur – nice work. @laudrain raises the key question that we'll need to address going forward, presuming we want to address many of these gaps, at which level should that be done (WP, PWP/EPUB4)? No single answer, I'm sure. |
The big one is FXL, it's by far where we have the largest gap between WP and EPUB 3.2. It mostly affects |
I was an editor of the FXL spec, and FXL metadata should not be part of web publications. Fixed-layout is at heart a CSS technique, and should be left to CSS. Metadata outside of CSS should not affect the actual rendering of web content. For example, we should not be in the business of defining how two different content documents should appear in the same viewport. If content authors want to do something like that, they're welcome to use iframes and the appropriate CSS. |
Overall I agree that FXL should not be part of WP, but I think that's a very different debate for EPUB 4 if we want to be "infoset compatible" with EPUB 3.2
The result would be fairly catastrophic in dedicated apps if you completely drop the ability to say that a given resource is pre-paginated. |
I also generally agree that we should avoid FXL in WP but we'd need something explicit if we want to have any semblance of roundtripping between EPUB3 FXL and EPUB4. If a content author's goal is to create a coherent two page spread in a multi-page paginated reading mode like in children's books, I don't see how iframes and CSS can help. Even if you have CSS properties to ensure that each iframe takes up one full logical page, you need to override the user agents ability to change fonts and colors, and you need the ability to force one to appear at the beginning of the visible viewport when multiple pages are visible. This seems like a tough sell for CSS, as it's going to be very difficult for user agents to support CSS properties relative to a higher level WP viewport. |
Based on the gap analysis, I've created a number of issues:
Once we've addressed some of these issues, I'll take another look at the draft for EPUB 3.2 and see if I can identify additional gaps. |
As discussed on Feb 4 2019, closing this issue in favour of the related issues. |
In a recent email to the mailing list, @TzviyaSiegman said:
This was also discussed during our April 16th conference call.
Our current infoset was not designed to be aligned with EPUB 3 and has a much more limited subset of items. Are we backpedaling and re-aligning with the spirit of EPUB BFF (Browser Friendly Format)?
With EPUB BFF (and its descendent, the Readium Web Publication Manifest), while the format is not itself backward compatible, it's meant to be "round trippable" and cover the same infoset.
I can work on a gap analysis between the WP infoset and EPUB 3.2, but before that, I'd like to make sure that this is the new direction we're taking.
The text was updated successfully, but these errors were encountered: