[Xerte] Issue with SCORM and Moodle

Ron Mitchell ronm at mitchellmedia.co.uk
Fri Nov 5 12:29:13 GMT 2010


Here's the relevant post I think...

 

 

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: 16 October 2010 07:54
To: 'Xerte discussion list'
Subject: RE: [Xerte] Difficulties in retrieving the results of a Xerte
questionnaire (scorm) in Moodle - problem resolved

 

OK I did some further checking and here are my conclusions/comments....

 

1. When using the test suite with an LO stored locally you must set the
Flash Player Global Security Settings to allow that path otherwise
LMSSetvalue etc doesn't register. With the path set e.g.
http://mitchellmedia.co.uk/img/tgrab-rX.png then with Nuri's LO the setvalue
is shown in the test suite e.g. http://mitchellmedia.co.uk/img/tgrab-fF.png

 

2. However the LO imported as Scorm into Moodle wasn't storing scores in the
Moodle gradebook and yet I had previous LO's from 2007 which were! Wasted
loads of time tracking down what turned out to be a very simple solution!
Having found the cause solution I think as punishment either Julian or Pat
or both should write 1000 lines: camelcasing bad - lowercasing good! ;-)

 

Line 3 of scormRLO.htm revealed the problem. I tracked back through early
versions of toolkits and at some point apiwrapper.js turned into
APIWrapper.js whereas line 3 of scormRLO.htm seems to have always referred
to apiwrapper.js

 

So I guess on case insensitive systems this hasn't been a problem but I
suspect most Moodle installations are running with case sensitivity. There
are lots of different ways of changing that (file system, mod_spelling,
mod_rewrite etc) but that would be a bit drastic! So easiest solution change
APIWrapper.js to apiwrapper.js or change line 3 of scormRLO.htm to point to
APIWrapper.js

 

I think the easiest is to change APIWrapper.js to apiwrapper.js and to fix
this for future exports from your XOT installation change the file in
yourtoolkitsinstall\modules\xerte\scorm\ APIWrapper.js

 

To fix any existing scorm LO's already imported into Moodle visit the files
area in your course, open the moddata\scorm folder and then the folder
representing the relevant scorm LO e.g. moddata\scorm\4\ and rename
APIWrapper.js to apiwrapper.js

 

HTH

Ron

 

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Chris Jack
Sent: 05 November 2010 11:48
To: Xerte discussion list
Subject: Re: [Xerte] Issue with SCORM and Moodle

 

Hi Patrick,

 

Thanks for getting back to me,

 

I cant seem the locate the thread you where meaning, do you have a link?

 

cheers,

 

Chris 

 

On Fri, Nov 5, 2010 at 10:44 AM, Patrick Lockley
<Patrick.Lockley at nottingham.ac.uk> wrote:

This was covered in the list a week or so ago, so give the list a search
from www.nottingham.ac.uk/xerte and the answers in there

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Chris Jack
Sent: 05 November 2010 10:36
To: Xerte discussion list
Subject: [Xerte] Issue with SCORM and Moodle

 

Hi,

 

There seems to be an issue with using SCORM with XERTE and Moodle.

 

We have run a few tests and the issue seems to be on the XERTE side,

 

Please find some feedback from our developer below,

 

After spending some time looking into why xerte doesn't seem to show a score
in the moodle grade book I think I've figured out why.

 

Basically the output from xerte doesn't work... The package template that
xerte spits out has a spelling error in the script tag that imports the
scorm api wrapper, meaning it has no way of communicating moodle's scorm
engine. 

 

After I patched it and tried again it seems that no communication is even
being attempted by the xerte package other than to start and stop the
session. This means it doesn't even suggest anything about a scoring
mechanism or setting a lesson status. Although technically both of those
values aren't required together at least one of them needs to be present
otherwise there is nothing to report. If would like me to explain how moodle
makes use of these values then let me know as it is a bit
complicated/lengthy to do by email. 

 

Thanks for any help,

 

Chris

 

This message and any attachment are intended solely for the addressee and
may contain confidential information. If you have received this message in
error, please send it back to me, and immediately delete it. Please do not
use, copy or disclose the information contained in this message or in any
attachment. Any views or opinions expressed by the author of this email do
not necessarily reflect the views of the University of Nottingham. 

This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation. 


_______________________________________________
Xerte mailing list
Xerte at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte

This message and any attachment are intended solely for the addressee and
may contain confidential information. If you have received this message in
error, please send it back to me, and immediately delete it.   Please do not
use, copy or disclose the information contained in this message or in any
attachment.  Any views or opinions expressed by the author of this email do
not necessarily reflect the views of the University of Nottingham.

This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.



 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20101105/ad28ed45/attachment.html


More information about the Xerte mailing list