W3C home > Mailing lists > Public > public-publ-wg@w3.org > February 2018

I present... Something...

From: Ruffilo, Nick <Nick.Ruffilo@ingramcontent.com>
Date: Mon, 12 Feb 2018 16:13:28 +0000
To: "public-publ-wg@w3.org" <public-publ-wg@w3.org>
Message-ID: <600314C4-19B1-453E-A245-E857C05DB5E5@ingramcontent.com>

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)

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.

Received on Monday, 12 February 2018 16:13:55 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:52:21 UTC