[Sugar-devel] Keep offline for Browse (offline bookmarks)

Lucian Branescu lucian.branescu at gmail.com
Mon Nov 9 16:20:27 EST 2009


Sorry for any confusion, the second keep_offline.patch should be
applied over the older one.

2009/11/9 Lucian Branescu <lucian.branescu at gmail.com>:
> Right now, you'd need to apply the patch to Browse yourself. I've
> attached an .xo bundle that should work on sugar 0.86, but I haven't
> tested it.
>
> Right now I add some metadata to the journal object so that it is
> opened by Browse by default
> (metadata['activity']='org.laptop.WebActivity'). I could however
> change it so that Browse opens any .zip file, not just files it
> produced itself.
>
> I've attached a patch that does that (adds the zip mime type in activity.info).
>
> 2009/11/9 Caroline Meeks <solutiongrove at gmail.com>:
>> This sounds great! I've been trying to get the zip files of books from CAST
>> to work. Will this patch fix it for me?  What is the easiest way for me to
>> try it? Is there a VM appliance?
>> Here is a link to the books I'm trying to get to
>> work: http://bookbuilder.cast.org/model.php
>>
>> Thanks!
>> Caroline
>>
>> On Sun, Nov 8, 2009 at 10:17 AM, Lucian Branescu <lucian.branescu at gmail.com>
>> wrote:
>>>
>>> The second point in this ticket http://bugs.sugarlabs.org/ticket/971
>>> I've made a patch against the latest Browse, but trac doesn't let me
>>> post it (apparently I'm a bot).
>>>
>>> Besides being able to save pages for offline use, this patch will also
>>> allow distribution of HTML content in .zip files that have an
>>> 'index.html' inside. Browse will happily open such files (but they may
>>> need certain metadata).
>>>
>>> Patch attached.
>>>
>>> _______________________________________________
>>> Sugar-devel mailing list
>>> Sugar-devel at lists.sugarlabs.org
>>> http://lists.sugarlabs.org/listinfo/sugar-devel
>>>
>>
>>
>>
>> --
>> Caroline Meeks
>> Solution Grove
>> Caroline at SolutionGrove.com
>>
>> 617-500-3488 - Office
>> 505-213-3268 - Fax
>>
>


More information about the Sugar-devel mailing list