Re: I present... Something...

Laurent,

My available time is most certainly limited – but since Readium2 seems to do the same thing, it would be silly for me to put any additional effort into this project.  I am happy to see if there is a way I can utilize this code or any other code to help readium-2’s efforts.

-Nick

From: "laurent.lemeur@edrlab.org" <laurent.lemeur@edrlab.org>
Date: Wednesday, February 14, 2018 at 12:59 PM
To: "Ruffilo, Nick" <Nick.Ruffilo@ingramcontent.com>
Cc: "public-publ-wg@w3.org" <public-publ-wg@w3.org>
Subject: Re: I present... Something...

Hi Nick,

This is a great prototype, naked to the bones so that everybody can see that the JSON manifest is an efficient way for a script to handle multiple resource.

As Hadrien said before, you’re going in the same we are going with the Readium-2 architecture, and we would therefore be very happy if you would join the gang.

Maybe you’ll want to develop a PHP Streamer (R2 already gets a Node.js and a Go Streamer, but many people love PHP on their server), ready for WPs?

Or discuss with us how to move forward the Service Worker proto Hadrien proposed some time ago to try to simulate a browser UA (which may be impossible without help from browser vendors)?

Cordialement, Laurent

Le 12 févr. 2018 à 17:13, Ruffilo, Nick <Nick.Ruffilo@ingramcontent.com<mailto:Nick.Ruffilo@ingramcontent.com>> a écrit :
All,

I gave myself a week to develop something to show something.  Honestly – when I started, I wasn’t sure WHAT it is I was really building, or why, but often when I get to building, things become much clearer.  Fueled also by the wonderful discussions that we’ve had over the past week, I’ve created something…

What is it
A server-side script written in PHP/Apache that converts, in real time, an epub document.

What does it convert it to?
Anything we want.  Right now is creates a very simple JSON spine, and then injects an extremely lightweight navigation RS on top (a next/previous button)

Why?
I wanted to create something that was easy for content creators to work with, and the reality is, epubs are being made.  BUT, it could easily be adapted to handle other formats.
ALSO – This can be used to allow us to “test” different implementations.  We can unzip an epub, tweak the script to output a specific type of WAM and see what happens in different browsers.  We can create situations and easily see what happens.
As things continue, I can add more “conversions” so we can generate examples on the fly.  It can also help us if we want to point out examples where existing systems need to be improved.

Where is it:
Example: http://nickruffilo.com/wp/book/zot.epub/

Code: http://nickruffilo.com/wp/code.php (will output the JS, CSS, htaccess, and PHP code.

This should probably go into a github repo somewhere, but I wasn’t sure if this is something the W3C would want in their repo, or if I should put it in a personal repo.  Thoughts welcomed.

-Nick

Received on Wednesday, 14 February 2018 18:44:47 UTC