Re: [Server-devel] [IAEP] Sharing EToys projects

2009-12-18 Thread Yoshiki Ohshima
At Sun, 06 Dec 2009 20:00:59 -0500,
Benjamin M. Schwartz wrote:
> 
> [1  ]
> [1.1  ]
> Dave Bauer wrote:
> > Do you happen to know what the mime type should be for Etoys to open it?
> 
> The list of mime types that the eToys activity will open is at
> 
> http://dev.laptop.org/git/projects/etoys/tree/activity.info.in
> 
> I'm sure one of the eToys expert can give you better advice than I on
> which mime type is preferred.

  application/x-squeak-project

is the one typically associated with .pr files.
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] [IAEP] Sharing EToys projects

2009-12-09 Thread Martin Langhoff
On Mon, Dec 7, 2009 at 12:31 AM, Gerald Ardito  wrote:
> I am working with 140 5th grade students who are using XOs (mostly) and
> netbooks with SOAS.
> About 50 of them are using Etoys to create projects.
> I am trying to find a way to share them with their teachers and each other.
> When I try to upload them to a Moodle course and them download them, the
> downloaded files can't be read by EToys.

If you are using the Moodle included in XS 0.5.2 or 0.6, I added the
etoys mimetypes so this would work:

http://dev.laptop.org/git/users/martin/moodle.git/commit/?h=mdl19-xs&id=c4a2a76328b5ff0ee8d4289445f41b42ffd46e6d



m
-- 
 martin.langh...@gmail.com
 mar...@laptop.org -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] [IAEP] Sharing EToys projects

2009-12-07 Thread Gerald Ardito
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  wrote:

>
>
> On Mon, Dec 7, 2009 at 4:13 PM, Bert Freudenberg wrote:
>
>> On 07.12.2009, at 22:08, Dave Bauer wrote:
>>
>> On Mon, Dec 7, 2009 at 4:04 PM, Bert Freudenberg wrote:
>>
>>> On 07.12.2009, at 21:54, Dave Bauer wrote:
>>>
>>> On Sun, Dec 6, 2009 at 7:22 PM, Gerald Ardito 
>>> wrote:
>>>
 Tomeu,

 There is no mime type that I can see. The Journal entry simply says
 File  from .
 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!)
>> i...@lists.sugarlabs.org
>> http://lists.sugarlabs.org/listinfo/iaep
>>
>
>
>
> --
> Dave Bauer
> d...@solutiongrove.com
> http://www.solutiongrove.com
>
>
>
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] [IAEP] Sharing EToys projects

2009-12-07 Thread Dave Bauer
On Mon, Dec 7, 2009 at 4:13 PM, Bert Freudenberg wrote:

> On 07.12.2009, at 22:08, Dave Bauer wrote:
>
> On Mon, Dec 7, 2009 at 4:04 PM, Bert Freudenberg wrote:
>
>> On 07.12.2009, at 21:54, Dave Bauer wrote:
>>
>> On Sun, Dec 6, 2009 at 7:22 PM, Gerald Ardito wrote:
>>
>>> Tomeu,
>>>
>>> There is no mime type that I can see. The Journal entry simply says  File
>>>  from .
>>> 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!)
> i...@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/iaep
>



-- 
Dave Bauer
d...@solutiongrove.com
http://www.solutiongrove.com
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] [IAEP] Sharing EToys projects

2009-12-07 Thread Bert Freudenberg
On 07.12.2009, at 22:08, Dave Bauer wrote:
> On Mon, Dec 7, 2009 at 4:04 PM, Bert Freudenberg  wrote:
> On 07.12.2009, at 21:54, Dave Bauer wrote:
>> On Sun, Dec 6, 2009 at 7:22 PM, Gerald Ardito  
>> wrote:
>> Tomeu,
>> 
>> There is no mime type that I can see. The Journal entry simply says  File 
>>  from .
>> 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.

- Bert -


___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] [IAEP] Sharing EToys projects

2009-12-07 Thread Dave Bauer
On Mon, Dec 7, 2009 at 4:04 PM, Bert Freudenberg wrote:

> On 07.12.2009, at 21:54, Dave Bauer wrote:
>
> On Sun, Dec 6, 2009 at 7:22 PM, Gerald Ardito wrote:
>
>> Tomeu,
>>
>> There is no mime type that I can see. The Journal entry simply says  File
>>  from .
>> 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


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



-- 
Dave Bauer
d...@solutiongrove.com
http://www.solutiongrove.com
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] [IAEP] Sharing EToys projects

2009-12-07 Thread Bert Freudenberg
On 07.12.2009, at 21:54, Dave Bauer wrote:
> On Sun, Dec 6, 2009 at 7:22 PM, Gerald Ardito  wrote:
> Tomeu,
> 
> There is no mime type that I can see. The Journal entry simply says  File 
>  from .
> 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.

- Bert -


___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] [IAEP] Sharing EToys projects

2009-12-07 Thread Dave Bauer
On Sun, Dec 6, 2009 at 7:22 PM, Gerald Ardito wrote:

> Tomeu,
>
> There is no mime type that I can see. The Journal entry simply says  File <
> filename.pr> from .
> 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 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?

Dave


> On Sun, Dec 6, 2009 at 7:08 PM, Tomeu Vizoso  wrote:
>
>> On Sun, Dec 6, 2009 at 21:31, Gerald Ardito 
>> wrote:
>> > Hello.
>> >
>> > I am working with 140 5th grade students who are using XOs (mostly) and
>> > netbooks with SOAS.
>> > About 50 of them are using Etoys to create projects.
>> > I am trying to find a way to share them with their teachers and each
>> other.
>> > When I try to upload them to a Moodle course and them download them, the
>> > downloaded files can't be read by EToys.
>> >
>> > Any ideas?
>>
>> This uses to be a problem with the mime types. Can you see with which
>> mimetype is downloaded the file from moodle?
>>
>> Regards,
>>
>> Tomeu
>>
>> --
>> «Sugar Labs is anyone who participates in improving and using Sugar.
>> What Sugar Labs does is determined by the participants.» - David
>> Farning
>>
>
>
> ___
> IAEP -- It's An Education Project (not a laptop project!)
> i...@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/iaep
>



-- 
Dave Bauer
d...@solutiongrove.com
http://www.solutiongrove.com
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] [IAEP] Sharing EToys projects

2009-12-06 Thread Benjamin M. Schwartz
Dave Bauer wrote:
> Do you happen to know what the mime type should be for Etoys to open it?

The list of mime types that the eToys activity will open is at

http://dev.laptop.org/git/projects/etoys/tree/activity.info.in

I'm sure one of the eToys expert can give you better advice than I on
which mime type is preferred.

--Ben



signature.asc
Description: OpenPGP digital signature
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] [IAEP] Sharing EToys projects

2009-12-06 Thread Dave Bauer
On Sun, Dec 6, 2009 at 7:08 PM, Tomeu Vizoso  wrote:

> On Sun, Dec 6, 2009 at 21:31, Gerald Ardito 
> wrote:
> > Hello.
> >
> > I am working with 140 5th grade students who are using XOs (mostly) and
> > netbooks with SOAS.
> > About 50 of them are using Etoys to create projects.
> > I am trying to find a way to share them with their teachers and each
> other.
> > When I try to upload them to a Moodle course and them download them, the
> > downloaded files can't be read by EToys.
> >
> > Any ideas?
>
> This uses to be a problem with the mime types. Can you see with which
> mimetype is downloaded the file from moodle?
>
>
Do you happen to know what the mime type should be for Etoys to open it?
Thanks
Dave


> Regards,
>
> Tomeu
>
> --
> «Sugar Labs is anyone who participates in improving and using Sugar.
> What Sugar Labs does is determined by the participants.» - David
> Farning
> ___
> IAEP -- It's An Education Project (not a laptop project!)
> i...@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/iaep
>



-- 
Dave Bauer
d...@solutiongrove.com
http://www.solutiongrove.com
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] [IAEP] Sharing EToys projects

2009-12-06 Thread Gerald Ardito
Tomeu,
One more thing.
If I download Etoys projects from another site, like squeakland.org or
etoysillinois.org, the Etoys icon is associated with the file in the
Journal, and clicking on the file opens EToys properly.

Thanks again.
Gerald

On Sun, Dec 6, 2009 at 7:22 PM, Gerald Ardito wrote:

> Tomeu,
>
> There is no mime type that I can see. The Journal entry simply says  File <
> filename.pr> from .
> 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
>
>
> On Sun, Dec 6, 2009 at 7:08 PM, Tomeu Vizoso  wrote:
>
>> On Sun, Dec 6, 2009 at 21:31, Gerald Ardito 
>> wrote:
>> > Hello.
>> >
>> > I am working with 140 5th grade students who are using XOs (mostly) and
>> > netbooks with SOAS.
>> > About 50 of them are using Etoys to create projects.
>> > I am trying to find a way to share them with their teachers and each
>> other.
>> > When I try to upload them to a Moodle course and them download them, the
>> > downloaded files can't be read by EToys.
>> >
>> > Any ideas?
>>
>> This uses to be a problem with the mime types. Can you see with which
>> mimetype is downloaded the file from moodle?
>>
>> Regards,
>>
>> Tomeu
>>
>> --
>> «Sugar Labs is anyone who participates in improving and using Sugar.
>> What Sugar Labs does is determined by the participants.» - David
>> Farning
>>
>
>
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] [IAEP] Sharing EToys projects

2009-12-06 Thread Gerald Ardito
Tomeu,

There is no mime type that I can see. The Journal entry simply says  File <
filename.pr> from .
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

On Sun, Dec 6, 2009 at 7:08 PM, Tomeu Vizoso  wrote:

> On Sun, Dec 6, 2009 at 21:31, Gerald Ardito 
> wrote:
> > Hello.
> >
> > I am working with 140 5th grade students who are using XOs (mostly) and
> > netbooks with SOAS.
> > About 50 of them are using Etoys to create projects.
> > I am trying to find a way to share them with their teachers and each
> other.
> > When I try to upload them to a Moodle course and them download them, the
> > downloaded files can't be read by EToys.
> >
> > Any ideas?
>
> This uses to be a problem with the mime types. Can you see with which
> mimetype is downloaded the file from moodle?
>
> Regards,
>
> Tomeu
>
> --
> «Sugar Labs is anyone who participates in improving and using Sugar.
> What Sugar Labs does is determined by the participants.» - David
> Farning
>
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] [IAEP] Sharing EToys projects

2009-12-06 Thread Tomeu Vizoso
On Sun, Dec 6, 2009 at 21:31, Gerald Ardito  wrote:
> Hello.
>
> I am working with 140 5th grade students who are using XOs (mostly) and
> netbooks with SOAS.
> About 50 of them are using Etoys to create projects.
> I am trying to find a way to share them with their teachers and each other.
> When I try to upload them to a Moodle course and them download them, the
> downloaded files can't be read by EToys.
>
> Any ideas?

This uses to be a problem with the mime types. Can you see with which
mimetype is downloaded the file from moodle?

Regards,

Tomeu

-- 
«Sugar Labs is anyone who participates in improving and using Sugar.
What Sugar Labs does is determined by the participants.» - David
Farning
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel