[sugar] content bundle development

Philippe Clérié philippe at gcal.net
Sun Oct 5 14:42:42 EDT 2008


Thanks! That worked.

But there are a few problems. I don't mind so much the extra clicks 
necessary to install the xol, but everytime I click on the bundle's 
name in the Browse activity, it _downloads_ the file. If the file is 
already on disk why the extra downloads? 

Next, the Reader activity does not automatically start after the 
download. I have to click on Open to do that. And if I click on OK, the 
download bar closes, and nothing happens. The natural thing to do seems 
to be to restart, i.e. click on the bundle's name again.

All these downloads seem to remain in the journal taking up space until 
deleted.

Last comment is that deleting the bundle in the Journal also deletes it 
from the XO, which is not exactly what I expected.


Philippe

------
The trouble with common sense is that it is so uncommon.
<Anonymous>


On Sunday 05 October 2008 11:48:34 Walter Bender wrote:
> You should only need an index.html file that points to your PDF.
>
> <html>
> <meta http-equiv="refresh"
> content="0;url=file:///home/olpc/Library/[bundle name]/[PDF
> name].pdf">
> </html>
>
> In the library/library.info file, there should be an activity_start
> entry as per:
>
> activity_start = index.html
>
> In theory, make_index.py reads this line from the info file when
> generating its index.
>
> -walter
>
> On Sun, Oct 5, 2008 at 12:35 PM, Philippe Clérié <philippe at gcal.net> 
wrote:
> > I made a content bundle with a single pdf following the
> > instructions at http://wiki.laptop.org/go/Content_bundles. I then
> > downloaded said bundle with the browser, went to the journal and
> > resumed. After refreshing the browser home page, my bundle was
> > listed under [Books] on the left side. But when I click on it, I
> > get a browser error with the following message:
> >
> > The file /home/olpc/.library_pages/<bundle name>/bundle_index.html
> > cannot be found. Please check the location and try again.
> >
> > Running /usr/share/library-common/make_index.py makes no
> > difference.
> >
> > The instructions appear to be missing something. Are there any
> > updated instructions?
> >
> > Thanks
> > Philippe
> >
> > ------
> > The trouble with common sense is that it is so uncommon.
> > <Anonymous>
> > _______________________________________________
> > Sugar mailing list
> > Sugar at lists.laptop.org
> > http://lists.laptop.org/listinfo/sugar




More information about the Sugar mailing list