parse moodle resources