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

2009-12-07 Thread Dave Bauer
On Sun, Dec 6, 2009 at 7:22 PM, Gerald Ardito gerald.ard...@gmail.comwrote:

 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 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 to...@sugarlabs.org wrote:

 On Sun, Dec 6, 2009 at 21:31, Gerald Ardito gerald.ard...@gmail.com
 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-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 b...@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.ard...@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.

- 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:13 PM, Bert Freudenberg b...@freudenbergs.dewrote:

 On 07.12.2009, at 22:08, Dave Bauer wrote:

 On Mon, Dec 7, 2009 at 4:04 PM, Bert Freudenberg b...@freudenbergs.dewrote:

 On 07.12.2009, at 21:54, Dave Bauer wrote:

 On Sun, Dec 6, 2009 at 7:22 PM, Gerald Ardito gerald.ard...@gmail.comwrote:

 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!)
 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 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 dave.ba...@gmail.com wrote:



 On Mon, Dec 7, 2009 at 4:13 PM, Bert Freudenberg b...@freudenbergs.dewrote:

 On 07.12.2009, at 22:08, Dave Bauer wrote:

 On Mon, Dec 7, 2009 at 4:04 PM, Bert Freudenberg b...@freudenbergs.dewrote:

 On 07.12.2009, at 21:54, Dave Bauer wrote:

 On Sun, Dec 6, 2009 at 7:22 PM, Gerald Ardito 
 gerald.ard...@gmail.comwrote:

 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!)
 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