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.<br>
<br>James Simmons<br><br><div class="gmail_quote">On Sun, Aug 26, 2012 at 3:34 PM, <span dir="ltr"><<a href="mailto:lionel@olpc-france.org" target="_blank">lionel@olpc-france.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Hi Edward,<br>
<br>
Thanks.<br>
<br>
Using my template in existing activity is easy. It just need a WebView<br>
Widget which encapsulate the WebKit browser.<br>
But, of course, it require Sugar 0.96 - Gtk3.<br>
Creating interactive tutorial could be a good idea because, with this<br>
framework, the HTML5 page could be notified when a Widget has changed or<br>
could launch an action on a Widget. So, it's basic for an interactive<br>
tutorial.<br>
I don't know for Scratch but AFAK, EToys is built with a very different<br>
approach than Sugar Python so I'm afraid it could not use in the same way.<br>
<br>
Best regards from France.<br>
<br>
Lionel.<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Sat, 25 Aug 2012 18:11:54 -0400<br>
From: Edward Mokurai Cherlin <<a href="mailto:mokurai@sugarlabs.org">mokurai@sugarlabs.org</a>><br>
To: Sugar Devel <<a href="mailto:sugar-devel@lists.sugarlabs.org">sugar-devel@lists.sugarlabs.org</a>><br>
Subject: [Sugar-devel] Sugar Activity template for HTML5/Enyo<br>
Message-ID:<br>
<<a href="mailto:CADmpiaaOkHd-4SKFBMNvM7wba1BQqOnax9xRFdqFOYLZZcP2wg@mail.gmail.com">CADmpiaaOkHd-4SKFBMNvM7wba1BQqOnax9xRFdqFOYLZZcP2wg@mail.gmail.com</a>><br>
Content-Type: text/plain; charset=UTF-8<br>
<br>
Excellent. I have been wanting a way to use HTML5 with various Sugar<br>
activities in the Replacing Textbooks program, both to write<br>
interactive tutorials on the activities, and to write subject-matter<br>
materials incorporating Sugar. Can you see how to do this? Can we<br>
adapt existing activities in Python and other languages to work with<br>
your template? What would it take to link to Etoys and Scratch, as the<br>
next language extension?<br>
<br>
<br>
_______________________________________________<br>
Sugar-devel mailing list<br>
<a href="mailto:Sugar-devel@lists.sugarlabs.org">Sugar-devel@lists.sugarlabs.org</a><br>
<a href="http://lists.sugarlabs.org/listinfo/sugar-devel" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
</blockquote></div><br>