This plugin allows to import directly an edX course archive into Moodle. This is still work in progress and for now only the basic use case is covered.
The process is as following:
- The archive is uploaded in a temporary folder and uncompressed
- An intermediate edX model is built in memory
- We then generate a Moodle XML backup fileset that we import in Moodle
We might use this development to add a new backup converter (see the moodle backup: backup/converter).
Just add the source code into the local/edximport folder
The converted is split into several modules:
- edx (classes/edx): the intermediate in-memory model matching the edX archive.
- moodle backup archive builder (classes/converter): this will build another intermediate model / data structure that will then generate Moodle XML backup via mustache templates.
Currently we convert a serie of static (html or video unit) into a book so we have a reasonable amount of activities in a course.
- We currently convert a series of vertical into a Moodle book to mimic the structure from edX. We might just use a specific course format and use module indentation so we don't have to convert a series of "static html" into a book.