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

James Simmons nicestep at gmail.com
Mon Aug 27 14:51:37 EDT 2012


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/91cfdb30/attachment.html>


More information about the Sugar-devel mailing list