[Sugar-devel] Sugar Activity template for HTML5/Enyo

lionel at olpc-france.org lionel at olpc-france.org
Mon Aug 27 15:40:52 EDT 2012


 

Hi James,

 

I didn’t know that EPUB format could include JavaScript.

Enyo is fully in JavaScript/CSS. So it should be include in an EPUB.

BTW, I’m not sure to understand what could be done with this sort of
integration and the template.

 

                Lionel.

 

 

De : James Simmons [mailto:nicestep at gmail.com] 
Envoyé : lundi 27 août 2012 20:52
À : Gonzalo Odiard
Cc : lionel at olpc-france.org; sugar-devel at lists.sugarlabs.org
Objet : Re: [Sugar-devel] Sugar Activity template for HTML5/Enyo

 

Gonzalo,

WebKit can do things that EPUB would not normally allow.  Project Gutenberg
makes EPUBs by taking the hand crafted web page and putting it in a Zip file
with some XML files.  On Read it looks just like the original web page.  On
a Kindle it might look just awful.

I don't know if the ENYO framework is entirely JavaScript (in which case it
could be included in the EPUB) or if it has some non-JS portions.  It
sounded to me like it did.  Those portions would need to be added to Read.

James Simmons



On Mon, Aug 27, 2012 at 12:27 PM, Gonzalo Odiard <gonzalo at laptop.org> wrote:

I don't understand the relation.

We already use webkit, then, we can use play javascript if needed.

I think epub2 standard does not allow javascript, I don't know epub3

 

Gonzalo 

 

On Mon, Aug 27, 2012 at 1:39 PM, James Simmons <nicestep at gmail.com> wrote:

What it sounds like you could do is incorporate the ENYO framework into the
Read Activity, then make EPUB format books that include JavaScript.  Since
Read uses WebKit it already renders EPUB books created from web pages (like
those from Project Gutenberg) better than Nooks and Kindles do, and having
some JavaScript on the pages would be a natural thing to experiment with.

James Simmons

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20120827/566c73aa/attachment.html>


More information about the Sugar-devel mailing list