Portable Web Pub­li­ca­tions

Ivan Her­man, W3C

EPUB Sum­mit, Bor­deaux, France

2016-04-07

Portable Web Publications

Ivan Her­man, W3C

EPUB Sum­mit

2016-04-07

These Slides are Avail­able on the Web

See: http://www.w3.org/2016/Talks/EPUBSummit-IH/

(Slides are in HTML)

About W3C: “Leading the Web to its Full Potential”

Photo of Tim Berners-Lee
LeFevre com­mu­ni­ca­tions, 2001

Digital Publishing Interest Group (DPUB IG) Origins

DPUB IG Mission

See our web­site for more de­tail.

Some results of the past two years

Layout and styling

Screen dump of the latinreq document

Priorities for CSS

Screen dumps of the CSS Priorities' document

Content and markup

Content and markup: DPUB ARIA module

Screen dump of the DPUB ARIA document
<section role="doc-appendix">
  <h1>Appendix A. Historical Timeline</h1>
   …
</section>

Annotations

Annotatated medieval manuscript
  • The group pub­lished an “An­no­ta­tion Use Cases” doc­u­ment
  • Ac­tiv­ity and work has shifted to the Web An­no­ta­tions Work­ing Group, which de­vel­ops:
    • a stan­dard data model and se­ri­al­iza­tion in JSON to de­scribe and man­tain an­no­ta­tions (for all forms of Web Doc­u­ments)
    • a pro­to­col to ex­change an­no­ta­tions be­tween an an­no­ta­tion client and a server

Note on DPUB Accessibility

Screen dump of the Accessibility Note
  • How do W3C guide­lines (e.g., WCAG, UAAG) apply to Dig­i­tal Pub­lish­ing
  • Iden­ti­fies areas that are not yet ad­dressed, e.g.:
    • au­thor­ing pack­aged doc­u­ments
    • pag­i­na­tion
    • pho­netic spelling of jar­gon terms
  • Lists fu­ture work, e.g., is­sues around notes, math­e­mat­ics,…

Major work coming up: Portable Web Publications (PWP)
née EPUB+WEB

The main mes­sage:

Dig­i­tal Pub­lish­ing
=
Web Pub­lish­ing!

put it an­other way…

Web Pub­lish­ing
=
Dig­i­tal Pub­lish­ing!

What does this mean?

Portable Web Publication at a glance

Sep­a­ra­tion be­tween pub­lish­ing “on­line”, as Web sites, and of­fline and/or pack­aged should be di­min­ished to zero

What does this mean?

Portable Web Publication at a glance

ibta ara­bia

For example: book in a browser

Joseph Reagle's book as a web page
Ex­tract of Joseph Rea­gle’s Book
  • On a desk­top I may want to read a book just like a Web page:
    • eas­ily fol­low a link “out” of the book
    • cre­ate book­marks to “within” a page in a book
    • use use­ful plu­g­ins and tools that my browser may have
    • cre­ate an­no­ta­tions
    • some­times I may need the com­put­ing power of my desk-top for, e.g., in­ter­ac­tive 3D con­tent

For example: book in a browser

Joseph Reagle's book as an ebook in reader
Ex­tract of Joseph Rea­gle’s Book as ePUB
  • But, at other times, I may also want to use a ded­i­cated reader de­vice or soft­ware to read the book on the beach…
  • All these on the same book (not con­ver­sions from one for­mat to the other)!

For example: I may not be online…

Person sitting in a station with a mobile in hand
Bryan Ong, Flickr
  • I may find an ar­ti­cle on the Web that I want to re­view, an­no­tate, etc., while com­mut­ing home on a train
  • I want the re­sults of the an­no­ta­tions to be back on­line, when I am back on the In­ter­net
    • note: some browsers have an “archiv­ing” pos­si­bil­ity, but they are not in­ter­op­er­a­ble

For example: scholarly publishing

Screen dump of an article on F1000
Screen dump of an ar­ti­cle “Sub-strains of Drosophila Can­ton-S…” on F1000
  • Paper may be pub­lished on-line, but peo­ple may want to down­load it for of­fline use
  • The for­mat of the paper should be adapt­able to read­ing en­vi­ron­ment
    • no two col­umn, fixed lay­out file that can­not be han­dled on an my iPad…
  • The “paper” may also con­tain video, audio, data, pro­grams…
    • schol­arly pub­lish­ing is not text only any more!

For example: educational publications

University hall with students, most of them with a tablet
Mer­rill Col­lege of Jour­nal­ism, Flickr

Synergy effects of convergence

Advantage for the publishers‘ community

Photo of a bookshelf with lots of technical books
Jef­frey Zeld­man, Flickr
  • Pub­lish­ers want to do what they know bet­ter: pro­duce, edit, cu­rate, etc, con­tent
  • Pub­lish­ers are not tech­nol­ogy com­pa­nies, nor do they in­tend to be; they should rely on the vi­brant Web de­vel­op­ers’ com­mu­nity!

Advantage for the Web community

image of a medieval manuscript
Oliver Byrne's edi­tion of Eu­clid, Uni­ver­sity of British Co­lum­bia
  • Pub­lish­ers have ex­pe­ri­ence in:
    • er­gonom­ics, ty­pog­ra­phy, aes­thet­ics…
    • pub­lish­ing long texts, with the right read­abil­ity and struc­ture
  • Work­flow for pro­duc­ing com­plex con­tent

How do we get there? (Technically)

Moyan Brenn, Flickr

Warning: everything I say is subject to change!

Cather­ine Kolodziej, Flickr

Technical Challenge: Fundamental Terminology

What is a Portable Web Publication?

What kinds of documents are we talking about?

What kinds of documents are we not talking about?

But there are of course differences

Envisioned “states” of a Portable Web Publication

On­line Of­fline
Packed PWP as one archive on a server PWP as one archive on a local disc
Unpacked PWP spread over sev­eral files on a server PWP spread over sev­eral files on a local disc

Technical challenge: an overall architecture to handle PWP-s

Envisioned architecture:
a “PWP Processor”

Envisioned architecture:
unpacked state

Document consumed through the Web in a traditional way

Envisioned architecture:
cached state

Document consumed through a Service Worker, possibly cached

Envisioned architecture:
packed state

Document consumed through a Service Worker, possibly unpacked

Envisioned architecture:
packed state

Document consumed through a Service Worker, possibly unpacked

Draft…

Is this ap­proach at all fea­si­ble?

Advances in modern browsers

Advances in modern browsers

Work in progress

A PWP Proces­sor could be im­ple­mented in such mod­ern browsers

Not only a wild idea…

Technical challenge: addressing, identification

Is it "addressing" or is it "identification"?

Is it "addressing" or is it "identification"?

Three layers of addressing

  1. Lo­ca­tor for the PWP it­self:
    http://www.ex.org/MyPWP/
  2. Lo­cat­ing a re­source within a PWP:
    http://www.ex.org/MyPWP/Chapter1.html
  3. Lo­cat­ing a tar­get within a re­source:
    http://www.ex.org/MyPWP/Chapter1.html#section1

Locating the different PWP “states”

Canonical locators

The PWP Processor can take care of the rest…

Manifests

Technical challenge: presentation control
(a.k.a. Personalization)

How do we get there? (Practically)

Moyan Brenn, Flickr

IDPF, W3C, and others

DPUB IG and Portable Web Publications

screen dump of the PWP draft

But what about
EPUB???

PWP vs. EPUB3.1

Many (most?) things are the same!

PWP and future EPUB-s

PWP and future EPUB-s

To be dis­cussed!

Some references

DPUB IG Wiki
https://www.w3.org/dpub/IG/wiki/Main_Page
Lat­est PWP Of­fi­cial Draft:
http://www.w3.org/TR/pwp/
PWP Ed­i­tors’ draft:
https://w3c.github.io/dpub-pwp/
PWP Issue list:
https://github.com/w3c/dpub-pwp/issues

Thank you for your at­ten­tion!

This pre­sen­ta­tion:
http://www.w3.org/2016/Talks/EPUBSummit-IH/
A com­pan­ion, a bit more tech­ni­cal, pre­sen­ta­tion
http://www.w3.org/2016/Talks/W3CTrack-IH/
My con­tact:
ivan@​w3.​org