[IAEP] Sharing EToys projects

Dave Bauer dave.bauer at gmail.com
Mon Dec 7 16:39:22 EST 2009


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



> - Bert -
>
>
>
> _______________________________________________
> IAEP -- It's An Education Project (not a laptop project!)
> IAEP at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/iaep
>



-- 
Dave Bauer
dave at solutiongrove.com
http://www.solutiongrove.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.sugarlabs.org/archive/iaep/attachments/20091207/b681cd67/attachment.htm 


More information about the IAEP mailing list