Also something new and related in Mozilla land:<br><br><a href="https://jetpack.mozillalabs.com/">https://jetpack.mozillalabs.com/</a><br><br><div class="gmail_quote">On Sun, Jun 7, 2009 at 11:07 AM, Gary C Martin <span dir="ltr"><<a href="mailto:gary@garycmartin.com">gary@garycmartin.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">On 7 Jun 2009, at 18:18, Lucian Branescu wrote:<br>
<br>
> 1. I don't really want to zip it if I can avoid it. If I do zip it and<br>
> get an .xo, how can I add it to the Journal programatically?<br>
> 2. I've changed that. All SSBs are subdomains to org.sugarlabs.ssb<br>
> (like org.sugarlabs.ssb.GMailActivity)<br>
><br>
> 2009/6/7 Bobby Powers <<a href="mailto:bobbypowers@gmail.com">bobbypowers@gmail.com</a>>:<br>
>> On Sat, Jun 6, 2009 at 9:57 PM, Lucian<br>
>> Branescu<<a href="mailto:lucian.branescu@gmail.com">lucian.branescu@gmail.com</a>> wrote:<br>
>>> For my project, I will extend Browse with the ability to create<br>
>>> SSBs.<br>
>>> Read more here <a href="http://honeyweb.wordpress.com/2009/06/06/the-user-experience/" target="_blank">http://honeyweb.wordpress.com/2009/06/06/the-user-experience/</a><br>
>>><br>
>>> I have made a small script that is triggered by a button in the<br>
>>> Browse<br>
>>> toolbar. It also works from Terminal.<br>
>>><br>
>>> Later on this script will do more things, but I'd like some feedback<br>
>>> about it as early as possible.<br>
<br>
Just wanted to flag an item that might be of interest to you on the<br>
0.86 Browse roadmap "export for offline viewing (Web page - HTML only,<br>
Web page - Complete)":<br>
<br>
<a href="http://wiki.sugarlabs.org/go/Development_Team/Release/Roadmap/0.86#Browse" target="_blank">http://wiki.sugarlabs.org/go/Development_Team/Release/Roadmap/0.86#Browse</a><br>
<br>
I know this doesn't make a first class 'Activity' out of a page, but<br>
seems to have quite a feature overlap with your project. It would<br>
allow Browse to keep any page to the Journal so it can be resumed off-<br>
line and/or distributed to other users (via Journal entry sharing<br>
already in 0.84). It would also allow content providers an easy way to<br>
create and distribute more complicates/deep html/css/javascript/flash<br>
type rich web sites/pages by just zipping them up.<br>
<br>
Regards,<br>
--Gary<br>
<br>
>> Hi Lucian,<br>
>><br>
>> 2 things:<br>
>><br>
>> 1) rainbow should prevent you from creating new activities in<br>
>> ~/Activities, so I don't think that approach would work on an XO with<br>
>> an OLPC build. Since I think what you want is to create an activity,<br>
>> zip it, and add it to the journal, you could probably do something<br>
>> like this:<br>
>> import tempfile<br>
>> ssb_path = tempfile.mkdtmp(dir=activity.get_activity_root())<br>
>><br>
>> 2) the bundle_id you create probably should begin with org.laptop ,<br>
>> as<br>
>> that could cause collisions with other activities. maybe<br>
>> org.sugarlabs.ssb ?<br>
>><br>
>> nice start so far!<br>
>><br>
>> bobby<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>
<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>