<div dir="ltr"><div>By the way, I have not tested but I would expect this to be compatible with 0.98/WebKit1 by copying htmlactivity.py and gwebsockets inside the activity.<br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On 1 May 2013 19:21, Daniel Narvaez <span dir="ltr"><<a href="mailto:dwnarvaez@gmail.com" target="_blank">dwnarvaez@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div><div><div><div>Hello,<br><br></div>I submitted some initial code for the HTML activities API. I implemented only a close method for now, but it should be possible to add more stuff easily.<br><br></div>
Here is the toolkit patch<br><br><a href="https://github.com/sugarlabs/sugar-toolkit-gtk3/pull/15" target="_blank">https://github.com/sugarlabs/sugar-toolkit-gtk3/pull/15</a><br><br></div>It adds a dependency on gwebsockets.<br>
<br><a href="https://github.com/dnarvaez/gwebsockets" target="_blank">https://github.com/dnarvaez/gwebsockets</a><br>
<br></div>The javascript library (reviews would be appreciated)<br><br><a href="https://github.com/sugarlabs/sugar-html-core" target="_blank">https://github.com/sugarlabs/sugar-html-core</a><br clear="all"><div><div><div>
<div><div><div><br>
</div><div>And an example of using it<br><br><a href="https://github.com/sugarlabs/sugar-html-demo" target="_blank">https://github.com/sugarlabs/sugar-html-demo</a><br></div><div><br></div><div>It's really a first attempt but I suggest we go ahead and implement more APIs on the top of this. It should give us a more concrete idea of what we need exactly.<br>
<br></div><div>I think we need to do authentication otherwise anything could use the communication channel, but that should be pretty easy.<span class="HOEnZb"><font color="#888888"><br></font></span></div><span class="HOEnZb"><font color="#888888"><div>
<br>-- <br>Daniel Narvaez<br>
</div></font></span></div></div></div></div></div></div>
</blockquote></div><br><br clear="all"><br>-- <br>Daniel Narvaez<br>
</div>