Note: You are currently viewing documentation for Moodle 2.3. Up-to-date documentation for the latest stable version is available here: IMS content package.

IMS content package: Difference between revisions

From MoodleDocs
m (removing Moodle version template)
(→‎IMS content package repository: no longer supported directly in 2.0)
Line 7: Line 7:
==IMS content package repository==
==IMS content package repository==


The IMS content package repository enables access to a repository of IMS and SCORM packages within Moodle.
1.9 contained a feature called the IMS Repository - this feature had a range of bugs and has not been ported to Moodle 2.0 at this stage.


Using the repository will save disk space (and any corresponding backup resources if you copy the filesystem as part of your backup strategy) compared to uploading content packages directly into a course. The repository only needs an unzipped copy of the package, whereas within a course there will be the unzipped copy, plus two zipped copies just taking up space.
For more details see MDL-28579
 
===Using the repository===
 
The repository is disabled by default. It may be enabled as follows:
 
# Find repository_config.php in ''moodle/mod/resource/type/ims'' and change <code>$CFG->repositoryactivate = false;</code> to <code>$CFG->repositoryactivate = true</code>
# Create a folder named ''ims_repository'' in the webroot or somewhere underneath your webroot.
# Change <code>$CFG->repository = "C:/public/www/html/ims_repository";</code> to point to this folder on your file system
# If your ims_repository is not located directly in your webroot, edit <code>$CFG->repositorywebroot = "/ims_repository";</code> to point to the location of your repository.
 
Content packages should be extracted to the folder ''ims_repository''.
 
To use a repository package in a course:
# Create/edit an IMS CP resource.
# Click the "Browse repository" button, opening a window listing the packages in ''ims_repository''. If you can't see your content package, check it's in the right directory and has been unzipped.
# Find your package in the list and click Deploy, and you get a chance to preview the resource. Close the window.
# Click the "Browse repository" button again, and then and Choose the package.
# Save your IMS CP resource.
 
To enable the use of the repository from SCORM activities, the configuration strings mentioned above must be inserted in config.php file.


==See also==
==See also==

Revision as of 21:37, 4 August 2011


IMS is a body which helps define technical standards for various things, including e-learning material. The IMS Content Packaging specification makes it possible to store chunks of material in a standard format which can be re-used in different systems, without having to convert the material into new formats.

The IMS content package in Moodle 1.6 enables such content packages to be uploaded and included in Moodle courses. There are various options for displaying content in a pop-up window, with a navigation menu or buttons etc. In addition, the resource type supports an optional repository, enabling content packages to be shared between courses.

IMS content package repository

1.9 contained a feature called the IMS Repository - this feature had a range of bugs and has not been ported to Moodle 2.0 at this stage.

For more details see MDL-28579

See also

Using Moodle forum discussions: