[Sugar-devel] [GSoC] SSB creator
Lucian Branescu
lucian.branescu at gmail.com
Sun Jun 7 15:38:20 EDT 2009
Yes, VERY similar to Chrome extensions. I was in fact hoping for
something similar for Firefox when I read about Chrome extensions. It
would be very nice if we could get Jetpack working nicely in Browse,
but that's outside the scope of my GSoC.
After a chat with bemasc, I have a much more clear picture about the
life on an SSB. I'll write it up asap.
2009/6/7 Carol Farlow Lerche <cafl at msbit.com>:
> Much more standard and simpler than the xpi framework, I think. Jetpacks
> are html, javascript and css, expect you to use canvas and audio, with the
> underlying jetpack packaged with jquery.
>
> On Sun, Jun 7, 2009 at 12:30 PM, Lucian Branescu <lucian.branescu at gmail.com>
> wrote:
>>
>> Jetpack is not directly related. It is in fact very similar to
>> Chrome's extension API.
>>
>> 2009/6/7 Carol Farlow Lerche <cafl at msbit.com>:
>> > Also something new and related in Mozilla land:
>> >
>> > https://jetpack.mozillalabs.com/
>> >
>> > On Sun, Jun 7, 2009 at 11:07 AM, Gary C Martin <gary at garycmartin.com>
>> > wrote:
>> >>
>> >> On 7 Jun 2009, at 18:18, Lucian Branescu wrote:
>> >>
>> >> > 1. I don't really want to zip it if I can avoid it. If I do zip it
>> >> > and
>> >> > get an .xo, how can I add it to the Journal programatically?
>> >> > 2. I've changed that. All SSBs are subdomains to org.sugarlabs.ssb
>> >> > (like org.sugarlabs.ssb.GMailActivity)
>> >> >
>> >> > 2009/6/7 Bobby Powers <bobbypowers at gmail.com>:
>> >> >> On Sat, Jun 6, 2009 at 9:57 PM, Lucian
>> >> >> Branescu<lucian.branescu at gmail.com> wrote:
>> >> >>> For my project, I will extend Browse with the ability to create
>> >> >>> SSBs.
>> >> >>> Read more here
>> >> >>> http://honeyweb.wordpress.com/2009/06/06/the-user-experience/
>> >> >>>
>> >> >>> I have made a small script that is triggered by a button in the
>> >> >>> Browse
>> >> >>> toolbar. It also works from Terminal.
>> >> >>>
>> >> >>> Later on this script will do more things, but I'd like some
>> >> >>> feedback
>> >> >>> about it as early as possible.
>> >>
>> >> Just wanted to flag an item that might be of interest to you on the
>> >> 0.86 Browse roadmap "export for offline viewing (Web page - HTML only,
>> >> Web page - Complete)":
>> >>
>> >>
>> >>
>> >> http://wiki.sugarlabs.org/go/Development_Team/Release/Roadmap/0.86#Browse
>> >>
>> >> I know this doesn't make a first class 'Activity' out of a page, but
>> >> seems to have quite a feature overlap with your project. It would
>> >> allow Browse to keep any page to the Journal so it can be resumed off-
>> >> line and/or distributed to other users (via Journal entry sharing
>> >> already in 0.84). It would also allow content providers an easy way to
>> >> create and distribute more complicates/deep html/css/javascript/flash
>> >> type rich web sites/pages by just zipping them up.
>> >>
>> >> Regards,
>> >> --Gary
>> >>
>> >> >> Hi Lucian,
>> >> >>
>> >> >> 2 things:
>> >> >>
>> >> >> 1) rainbow should prevent you from creating new activities in
>> >> >> ~/Activities, so I don't think that approach would work on an XO
>> >> >> with
>> >> >> an OLPC build. Since I think what you want is to create an
>> >> >> activity,
>> >> >> zip it, and add it to the journal, you could probably do something
>> >> >> like this:
>> >> >> import tempfile
>> >> >> ssb_path = tempfile.mkdtmp(dir=activity.get_activity_root())
>> >> >>
>> >> >> 2) the bundle_id you create probably should begin with org.laptop ,
>> >> >> as
>> >> >> that could cause collisions with other activities. maybe
>> >> >> org.sugarlabs.ssb ?
>> >> >>
>> >> >> nice start so far!
>> >> >>
>> >> >> bobby
>> >> >>
>> >> > _______________________________________________
>> >> > Sugar-devel mailing list
>> >> > Sugar-devel at lists.sugarlabs.org
>> >> > http://lists.sugarlabs.org/listinfo/sugar-devel
>> >>
>> >> _______________________________________________
>> >> Sugar-devel mailing list
>> >> Sugar-devel at lists.sugarlabs.org
>> >> http://lists.sugarlabs.org/listinfo/sugar-devel
>> >
>> >
>
>
More information about the Sugar-devel
mailing list