Archive for the ‘SCORM’ Category

GSOC update

Thursday, July 26th, 2012

We’re just past the half way mark of GSOC and Kanika and Mayank have been hard at work!

Kanika has pushed a range of improvements for the plagiarism API into Moodle 2.4 including support for Online text in assignments, Forum posts and the Workshop module. She has been working on adding support for these new api hooks into the Urkund plagiarism plugin and may have time to add support to the other plugins in future.

Mayank has been rewriting the way navigation works in SCORM – he has a pretty big patch incoming for SCORM which will hopefully enable us to pass a few more SCORM 2004 ADL Tests – we also have some special courses loaded on qa.moodle.net that contain all the ADL test package for both SCORM 1.2 and 2004 so we hope to run the test harness a lot more frequently when making changes to SCORM code.

Thanks to Kanika and Mayank for their valuable contribution!

GSOC 2012 Projects

Monday, April 23rd, 2012

Moodle is lucky to have 4 successful GSOC projects this year – hopefully this will be a rewarding experience for the successful students and will produce some useful code for Moodle! – Thanks to Google for providing the funding to allow this to happen!

The quality of applicants varied a lot this year – we had one applicant who copied the full Wikipedia Moodle page and submitted that as their proposal. There were several students who put a great effort into their applications and missed out this year – hopefully some of these may still engage further in the community – we appreciate the effort you put into your applications and the patches you provided as part of your application process!

GSOC 2012

Sunday, March 18th, 2012

GSOC is here again and Moodle has been approved as a participating organisation. GSOC students get USD $5,000 for participation in the program(thanks Google!).

Depending on the number of slots allocated to Moodle and the quality of the applicants, I’m planning to run 2 projects this year.

SCORM 2004 – building on the work from our GSOC 2011 student Mayank, I’d like to get some more progress towards SCORM 2004 compliance – there are a large number of tasks to complete 2004 and I may take on more than one student to work on this (depending on slots/applicants) If you know of any students good with Javascript and PHP – make sure you point them towards GSOC.

Improving Plagiarism API – The plagiarism api currently only hooks into the upload assignment types – I’ve been planning to add hooks into other Moodle modules but haven’t quite got round to it – this project will involve adding new hooks to other Moodle modules and probably some work on some plagiarism plugins like Crot.

For more info see: http://docs.moodle.org/dev/Projects_for_new_developers

 

Moodle 2.2 SCORM Reporting improvements and GSOC

Monday, August 15th, 2011

Ankit Agarwal has been working on restructuring the SCORM reporting code as part of a GSOC project this year. This now allows the standard Moodle plugin functionality to the reporting interface in SCORM – developers can write their own SCORM report plugins and drop them in place in the same way installation of a block/module/standard plugin is done in Moodle.

The initial work involved a large amount of restructuring and very limited (if any) differences in the UI to users…. but Ankit has just finished a new “interactions” report that displays SCORM interactions in a more readable manner – This report is currently available in MDL-28277 and will probably become part of Moodle 2.2 core very soon. This interactions report is something that has been requested a lot in the forums and will hopefully allow teachers to make a lot more sense out of the data that SCORM presents.

Kudos to Ankit for his hard work on this project – it will be interesting to see any new SCORM report plugins that are developed and hopefully the new interactions report provides a useful addition to the SCORM reporting in Moodle! Thanks heaps to Google for funding Ankit’s time to work on the project!

Moodle 2.2 SCORM 2004 and GSOC

Monday, August 15th, 2011

Mayank Gupta has been working on a new test harness that allows us to automatically run the SCORM ADL 1.2 and 2004 tests as part of a GSOC project this year. This also means we can start to run the 1.2 and 2004 tests during Moodle’s weekly integration review to make sure that any new code hasn’t broken SCORM compliance. Previously, running the tests has been a very time consuming task – even for SCORM 1.2 with just 2 SCORM packages to test… SCORM 2004 has 189 different SCORM packages that need testing!

As part of Mayank’s work a small number of SCORM 2004 issues have been resolved in Moodle 2.2 and hopefully with the automated test harness in place it will help to progress with other SCORM 2004 bugs.

If you would like to keep track of Moodles SCORM 2004 progress, add yourself as a watcher to MDL-7068 where each SCORM 2004 test has been added as a task.

If you would like to install the test harness and check it out in action – see the instructions here:
http://docs.moodle.org/dev/SCORM_Test_Harness#Running_ADL_SCORM_Test

One of the challenges we faced was loading 189 SCORM packages into a Moodle Course – I knocked up a quick script to import bulk SCORM packages that is available on MDL-17822 if anyone is interested!

Mayank’s work has been a valuable contribution and I’m personally appreciative of the effort he put into the test harness – it’s going to save me a LOT of time – and hopefully help to prevent any SCORM regressions from appearing in new versions of Moodle! – and thanks heaps to Google for helping to fund Mayank’s time to do the work!

IE7 and XMLHttpRequest

Wednesday, July 13th, 2011

I’ve spent a big part of the last week of my time lost in the abyss of IE 7 and XMLHttpRequest as part of MDL-28295 – it seems that under certain conditions a call to XMLHttpRequest crashes IE 7 when called from a child window….

Posting here in case someone else runs into this weird bug in the hope that it might save someone some time!
Pseudo code:
httpReq = new XMLHttpRequest();
httpReq.open(“POST”, url,false);
httpReq.setRequestHeader(‘Content-Type’, ‘application/x-www-form-urlencoded’);
httpReq.send(param);

When “param” contains something like this it works fine!
id=&a=11

but when “param” contains something like this – it crashes IE 7:
id=&a=11&cmi_corelesson_status=incomplete&cmicoreexit=suspend&cmi_suspend_data=|&attempt=1&scoid=28

Initially I thought the encoding might be the issue and encoding the params using encodeURI() seemed to work – but further testing found it was still an issue.

The fix was to re-structure the code so that it didn’t call the code from a child window but from within the “parent” window…. crazy….

SCORM and GSOC

Monday, April 25th, 2011

We’ve just accepted 2 GSOC students to improve the SCORM module in Moodle.

Mayank Gupta will be working on a SCORM Test Harness to allow us to automatically run the SCORM ADL tests on the latest code – this has previously been a time consuming process and can only be performed in IE – this will greatly improve our existing code review process and help to identify the issues with SCORM 2004 support and allow ongoing development without breaking compatibility with previous tests, for more information on this see MDL-26912 – a secondary task for Mayank is to add tracker issues for the failing SCORM 2004 tests and if he has time suggest fixes for a few of them as well.

Ankit Kumar Agarwal will be working on improving the quiz reporting in SCORM – presenting the responses to quiz questions (if the SCORM package reports them back to Moodle) in a more readable manner – for more information on this see MDL-27256 , a secondary task for Ankit(if he has time) is to look at some of the SCORM 2004 tests that are failing and suggest fixes for them.

Moodle/SCORM and GSOC

Tuesday, March 22nd, 2011

Moodle is part of this years Google Summer of Code – this program pays students to work on open source software products for about three months over their holiday break. I’m hoping to find/mentor a student to write a test harness to run the 1.2 and 2004 ADL tests (and fix a few 2004 bugs while they’re at it!) – For more information on the GSOC project see: http://tracker.moodle.org/browse/MDL-26912

Hopefully this will get us a little bit closer to having full SCORM 2004 support directly in Moodle.

SCORM Bug update

Tuesday, July 13th, 2010

In preparation for Moodle 2.0 we’ve been going through all the outstanding SCORM bugs in the tracker and have merged many of the fixes into 1.9Stable – we’ve closed over 30 bugs in the past 3 weeks with a range of issues from grading to support of buggy SCORM packages. Piers has also been working on a new SCORM player to hopefully fix a range of issues people have had with the old one – it’s based on the new player that Petr Skoda wrote for the new IMSCP Module in Moodle 2.0.

2.0 is looking like a great release!

Moodle and SCORM 2004 – certified already?

Sunday, November 1st, 2009

now that I’ve got your attention…. The guys at Rustici have written an plugin for Moodle to connect to their Commercial hosted SCORM player – which is SCORM Certified for 1.2 and 2004

Bascially, they “host” your SCORM object on their SCORM Cloud, and the Moodle plugin redirects the user to their site, and allows their site to pass back information like the grade and duration data. The Moodle module is free to download, and you pay Rustici for “hosting” your SCORM objects. You can create a free demo account to test their SCORM Engine but to use on a production site, you will need to pay them for the hosting.

The Moodle code and the SCORM Cloud are still in beta, (I’ve just had a quick look through the beta code and reported a couple of small issues) but in the near future, this could be an easy answer to those RFP’s that require a SCORM 2004 checkbox to be ticked.

something like this could be used in those RFP’s(and in the moodledocs):
Moodle 1.9.5 is SCORM 1.2 Compliant and Certified, it supports some SCORM 2004 content, but if SCORM 2004 certification is required then the commercial Rustici SCORM Cloud can be used to host SCORM objects that require full SCORM 2004 support

With the availability of the Rustici engine at an affordable price, the urgency for getting the SCORM module in Moodle SCORM 2004 compliant/certified has definately decreased.