W3C home > Mailing lists > Public > public-digipub-ig@w3.org > September 2013

Re: May be a relevant discussion for eBooks: 'zip archives as first class citizens'

From: Robert Sanderson <azaroth42@gmail.com>
Date: Mon, 16 Sep 2013 10:34:17 -0600
Message-ID: <CABevsUH5eFRT3B0tZ_mfjPgsR7NSUULg67KRYKNAO8wnxwcP=A@mail.gmail.com>
To: Robin Berjon <robin@w3.org>
Cc: Ivan Herman <ivan@w3.org>, W3C Digital Publishing IG <public-digipub-ig@w3.org>
Thanks Ivan, Robin!

Some ideas towards requirements from the annotation perspective:

* Resource-in-Zip (RiZ) should be able to be annotated given the RiZ URL.
 -- anno hasTarget foo.epub%!/foo.jpg

* A fragment of the RiZ should be able to be annotated, using existing
fragment specs for interoperability
  -- anno hasTarget foo.epub%!/foo.jpg#xywh=100,100,20,20

* ... without using the media fragment "extension" mechanism so that HTML
fragments can be used
 -- anno hasTarget foo.epub%!/foo.html#para1

* Extension ".zip" cannot be required for the encapsulating zip file
  -- anno hasTarget foo.__epub__%!/foo.jpg

* ... or nested zips as RiZ, if that is supported:
 -- anno hasTarget foo.epub%!/chapters/chap1.epub%!/foo.jpg

* Relative URLs should work to allow embedding annotations within the zip
file and have them move around correctly without always referring back to
the original copy of the epub, which might change or no longer exist.
  -- eg:

<%!/annotations/anno1.ttl> a oa:Annotation ;
  oa:hasBody <%!/annotations/bodies/comment1.txt> ;
  oa:hasTarget <%!/foo.jpg#xywh=100,100,20,20> ;
  oa:hasMotivation oa:commenting .

* Clearly we need to make RDF assertions about resources inside zips for
any of these to work correctly.

Is it worth adding as a discussion item for tomorrow's call?



On Wed, Sep 11, 2013 at 8:13 AM, Robin Berjon <robin@w3.org> wrote:

> On 11/09/2013 10:41 , Ivan Herman wrote:
>> There is a discussion going on the whatwg mailing list:
>> http://lists.whatwg.org/htdig.**cgi/whatwg-whatwg.org/2013-**
>> August/040599.html<http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2013-August/040599.html>
>>  on whether URI-s should be defined to address zip archives on the
>> Web. There has been some remarks about why this would be interesting
>> and the arguments seem to forget that, in fact, ePub files are also
>> zip archives.
> Yes, I'm still mulling over that thread and might jump in at some point.
>  I am not sure this is relevant for this IG, and those of you who may
>> be closer to the issues might want to have a look. It may be relevant
>> for epub-reader-in-a-browser type implementations...
> I think that this is a key component in bringing browsers and epub closer
> to forming one web, a goal that I think it pretty relevant :)
> --
> Robin Berjon - http://berjon.com/ - @robinberjon
Received on Monday, 16 September 2013 16:34:48 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 25 April 2017 10:44:16 UTC