BTW, this activity is a perfect example of what I was talking about with my 'web-activity' and sugar.activity.activity.WebActivity class proposals.  You want a way to install it to the home screen, give it an icon, and have it launch seamlessly just like any other activity.<br>
<br>As it is, I spent some time last month and ported Yay! Bee See to PyGTK so it would behave as a normal activity, but if we had the system I described in Sugar already, I wouldn't have done so.<br><br>My link is <a href="http://dev.laptop.org/~wadeb/Yay!BeeSee-2.xo">http://dev.laptop.org/~wadeb/Yay!BeeSee-2.xo</a><br>
<br>Best,<br>Wade<br><br><div class="gmail_quote">On Wed, Dec 10, 2008 at 4:39 PM, Ben Wiley Sittler <span dir="ltr"><<a href="mailto:bsittler@gmail.com">bsittler@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>
<br>
I've been playing around with this a bit, and I still can't figure out<br>
the xol files. When I download<br>
<br>
<a href="http://wiki.laptop.org/images/2/28/Yay-Bee-See-9.xol" target="_blank">http://wiki.laptop.org/images/2/28/Yay-Bee-See-9.xol</a><br>
<br>
In Browse, it does get saved to the Journal, and when I start the xol<br>
file from the Journal it launches Browse with the main HTML file from<br>
the collection, and a subsequently launched "vanilla" Browse includes<br>
"yay-bee-see" in the "images" section of the Library.<br>
<br>
However, even after I "keep" both the .xol file and the Browse<br>
session, rebooting the machine causes yay-bee-see to disappear from<br>
the images section of the Library (and the kept Browse session to show<br>
a "File Not Found" message) until I open the .xol file again. Is this<br>
intended/expected behavior?<br>
<br>
Is there some way to keep user-installed Library Collections installed<br>
across reboots?<br>
<br>
Thanks,<br>
<font color="#888888">-Ben<br>
</font><div><div></div><div class="Wj3C7c"><br>
On Mon, Nov 24, 2008 at 9:08 PM, Samuel Klein <<a href="http://meta.sj" target="_blank">meta.sj</a>@<a href="http://gmail.com" target="_blank">gmail.com</a>> wrote:<br>
> Yes, that's a fine baseline.   As you point out, I had a hard time<br>
> with the license field; enter what you like but please do include a<br>
> full LICENSE file in the bundle that provides specific licenses (and<br>
> attribution where required), image by image.<br>
><br>
> If you download an xol file onto your xo from a webserver that has<br>
> mimetypes set properly (such as w.l.o) it should automatically install<br>
> itself into your Library/ directory.<br>
><br>
> I don't know about that page not rendering properly on an XO; what<br>
> version of Browse are you running?<br>
><br>
> SJ<br>
><br>
> On Mon, Nov 24, 2008 at 11:55 PM, Ben Wiley Sittler <<a href="mailto:bsittler@gmail.com">bsittler@gmail.com</a>> wrote:<br>
>> Thanks!<br>
>><br>
>> A few questions, though:<br>
>><br>
>> 1. Is there any reason I shouldn't start with your version 2 .xol as<br>
>> my baseline? I'd like to update it to use the new lower-resolution,<br>
>> lower-quality images (which still look just fine on the XO-1 even in<br>
>> greyscale high-resolution mode zoomed out to the 1px = 1px scale.)<br>
>><br>
>> 2. Is there some way to install the .xol more user-friendly than just<br>
>> unzipping it into the ~/Library directory?<br>
>><br>
>> 3. I notice that in the description on the wiki for the bundle you<br>
>> wrote "fdl text, pd, cc-by and cc-sa images". Some of the images are<br>
>> cc-by-sa and fdl, too. Also, the HTML text is actually pd (or at least<br>
>> it was in the version I released — of course you are welcome to<br>
>> license copyrighted derivative versions however you like.)<br>
>><br>
>> 4. And finally, is there some reason the OLPC wiki does not work right<br>
>> when viewed from an XO-1? I had to go through URL-hacking contortions<br>
>> to open that page in Browse (it just said the page was empty<br>
>> otherwise.)<br>
>><br>
>> Thanks, (and please pardon my ignorance!)<br>
>> -Ben<br>
>><br>
>> On Mon, Nov 24, 2008 at 8:43 PM, Samuel Klein <<a href="http://meta.sj" target="_blank">meta.sj</a>@<a href="http://gmail.com" target="_blank">gmail.com</a>> wrote:<br>
>>>  Ben --<br>
>>><br>
>>> When you're zipping up the directory, if you add a metadata file in<br>
>>> this subpath:<br>
>>>  library/<a href="http://library.info" target="_blank">library.info</a><br>
>>><br>
>>> and give the resulting zip file the extension .xol, you'll have an XO<br>
>>> library bundle.<br>
>>><br>
>>> Here is a sample info file, with all required fields :<br>
>>> <a href="http://wiki.laptop.org/go/Image:Yay-bee-see-library.info" target="_blank">http://wiki.laptop.org/go/Image:Yay-bee-see-library.info</a><br>
>>> Note that the 'name' field in the info file should match the name of<br>
>>> the root directory.<br>
>>><br>
>>> Our standard is to increment the version # in the metadata every time<br>
>>> you make a change; that allows tools like Sugar's software updater<br>
>>> know when there are newer versions of packages available to install.<br>
>>><br>
>>> SJ<br>
>>><br>
>>> On Mon, Nov 24, 2008 at 7:31 PM, Ben Wiley Sittler <<a href="mailto:bsittler@gmail.com">bsittler@gmail.com</a>> wrote:<br>
>>>> yeah, i added a 1200x900 version with more agressive JPEG compression<br>
>>>> which looks good both in color mode and in monochrome mode and is only<br>
>>>> 4 MiB or so:<br>
>>>><br>
>>>> <a href="http://xent.com/%7Ebsittler/yay-bee-see-olpc.zip" target="_blank">http://xent.com/~bsittler/yay-bee-see-olpc.zip</a><br>
>>>><br>
>>>> hosted version:<br>
>>>><br>
>>>> <a href="http://xent.com/%7Ebsittler/yay-bee-see-olpc/index.html" target="_blank">http://xent.com/~bsittler/yay-bee-see-olpc/index.html</a><br>
>>>><br>
>>>> does that seem any faster?<br>
>>>><br>
>>>> On Mon, Nov 24, 2008 at 3:26 PM, Gary C Martin <<a href="mailto:gary@garycmartin.com">gary@garycmartin.com</a>> wrote:<br>
>>>>> On 24 Nov 2008, at 17:21, Ben Wiley Sittler wrote:<br>
>>>>><br>
>>>>>> Hi,<br>
>>>>>><br>
>>>>>> I have just joined this list and read through the archives, but could<br>
>>>>>> not find anything similar. I also didn't find mention of anything<br>
>>>>>> similar on the OLPC Wiki.<br>
>>>>>><br>
>>>>>> I recently wrote some software for use by my daughter on her OLPC. It<br>
>>>>>> runs inside the Browse activity, either locally using a "file:" URI or<br>
>>>>>> over the network. I don't know whether it will be of interest to<br>
>>>>>> anyone else, but I have released the software to the public domain and<br>
>>>>>> packaged it along with scaled-down (1600x1200 or less) copies of some<br>
>>>>>> public-domain images and some copyrighted-but-free-to-redistribute<br>
>>>>>> images under GFDL, and various Creative Commons Attribution-Share<br>
>>>>>> Alike, Attribution, and Share Alike licenses. Individual attribution<br>
>>>>>> for each image is included in the application source code.<br>
>>>>><br>
>>>>> Seems a great addition for the younger age range :-)<br>
>>>>><br>
>>>>> I did notice that even on a high specced laptop (1.5Ghz, 2Gb ram, broadband<br>
>>>>> connection) the background image was very slow to display (until it had been<br>
>>>>> cached locally).<br>
>>>>><br>
>>>>> One suggestion, 1600x1200 seems a bit large (even as a max size). For the<br>
>>>>> XO, 800x600 (max!) would seem to be a fair max image size to save nand space<br>
>>>>> and keep image quality. The XO screen is capable of 1200x900 in black/white,<br>
>>>>> and 800x600 seems a reasonable number for it's colour resolution abilities:<br>
>>>>><br>
>>>>>        <a href="http://wiki.laptop.org/go/Display" target="_blank">http://wiki.laptop.org/go/Display</a><br>
>>>>><br>
>>>>> --Gary<br>
>>>>><br>
>>>>>> overview:<br>
>>>>>><br>
>>>>>> I wrote some software using DHTML (JavaScript, HTML and CSS.) It's to<br>
>>>>>> help learn letters and numbers, and is intended to be used with adult<br>
>>>>>> supervision and involvement. It is fairly easy to customize it to use<br>
>>>>>> different images and support different alphabets simply by editing the<br>
>>>>>> contents of the <style> element in the HTML file.<br>
>>>>>><br>
>>>>>> The software is very, very, very simple — it just echoes typed letters<br>
>>>>>> and numbers in a large, colorful font and shows a somewhat-relevant<br>
>>>>>> background image for each one. The images are various freely-usable<br>
>>>>>> ones I found on Wikipedia or in the Wikimedia Commons. View source<br>
>>>>>> code for full copyright information for the associated images.<br>
>>>>>><br>
>>>>>> online version of the "Yay!, Bee, See" application:<br>
>>>>>><br>
>>>>>> <a href="http://xent.com/%7Ebsittler/yay-bee-see.html" target="_blank">http://xent.com/~bsittler/yay-bee-see.html</a><br>
>>>>>><br>
>>>>>> an archive of the application (ZIP, ~15 MiB) including all images:<br>
>>>>>><br>
>>>>>> <a href="http://xent.com/%7Ebsittler/yay-bee-see.zip" target="_blank">http://xent.com/~bsittler/yay-bee-see.zip</a><br>
>>>>>><br>
>>>>>> blog post about it:<br>
>>>>>><br>
>>>>>> <a href="http://bsittler.livejournal.com/15244.html" target="_blank">http://bsittler.livejournal.com/15244.html</a><br>
>>>>>><br>
>>>>>> background:<br>
>>>>>><br>
>>>>>> My daughter (who turns two this week) has been enjoying her OLPC from<br>
>>>>>> last year's G1G1 program much more than I expected she would<br>
>>>>>> (originally I intended to wait until she was older and literate to<br>
>>>>>> introduce her to the OLPC, but she seemed to treat it as a favorite<br>
>>>>>> toy starting around the age of 18 months.) She likes the Record<br>
>>>>>> activity (she calls it "Waving hand" and uses it like a mirror-image<br>
>>>>>> mirror,) Skype (not bundled, but she uses it to talk to and see<br>
>>>>>> far-away family,) and listening to music (<a href="http://theclassicalstation.org" target="_blank">theclassicalstation.org</a>).<br>
>>>>>> She also likes pressing buttons, rotating the "ears" and screen, and<br>
>>>>>> opening and closing the laptop. However, she seems somewhat frustrated<br>
>>>>>> by not being able to do things on it for herself (or as she puts it,<br>
>>>>>> "do it self!",) so I thought I might write a small program where her<br>
>>>>>> keypresses give some feedback, and help reinforce her interest in the<br>
>>>>>> digits and letters of the alphabet (she loves being read to and<br>
>>>>>> recognizes many letters and digits, but does not seem to understand<br>
>>>>>> reading yet.)<br>
>>>>>><br>
>>>>>> -Ben<br>
>>>>>> _______________________________________________<br>
>>>>>> Devel mailing list<br>
>>>>>> <a href="mailto:Devel@lists.laptop.org">Devel@lists.laptop.org</a><br>
>>>>>> <a href="http://lists.laptop.org/listinfo/devel" target="_blank">http://lists.laptop.org/listinfo/devel</a><br>
>>>>><br>
>>>>><br>
>>>> _______________________________________________<br>
>>>> Devel mailing list<br>
>>>> <a href="mailto:Devel@lists.laptop.org">Devel@lists.laptop.org</a><br>
>>>> <a href="http://lists.laptop.org/listinfo/devel" target="_blank">http://lists.laptop.org/listinfo/devel</a><br>
>>>><br>
>>><br>
>><br>
><br>
_______________________________________________<br>
Devel mailing list<br>
<a href="mailto:Devel@lists.laptop.org">Devel@lists.laptop.org</a><br>
<a href="http://lists.laptop.org/listinfo/devel" target="_blank">http://lists.laptop.org/listinfo/devel</a><br>
</div></div></blockquote></div><br>