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

Lucian Branescu lucian.branescu at gmail.com
Mon Nov 9 11:45:11 EST 2009


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
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Browse-114.xo
Type: application/octet-stream
Size: 341672 bytes
Desc: not available
Url : http://lists.sugarlabs.org/archive/sugar-devel/attachments/20091109/bcee8538/attachment-0002.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: keep_offline.patch
Type: application/octet-stream
Size: 1452 bytes
Desc: not available
Url : http://lists.sugarlabs.org/archive/sugar-devel/attachments/20091109/bcee8538/attachment-0003.obj 


More information about the Sugar-devel mailing list