[Xerte] Re: Moodle, scorm and Xerte (Tom Reijnders)

Ron Mitchell ronm at mitchellmedia.co.uk
Wed May 18 15:06:55 BST 2011


Are you using an old version of Xerte/XOT?
Looking at your example it looks like the apiwrapper.js issue see copy of
previous post with instructions below:

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

-----Original Message-----
From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Janine Dantzie
Sent: 18 May 2011 09:35
To: xerte at lists.nottingham.ac.uk
Subject: [Xerte] Re: Moodle, scorm and Xerte (Tom Reijnders)

We are currently using Moodle 1.9.7 and yes I'm happy to share the zip, it
is just a simple 1 question Xerte for testing with our Moodle.

Thanks
------------------------------------------------------
Message: 1
Date: Tue, 17 May 2011 17:17:04 +0200
From: Tom Reijnders <reijnders at tor.nl>
To: Xerte discussion list <xerte at lists.nottingham.ac.uk>
Subject: [Xerte] Re: Moodle, scorm and Xerte
Message-ID: <4DD29170.2040309 at tor.nl>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

What version of Moodle (and would you be willing to share .zip package?)

Op 17-5-2011 16:52, Janine Dantzie schreef:
> thanks Tom,
>
> I have used the online toolkits to produce a Scorm tracked quiz, but 
> once I uploaded the published Scorm package to our Moodle it did not 
> appear to track anything.
>
> Any ideas?
>
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.




More information about the Xerte mailing list