Re: [Sugar-devel] [Server-devel] Fwd: Regarding adding a moodle plugin

2009-03-25 Thread Vamsi Krishna Davuluri
That would be a killer addon! I could just use libxmlrpc and write an
activity which sends the pdfs to the php data warehouse server side, also
prompt for the user's login.
But wouldn't it be really the same thing as logging in from the moodle's
plugin page, and sending those files? I guess it kills one layer of tasks,
taking your suggestion I can directly queue them for printing. :D without
again manually uploading them. And resend the status to the journal.



On Wed, Mar 25, 2009 at 3:51 PM, Martin Langhoff
martin.langh...@gmail.comwrote:

 2009/3/24 Vamsi Krishna Davuluri vamsi.davul...@gmail.com:
  Much appreciated!
  I have updated my proposal, that actually makes the process much easier.
  http://wiki.sugarlabs.org/go/Print_Support

 Also -- if your print queue is based on the Journal, we can add a
 simple xml-rpc point of entry to Moodle to receive the PDFs, and teach
 the Journal to talk to it directly.

 cheers,




 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

___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [Server-devel] Fwd: Regarding adding a moodle plugin

2009-03-25 Thread Martin Langhoff
Well, thought that your workflow was to

1 - use activity X to create / get the document to print
2 - hit a print button or option in the Journal - this creates a PDF
3 - go to Browse.xo and visit the Local schoolserver which shows the Moodle UI
4 - find the print page, and upload the PDF to it

with an xmlrpm point of entry, we cut #3 and #4. And we can pass the
appropriate credentials to moodle, avoiding it askingfor a username
and password.

Having the webbased upload files to print UI will be needed as a
fallback for users (teachers or others in the schools) that use a
non-XO / non-Sugar laptop and need to print.


m


On Wed, Mar 25, 2009 at 12:18 PM, Vamsi Krishna Davuluri
vamsi.davul...@gmail.com wrote:
 That would be a killer addon! I could just use libxmlrpc and write an
 activity which sends the pdfs to the php data warehouse server side, also
 prompt for the user's login.
 But wouldn't it be really the same thing as logging in from the moodle's
 plugin page, and sending those files? I guess it kills one layer of tasks,
 taking your suggestion I can directly queue them for printing. :D without
 again manually uploading them. And resend the status to the journal.



 On Wed, Mar 25, 2009 at 3:51 PM, Martin Langhoff martin.langh...@gmail.com
 wrote:

 2009/3/24 Vamsi Krishna Davuluri vamsi.davul...@gmail.com:
  Much appreciated!
  I have updated my proposal, that actually makes the process much easier.
  http://wiki.sugarlabs.org/go/Print_Support

 Also -- if your print queue is based on the Journal, we can add a
 simple xml-rpc point of entry to Moodle to receive the PDFs, and teach
 the Journal to talk to it directly.

 cheers,




 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





-- 
 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
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [Server-devel] Fwd: Regarding adding a moodle plugin

2009-03-25 Thread Vamsi Krishna Davuluri
Agreed, I thought the same thing, but in my excitement I couldn't put it out
coherently. :P

The activity actually makes the transfer simple for the kids.

And I see your point for the alternative (no XO case), I will implement it !

Thanks!
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [Server-devel] Fwd: Regarding adding a moodle plugin

2009-03-25 Thread Martin Langhoff
2009/3/25 Vamsi Krishna Davuluri vamsi.davul...@gmail.com:
 And I see your point for the alternative (no XO case), I will implement it !

Cool. Still makes sense to build it within moodle (those other users
need to have a moodle account for many other things anyway...)

Sounds like the plan is taking shape -- you'll add this new info to
the wikipage? ;-)

cheers,



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
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [Server-devel] Fwd: Regarding adding a moodle plugin

2009-03-25 Thread Vamsi Krishna Davuluri
Yep, I will! In fact will be on it now.
Thanks, btw while replying back here, do I add your email id to To or just
send to sugar-devel?


On Wed, Mar 25, 2009 at 5:11 PM, Martin Langhoff
martin.langh...@gmail.comwrote:

 2009/3/25 Vamsi Krishna Davuluri vamsi.davul...@gmail.com:
  And I see your point for the alternative (no XO case), I will implement
 it !

 Cool. Still makes sense to build it within moodle (those other users
 need to have a moodle account for many other things anyway...)

 Sounds like the plan is taking shape -- you'll add this new info to
 the wikipage? ;-)

 cheers,



 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

___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [Server-devel] Fwd: Regarding adding a moodle plugin

2009-03-25 Thread Martin Langhoff
On Wed, Mar 25, 2009 at 12:56 PM, Vamsi Krishna Davuluri
vamsi.davul...@gmail.com wrote:
 Yep, I will! In fact will be on it now.
 Thanks, btw while replying back here, do I add your email id to To or just
 send to sugar-devel?

Up to you. I am on sugar-devel. If you send it to me as well as to
sugar-devel, my MUA shows that it is addressed specifically to me, so
there is a higher chance I will reply to it :-)

cheers,


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
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [Server-devel] Fwd: Regarding adding a moodle plugin

2009-03-25 Thread Vamsi Krishna Davuluri
Thank you Martin! :D
I have edited my wiki page to reflect them!

On Wed, Mar 25, 2009 at 5:35 PM, Martin Langhoff
martin.langh...@gmail.comwrote:

 On Wed, Mar 25, 2009 at 12:56 PM, Vamsi Krishna Davuluri
 vamsi.davul...@gmail.com wrote:
  Yep, I will! In fact will be on it now.
  Thanks, btw while replying back here, do I add your email id to To or
 just
  send to sugar-devel?

 Up to you. I am on sugar-devel. If you send it to me as well as to
 sugar-devel, my MUA shows that it is addressed specifically to me, so
 there is a higher chance I will reply to it :-)

 cheers,


 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

___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel