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

2012-09-03 Thread Aleksey Lim
On Sat, Aug 25, 2012 at 10:50:17PM +0200, lio...@olpc-france.org wrote: - Use POT localization for HTML5 resource Did you already choose the way how to reuse gettext for JS code? If I got it right, there is no standard way for that and several implementations exist. -- Aleksey

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

2012-09-03 Thread lionel
- Use POT localization for HTML5 resource Did you already choose the way how to reuse gettext for JS code? If I got it right, there is no standard way for that and several implementations exist. I choose the easy way :-) I will implement a JavaScript function gettext that will handle a

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

2012-09-01 Thread Aleksey Lim
On Sat, Aug 25, 2012 at 10:50:17PM +0200, lio...@olpc-france.org wrote: Hi all, I've enhanced the work of Manuel Quinones to create an activity template using Enyo JavaScript Framework. My objective was to provide a template to write a Sugar activity using HTML5 but without

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

2012-09-01 Thread Aleksey Lim
On Sat, Sep 01, 2012 at 10:17:05AM +, Aleksey Lim wrote: Right now, I'm working on Sugar Network Contributor Hub application [5] that will be a place for people who need doing oriented interface and exactly low aged kids (in comparing thih sugar-network-webui). Opps, s/exactly/who are not

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

2012-09-01 Thread Aleksey Lim
On Sat, Aug 25, 2012 at 10:50:17PM +0200, lio...@olpc-france.org wrote: I think it's a good start to show what we could hope from this sort of integration and finally, to have more HTML5 developers writing or adapting activities to Sugar. btw, are you thinking about creating something like

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

2012-09-01 Thread lionel
Hi Aleksey, Right now, I'm working on Sugar Network Contributor Hub application [5] that will be a place for people who need doing oriented interface and not exactly low aged kids (in comparing thih sugar-network-webui). It is Enyo2 based pure JS application. Hmmm, very impressive. A really

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

2012-08-28 Thread lionel
Check the book cover. It is the Read Activity showing the EPUB of the book E-Book Enlightenment being read. Note that the page layout is quite nice and includes fancy dropcaps and art that a Kindle or a Nook would make a mess of or just ignore. So maybe, just maybe, the Read Activity could

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

2012-08-27 Thread James Simmons
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

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

2012-08-27 Thread Gonzalo Odiard
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 nices...@gmail.com wrote: What it sounds like you could do is

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

2012-08-27 Thread James Simmons
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

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

2012-08-27 Thread lionel
[mailto:nices...@gmail.com] Envoyé : lundi 27 août 2012 20:52 À : Gonzalo Odiard Cc : lio...@olpc-france.org; sugar-devel@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

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

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

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

2012-08-26 Thread lionel
@lists.sugarlabs.org Objet : Re: [Sugar-devel] Sugar Activity template for HTML5/Enyo Hi Lionel, Congratulations! This is a great idea. My own efforts in this area [0] have involved integrating a webapp microframework (Flask). Our team is working on a more complex ajax-webapp with this approach [1

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

2012-08-26 Thread Manuel Quiñones
2012/8/25 lio...@olpc-france.org: Hi all, I've enhanced the work of Manuel Quinones to create an activity template using Enyo JavaScript Framework. My objective was to provide a template to write a Sugar activity using HTML5 but without losing advantage of the Sugar integration.

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

2012-08-25 Thread Sebastian Silva
Hi Lionel, Congratulations! This is a great idea. My own efforts in this area [0] have involved integrating a webapp microframework (Flask). Our team is working on a more complex ajax-webapp with this approach [1] for the Sugar Network WebUI. Alsroot and I have been discussing Enyo as a