○ The import / export file of a content library (created after August 2024)
Since release 106 some adjustments have been made regarding file management and the Files tab of the content library. With these adjustments the structure of the export and import file of a content library has also changed.
Do you have a content library created before the 6th of August 2024? Then read the article below about the structure of the import/export file of a content library:
○ The import / export file of a content library
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 for content libraries created after the 6th of August 2024 (since release 106).
The folders and files
The name of the ZIP file is not important. The top level of the ZIP file contains the folder media, 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 media
The folder media should be in the top level of the content library. It contains a folder with the (media) 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 folders with files, like documents images and videos. These are the files that you can use in or are used in content parts and questions in the content library.
Content parts (HTML)
Content parts that you create in aNewSpring are exported as separate HTML files per content part . The file name will be the ID of the content part. If the content part doesn't have an ID, the HTML file of the content part will be the name of the content part.
There is more information about these HTML files in this article: ○ Content part HTML files in an import / export
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.
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.