Download VS SCORM 1.2 RTE Rev 1.1

This release corrects an error in ‘getValue.php’ where the ‘readElement’ function is incorrectly called with 2 input parameters.

You can download the code bundle using this link.

 

For instructions on using this code, please see this page.

Posted in Run Time Environment | Leave a comment

Download VS SCORM 1.2 Manifest Reader Rev 1.0

This code bundle is a LOT simpler than the bundle for the VSSCORM 1.2 RTE (Run-Time Environment) that I posted a couple of months ago. It consists of 2 files:

  • subs.php which contains all of the code that does the parsing and analysis of the manifest file
  • index.php which simply provides you with a way to run the code and display the output in a test environment

In other words, if you wanted to incorporate the code into a real system, you would only need the content of subs.php.

The system requirements for running this code are pretty simple – you just need to have PHP 5 or above (PHP 4 doesn’t support the DOM extension that I’m using to parse the XML manifest file).

To help you get started, I’ve also included the 2 sample manifest files that I’ve been using.

You can download the code bundle using this link.

 

Posted in Content Aggregation Model | 3 Comments

Step 42 – Testing the Manifest File Reader

Time to see if everything works. I’m going to test my code using two different manifest files:

To be honest, I don’t think I’ve ever come across a multiple-SCO content package in a real application, but I do need to be able to handle it if I do stumble across it.

Continue reading

Posted in Content Aggregation Model | 1 Comment

Step 41 – SCO Data = Item Data + Resource Data

Finally, I’ll add the code which connects the item and resource data together to create the data that the “imaginary” LMS needs.

Continue reading

Posted in Content Aggregation Model | 4 Comments

Step 40 – Reading the Items List

At last, an easy bit. I’m going to add the following code to my readIMSManifestFile() function.

Continue reading

Posted in Content Aggregation Model | 3 Comments

Step 39 – Resolving Resource Dependencies

This is the new routine that I’m going to use to resolve the resource dependencies in the package manifest file.

Continue reading

Posted in Content Aggregation Model | Leave a comment

Step 38 – Revisiting the Manifest File Format

I’m going to re-examine the XML format that the SCORM 1.2 CAM specifies for the manifest file. As a reminder, here’s the <resource> tag that I’m trying to understand.

Continue reading

Posted in Content Aggregation Model | Leave a comment

Step 37 – The readIMSManifest Function

Time to start writing the readIMSManifestFile() function. Let’s create the basic structure.

Continue reading

Posted in Content Aggregation Model | Leave a comment

Step 36 – Rewriting the Manifest Reader

In my last two posts, I figured out how to read resource and organization data from the manifest file that describes the content package. But the code that I wrote really wasn’t that solid, and wouldn’t be particularly easy to integrate with my “imaginary” LMS. So I’m going to take the lessons that I learned there and see if I can create something a little better.

Continue reading

Posted in Content Aggregation Model | Leave a comment

Step 35 – Reading the IMS Manifest File – Organizations

Having read the resource information from the manifest file, I’m going to extend the code to read the organization information. As a reminder, the <organizations> section of my manifest file looks like this.

Continue reading

Posted in Content Aggregation Model | Leave a comment