[etoys-dev] Fwd: [IAEP] Sharing EToys projects

Bert Freudenberg bert at freudenbergs.de
Mon Dec 7 19:20:08 EST 2009


Begin forwarded message:
> From: Gerald Ardito <gerald.ardito at gmail.com>
> Date: 8. Dezember 2009 00:55:53 MEZ
> To: "dave.bauer" <dave.bauer at gmail.com>
> Cc: Bert Freudenberg <bert at freudenbergs.de>, olpc-open <olpc-open at lists.laptop.org>, iaep <iaep at lists.sugarlabs.org>, Tomeu Vizoso <tomeu at sugarlabs.org>, "server-devel at lists.laptop.org" <Server-devel at lists.laptop.org>
> Subject: Re: [IAEP] Sharing EToys projects
> 
> Dave,
> 
> It works perfectly!
> Thanks for all of the work and the fast turnaround time.
> 
> I send you an XO orchestrated wave!
> 
> Best,
> Gerald
> 
> On Mon, Dec 7, 2009 at 4:39 PM, Dave Bauer <dave.bauer at gmail.com> wrote:
> 
> 
> On Mon, Dec 7, 2009 at 4:13 PM, Bert Freudenberg <bert at freudenbergs.de> wrote:
> On 07.12.2009, at 22:08, Dave Bauer wrote:
>> On Mon, Dec 7, 2009 at 4:04 PM, Bert Freudenberg <bert at freudenbergs.de> wrote:
>> On 07.12.2009, at 21:54, Dave Bauer wrote:
>>> On Sun, Dec 6, 2009 at 7:22 PM, Gerald Ardito <gerald.ardito at gmail.com> wrote:
>>> Tomeu,
>>> 
>>> There is no mime type that I can see. The Journal entry simply says  File <filename.pr> from <url for file>.
>>> This is no different, by the way, when I upload and then download games we made in Memorize. However, Memorize will load the downloaded game.
>>> 
>>> Thanks.
>>> Gerald
>>> 
>>> 
>>> 
>>> Hi, I checked the apache config and added the mime type for the .pr files. I downloaded the file on my Mac and it got the correct mime type and offered to open the project in Squeak.
>> 
>> I'm not sure if the filename doesn't play a role on the Mac.
>> 
>>> I tried on soas-strawberry and XO-802 and it did not open etoys from the journal. Maybe etoys is looking for a different mime-type than x-application/squeak-project?
>> 
>> 
>> Try application/x-squeak-project not x-application/... 
>> 
>> It used to work on 802. And it does work in F11_XO1.5/Sugar 0.84 - I just tried. Just go to Squeakland.org and click the project thumbnail next to "Jeopardy 3point0" which is the current project of the week.
>> 
>> 
>> Ok, good news! That opens in the etoys plugin in my browser so I will try to change the mime type and test again. Thanks
>> 
>> Dave
> 
> Ah well, the plugin embedding code (on Mac/Win/non-sugar Linux) provides its own mime type, so this does not really mean it will work in Sugar, where you do not have (nor need) the plugin.
> 
> 
> 
> 
> 
> OK, I fixed this by adding
> 
> 'pr' => array ('type'=>'application/x-squeak-project','icon'=>'video.gif'),
> 
> to lib/filelib.php in moodle. Looks like our version of XS did not support this mime type for forum uploads in moodle. This should be an XS 0.6 install.
> 
> Thanks!
> 
> Dave


-------------- nächster Teil --------------
Ein Dateianhang mit HTML-Daten wurde abgetrennt...
URL: http://lists.squeakland.org/pipermail/etoys-dev/attachments/20091208/598e7f75/attachment-0001.html


More information about the etoys-dev mailing list