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

2009-11-10 Thread Lucian Branescu
For youtube alone, I recommend one of the Youtube download scripts/extensions. There's even some userscripts and bookmarklets out there (both features I would like to add to Browse at some point). This particular patch is very much geared towards taking pure html content offline, content from

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

2009-11-10 Thread S Page
On Sun, Nov 8, 2009 at 7:17 AM, Lucian Branescu 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). Why not browse

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

2009-11-10 Thread Lucian Branescu
I've tried jar:, but there were numerous issues with navigating to other pages. Also, it was quite hard to get Browse to actually open that URI, it kept trying to prettify it. On top of that, jar: has been deprecated because of security issues. After investigating jar: I found out that it

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

2009-11-10 Thread Martin Langhoff
On Sun, Nov 8, 2009 at 4:17 PM, Lucian Branescu lucian.brane...@gmail.com wrote: Besides being able to save pages for offline use, this patch will also Question on this track (perhaps OT)... do the HTML5 specs have something in this regard? IIRC (from an in-depth reading done 3 months ago) the

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

2009-11-10 Thread Lucian Branescu
I've actually implemented the full-blown web app part (it's called Site Specific Browser) for Browse as part of GSoC. The offline bit can be done either with LocalStorage (html5, but it's been around since Firefox 2.0) or Gears. So new offline-able web apps can target html5, existing web apps

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

2009-11-10 Thread Martin Langhoff
On Tue, Nov 10, 2009 at 1:36 PM, Lucian Branescu lucian.brane...@gmail.com wrote: I've actually implemented the full-blown web app part (it's called Site Specific Browser) for Browse as part of GSoC. Great! So it should be easy to store for offline small bits of static content? Is there any UI

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

2009-11-10 Thread Lucian Branescu
There's no UI for this, the developer of the web app must support this themselves. GMail for example already does it. The user can create a SSB for GMail, which will appear as a separate activity and can have its own userscripts and whatnot. Also, userscripts could be used to adapt website for

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

2009-11-09 Thread Caroline Meeks
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

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

2009-11-09 Thread Lucian Branescu
Forgot the first time, I've looked at a book from that link and it's a .zip file with some html inside, but there's no index.html file. There is a start.html file (which I assume is the entry point), but as it is right now, the user would have to click start.html after the .zip file is loaded. I

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

2009-11-09 Thread Lucian Branescu
Sorry for any confusion, the second keep_offline.patch should be applied over the older one. 2009/11/9 Lucian Branescu lucian.brane...@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.

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

2009-11-09 Thread Caroline Meeks
Sorry, I missed this email when I sent the other one. A use case I'm working on today is grabbing a video when I'm online, sharing it with students for them to watch at home when I'm offline. Do I need this patch to enable this use case also? On Mon, Nov 9, 2009 at 11:47 AM, Lucian Branescu

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

2009-11-09 Thread Lucian Branescu
This patch won't save video, at least not flash video. In fact, it does exactly what Firefox's 'save complete web page' functionality does. It may save video in html5 video tags for offline use, but I haven't tested that. If it works with Firefox, it should work with this as well. 2009/11/9

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

2009-11-09 Thread Caroline Meeks
On Mon, Nov 9, 2009 at 5:16 PM, Lucian Branescu lucian.brane...@gmail.comwrote: This patch won't save video, at least not flash video. In fact, it does exactly what Firefox's 'save complete web page' functionality does. It may save video in html5 video tags for offline use, but I haven't

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

2009-11-08 Thread Gary C Martin
Hi Lucian, On 8 Nov 2009, at 15:17, Lucian Branescu 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