Problem Deploying IMS Content

Problem Deploying IMS Content

by Scott Danforth -
Number of replies: 9
I want to view a one-page scorm course that I packaged in a scodemo_pif.zip file with an imsmanifest.xml file.

I installed Moodle 1.9 on windows, started it up, added a course, went to add an IMS Content Package resource, read the help on that page, configured repository_config.php as directed, uploaded scodemo_pif.zip, and clicked Choose for that file, and then clicked Save and display.

This takes me to a page with a Deploy button that indicates that the IMS Package is not deployed. When I click Deploy, I'm taken to a page that displays nothing (and seems to do nothing). If I try again, I'm still told that the package is not deployed.

If I break the imsmanifest.xml file by inserting an error, clicking Deploy tells me the XML is invalid. So apparently something is happening. But with valid XML the package remains undeployed and there are no messages to indicate any sort of problem.

I don't know how stable Moodle is in this area. Is this behavior indicative of something I'm doing wrong?

The zip file contains two files: imsmanifest.xml and scodemo.html. Here's the imsmanifest:

<?xml version="1.0"?>
<manifest

identifier="scodemo_pif.zip" version="1"
xmlns="http://www.imsglobal.org/xsd/imscp_v1p1"
xmlns:imsmd="http://www.imsglobal.org/xsd/imsmd_v1p2"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.imsglobal.org/xsd/imscp_v1p1
http://www.imsglobal.org/xsd/imscp_v1p1.xsd
http://www.imsglobal.org/xsd/imsmd_v1p2
http://www.imsglobal.org/xsd/imsmd_v1p2.xsd">

<organizations>
<organization identifier="scodemo course">
<title>SCODEMO -- A Functional, One Page SCORM 1.2 Course</title>
<item identifier="course home page" identifierref="scodemo.html"/>
</organization>
</organizations>

<resources>
<resource identifier="scodemo.html"
type="webcontent"
href="./scodemo.html">
<file href="./scodemo.html"/>
</resource>
</resources>

</manifest>


Average of ratings: -
In reply to Scott Danforth

Re: Problem Deploying IMS Content

by Robert Blomeyer -
Deploy the SCORM module from the "Add and Activity" / "SCORM/IACC" menu.

SCORM and IMS content are handled entirely differently by Moodle.

Also, depending on which packaging standards you used for the SCORM module, Moodle may or may not find it agreeable. I've had best luck with SCORM 1.2 packaging.

BobBl
In reply to Robert Blomeyer

Re: Problem Deploying IMS Content

by Scott Danforth -
Hi Robert,

I noticed other postings in this formum that mentioned using an Activity for SCORM support, and I want to give that a try.

But I didn't know there was a standard way to package SCORM content. That was why I was looking into IMS CP.

I know about the AICC .au file. Is there something like that for SCORM 1.2? Guess I better go look at some more SCORM documents.

Thanks for your help.

-- Scott
In reply to Scott Danforth

Re: Problem Deploying IMS Content

by Robert Blomeyer -
Scott:

The easiest and most "cost effective" way I know of to package SCORM 1.2 content (with content assessments that integrate readily into Moodle 1.9's student management system) is the eXe authoring program from New Zeland.

It is "open source," has reasonably good support and is generally easy to learn. Give it a try. Here's what they say about themselves on their web Front Page:

"The eXe project is developing a freely available Open Source authoring application to assist teachers and academics in the publishing of web content without the need to become proficient in HTML or XML markup. Resources authored in eXe can be exported in IMS Content Package, SCORM 1.2, or IMS Common Cartridge formats or as simple self-contained web pages."

Look here:

http://exelearning.org/

It almost makes module implementation too easy. My single criticism is that eXe's ease of use might tacitly encourage sloppy instructional design. Design your modules first following standard formal conventions (like "backwards design") and then implement using an authoring medium like eXe.

Sorry if I slipped into being a bit pedantic. I took a pledge to stop "lecturing." But old ways of being hardly die. smile

BobBl




In reply to Robert Blomeyer

Re: Problem Deploying IMS Content

by Scott Danforth -
Robert,

I think I remember installing eXe to give it a try. I got an icon on my desktop, but clicking it didn't do anything, and I got scared so uninstalled thoe whole thing. On reflection, I think the problem might have been the fact that my system drive is non-standard (Dsmile. I'll give it another try, putting it on C: this time.

Thanks,
-- Scott.

In reply to Scott Danforth

Re: Problem Deploying IMS Content

by Eloy Lafuente (stronk7) -
Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Peer reviewers Picture of Plugin developers Picture of Testers
Hi Scott,

looking at you manifest... I find two things that can be causing it not to work properly:

  1. The identifiers contain spaces. While this won't cause the IMS-resource to fail, I think those spaces aren't allowed in the identifiers namespace. I'd replace them by hypens or so.
  2. Missing titles. Your unique item in the manifest is missing the title info. And the IMS CP resource requires it. Just add one title tag within the item element and it should work.
Here it's one slightly modified manifest that should work (and validate in tools like reload) fine (changes are in red):

<?xml version="1.0"?>
<manifest

identifier="scodemo_pif.zip" version="1"
xmlns="http://www.imsglobal.org/xsd/imscp_v1p1";
xmlns:imsmd="http://www.imsglobal.org/xsd/imsmd_v1p2";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://www.imsglobal.org/xsd/imscp_v1p1
http://www.imsglobal.org/xsd/imscp_v1p1.xsd
http://www.imsglobal.org/xsd/imsmd_v1p2
http://www.imsglobal.org/xsd/imsmd_v1p2.xsd">;

<organizations>
<organization identifier="scodemo-course">
<title>SCODEMO -- A Functional, One Page SCORM 1.2 Course</title>
<item identifier="course-home-page" identifierref="scodemo.html">
<title>Hello world!</title>
</item>
</organization>
</organizations>

<resources>
<resource identifier="scodemo.html"
type="webcontent"
href="./scodemo.html">
<file href="./scodemo.html"/>
</resource>
</resources>

</manifest>

Hope it helps, ciao smile

P.S.: I'm not 100% sure if the title element is mandatory within items (being specs-strict), but it really sounds necessary to be able to make proper navigation and so on within the package (hence Moodle requires it). Perhaps we could default to something (1,2,3,4...) if the title isn't found?
Average of ratings: Useful (1)
In reply to Eloy Lafuente (stronk7)

Re: Problem Deploying IMS Content

by Scott Danforth -
Eloy,

Thanks so much. The item title did the trick!

The SCORM API adapter is found by the Demo page, and it produces reasonable return codes when exercised. I'm new to Moodle, and it appears from other replies that I might get better SCORM support using an activity (e.g., I notice that cmi.core.student_name is empty, and I'm not sure whether lesson_status or score make sense in this context).

But, I was primarily interested in verifying my understanding of how to package SCORM content with an imsmanifest. And you got me over the speed bump.

Thanks so much for taking the time to help me.

-- Scott.

In reply to Scott Danforth

Re: Problem Deploying IMS Content

by Helen Foster -
Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers Picture of Translators
Thanks everyone for this useful discussion approve which I'm going to move to the resource module forum (thinking that IMS packages are a resource type in Moodle) so that others can easily find it. I've also added a link to the resources FAQ.
In reply to Scott Danforth

Re: Problem Deploying IMS Content

by Gloria Bentley -

I have set up my page as a Topics page because I'm deploying several types of content, some of which is SCORM (authored with Articulate). However, there is no drop-down option in "Add an Activity" for SCORM.

Is there something wrong with the set-up?

In reply to Gloria Bentley

Re: Problem Deploying IMS Content

by Mario Santonastaso -

While logged in as an Admin on the Front Page on the left under Administration, there will be a link to Modules> Activities>Manage activities. You can hide or unhide activities there-assuming SCORM is there to unhide.