The ZIP file that you can use to import as internal content has the same structure as the file that you get when you export a content library. This article explains the technical details of this file.

The folders and files

The name of the ZIP file is not important. The top level of the ZIP file can contain the folders content, images and sounds, SCORM packages (ZIP files), the content part files (HTML), certificates (PDF), question files (items.xml and multiple TXT files) and the glossary (glossary.csv).


Folder content

The folder "content" should be in the top level of the content library. It contains a folder with the folder name of the content library. This name is often similar to the name of the content library, but not necessarily the same. You can find the folder name by going to the Settings tab of a content library, and the Folder name will be shown there.

Inside this folder, there can be files and other folders with files. These are the files that you can use in/are used by content parts. For example: images, documents and videos.


Folder images

The folder "images" should be in the top level of the content library. It contains a folder with the folder name of the content library. This name is often similar to the name of the content library, but not necessarily the same. You can find the folder name by going to the Settings tab of a content library, and the Folder name will be shown there.

Inside this folder, there can be files and other folders with files. These will be the images that you use in questions, but they can also be other file types if you use the Plus Editor for questions. For example: images, documents and videos.


Folder sounds

The folder "sounds" should be in the top level of the content library. It contains a folder with the folder name of the content library. This name is often similar to the name of the content library, but not necessarily the same. You can find the folder name by going to the Settings tab of a content library, and the Folder name will be shown there.

Inside this folder, there can be files and other folders with files. These will be sound files that you use in questions, probably MP3 files as they are best supported by browsers.


Content parts (HTML)

Content parts that you create in aNewSpring are exported as HTML files. The file name will be the ID of the content part. If the content part doesn't have an ID, it will be the name of the content part.

There is more information about these HTML files in this article.

linkedContentParts.txt

This file contains a list of which content parts are linked to other content parts. This helps the platform to determine if a content part is allowed to be deleted without breaking other content parts.


Questions

Question data is stored in multiple files:

items.xml

This file contains most question data and is based on the IMS-QTI 1.2 standard. Over the years we have developed custom question types for which we had to divert from the original specification.

If you used the Plus Editor for questions, this will be stored as JSON code inside this file, which is specific to aNewSpring.

terms.txt

This file contains information about which exam term is linked to which question.

caseTexts.txt

This file contains information about which content part is selected as Question info for which question.

internalLinks.txt

This file contains information about which content part is selected as Feedback info for which question.

horizontalAnswers.txt

By default, the answers to Multiple Choice and Multiple Response questions are displayed vertically. This file contains information about which MC and MR questions have the setting enabled to show the answers horizontally.

canvasSizes.txt

This file contains information about the canvas size settings per question.

We can convert a CSV file with questions to the right format (like the files above), so you can import them into your content library.


SCORM packages

SCORM packages are stored as ZIP files in the top level of the content library ZIP file.


Certificates

Certificates are stored as PDF files in the top level of the content library ZIP file.


glossary.csv

This file contains the glossary of the content library.