Skip to content

How do I create a content package?

The following instructions show you how to create or import a content package in OpenOlat and include it in your OpenOlat course.


What is a Content Package (CP)?

A Content Package (CP) is used in e-learning to create learning content or tests as self-contained packages.

It is a standardized format. This means that CPs from other learning platforms can also be imported into OpenOlat. Vice versa, you can use CPs created in OpenOlat in other learning platforms that support the CP format.

The most widely used format was defined by IMS Global. It uses an XML manifest file called imsmanifest.xml that describes the structure of the content package. This structure description file is packed together with the learning content (HTML files, image files) in a ZIP file.


Where are Content Packages used?

Content Packages can be included in an OpenOlat course element or used separately. As a rule, CPs are integrated into a course. One and the same CP can be used in several courses.

Example:
Create an introduction to your topic as a content package. You can then include the introduction both in a course for beginners and for repetition in more advanced courses. Or, use the content package as a stand-alone learning resource.


In the following we show how to include a content package within an OpenOlat course. If you have not yet created a course, the chapter "How do I create my first OpenOlat course" tells you how to proceed before creating and embedding your content package using the following instructions.


How does a Content Package (CP) get into OpenOlat?

There are basically two possibilities:

  • import of a CP or
  • creation in OpenOlat

Step 1: Open course editor and insert course element "CP learning content"

a) Go to Authoring and search there for the course in which the CP learning content is to be inserted.

Search term Content Package in the search field, below it the course found that the CP learning content goes into, search field and course row highlighted

b) Open the desired course in the course editor: Course > Administration > Course editor.

c) Select the position in the course menu where the course element is to be added. Course elements are always inserted below the currently selected course element.

d) Click "Insert course elements" in the editor header and select "CP learning content" in the selection list. Alternatively, type the name of the course element into the "Quick-Add" field.

This adds the course element to the course.

e) Now enter a suitable title in the tab "Title and description" and save the course element.

Important

If you close the course editor already now, no course element with content package will be displayed in the menu because the course element is still incomplete. The learning resource, the CP, is still missing.


Step 2: Create Content Package (Learning Resource)

a) Switch to the "Learning content" tab and click on "Select, create or import CP learning content".

New course element without CP learning content, the Learning content tab and the button Select, create or import CP learning content highlighted, which adds the content package

b) In the dialog that opens, you can

  • create a new content package,
  • select a content package that is already available as a learning resource in OpenOlat,
  • or import a content package that you have as a ZIP file (e.g. by exporting it from another system).

In the following, we assume that you want to create a new content package.

c) Click the "Create" button.

Dialog with the Create button for a new content package, next to it Import file for a ZIP file and below the list of existing CP learning contents to select, Create highlighted

d) Enter a title for your CP learning resource and confirm with "Create".

Mandatory field Title with the entry My first content package, below it Reference, Subjects / Catalog and Administrative access

Done. Now a new learning resource is created. You can now define further settings and design the content.

Tip

Alternatively, a CP learning content (like all other learning resources) can also be created in the authoring area and then integrated in the desired course in the course editor in the tab "Learning content".

This procedure makes it clear that learning resources are cross-course elements and their integration in the selected course is only one of the possible uses.

The same content package can be integrated in several OpenOlat courses and can also be used independently of the course.


Step 3: Editing the Content Package

Note

In OpenOlat there is a separate editor for content packages in the IMS standard. More information about IMS CP can be found at the following address: http://www.imsglobal.org/content/packaging/

However, you can also use another editor to create it and then import the zip file created there.

a) Edit learning resource (open preview)

Open the course editor and click "Edit" in the "Learning content" tab. The "Replace CP learning content" button next to it adds a different content package to the course element instead.

Learning content tab with the selected CP learning content My first content package, the Edit button for the preview highlighted

"Edit" takes you to the preview of your content package. A newly created content package contains a first page with placeholder text.

b) Open the CP editor

Use CP learning content > Administration > Edit content to reach the edit mode of the CP editor. The hatched header indicates it. (However, you are not editing a course here, but a learning resource).

Open Administration menu of the learning resource, the entry Edit content for the CP editor highlighted

You will find here all tools for adding content to the CP learning resource:

  • create new pages within the content package,
  • add images,
  • add links,
  • add videos,
  • ...

Page tree with the page New page, next to it the text editor and at the top the tools Import page, Add page, Copy page and Delete page

Tip

Don't forget to click "Save" at the bottom of the editor!

c) Complete editing of the learning resource

Once you have inserted all the content into the content package, exit the editing mode (hatched header) so that the changes become visible. To do this, click

  • either on the small red cross in the upper right corner
  • or on the title of the learning resource in the breadcrumb.

You will then return to the learning resource view.

CP editor with the title of the learning resource in the breadcrumb and the red cross at the top right, both highlighted

d) Further settings of the CP learning resource

You are still in the learning resource. To the course and the course element CP learning content it is again one step further back.

Before you go back to this level, it is recommended to define further settings in the learning resource first: CP learning content > Administration > Settings. You can always return to the learning resource settings later. Anyone with the role system administrator, administrator, roles manager, user manager or learning resource manager in the organisation of the learning resource also sees the "Quota" tab.

Administration menu with the entry Settings, next to it the tabs Metadata, Info, Share, Quota and Layout that hold the settings of the learning resource, all highlighted

e) Transfer navigation into the course menu

Within a content package there are usually different pages and also subfolders. That means, within the content package it needs and has a navigation.

This navigation within the content package can be transferred to the menu of the OpenOlat course. This simplifies the navigation for the learners.

In a new course element, the option "Show CP navigation within the course menu" is already activated. You find the option in the course editor in the "Learning content" tab of the course element. If you do not want to show the navigation in the course menu, deactivate the option and save.

Learning content tab with the Display section, the activated option Show CP navigation within the course menu highlighted, which adds the pages of the content package to the course menu


Step 4: Publish course and change status to "Published"

To do this, proceed as described in "How do I create my first OpenOlat course".

The content package is now included and participants can read the content.


Further information

How do I create my first OpenOlat course? >
Course Element "CP learning content" >
Create CP learning content >

To the top of the page ^