Import courses to

Online Education Providers can configure automatic import and sync of their courses from company website. As is integrated with My Education Path, courses can be automatically published there (if an organization is published in education providers list)

The provider must have list of courses on some public web resource in XML format (courses feed). It can be static XML file or some server side script that generates the feed dynamically.

LMS systems built on Moodle can use our Moodle plugin "". The plugin is easy to install and publish courses in the directory. Also the plugin allows to get feedback from students about a course. Read more about this plugin.

Get http link to XML feed and save the link on Profile->Import courses page. After this your courses list will be checked everyday and your list of courses on this site will be autoupdated if there are any changes in XML feed.

The feed format is:

<?xml version="1.0" encoding="utf-8"?>
    <name>My Company Name</name>
    <description><![CDATA[Description of my company]]></description>
    <title>Course title 1</title>
    <description><![CDATA[Course description 1]]></description>
    <startdate>10 Jan 2013</startdate>
    <duration>4 weeks</duration>
    <instructor>Course instructor</instructor>

Correct working static XML source can be found here

Example of generating of XML courses feed with PHP

//prepare information. There can be extraction from a database
$vendorname="My Company Name";
$vendordescription='Description of my company';

//list of courses. it can be loaded from thw DB or from other source
		'title'=>'Course title 1',
		'description'=>'Course description 1',
		'startdate'=>'10 Jan 2013',
		'duration'=>'4 weeks',
		'instructors'=>array('Course instructor'),
		'price'=>''//empty price means free.
		'title'=>'Course title 2',
		'description'=>'Course description 2',
		'tags'=>array(),//example fo a course without tags
		'startdate'=>'any time',
		'duration'=>'8 weeks',
		'instructors'=>array('Course instructor1','Course instructor2'),
		'title'=>'Course title 3',
		'description'=>'Course description 3',
		'startdate'=>'any time',
		'duration'=>'5 weeks',
		'skills'=>array()//example of a course without skills defined

//inlude the class to generate XML 

$xml = new XmlWriterPure();//xml generator object

$xml->push('coursesfeed');//create root node

	$xml->push('vendor');//create vendor description node
	$xml->pop();//close vendor tag
	//add courses
	foreach($courseslist as $course){
		$xml->push('course');//create course node
		if(isset($course['tags']) && is_array($course['tags']))
			foreach($course['tags'] as $tag)
		if(isset($course['skills']) && is_array($course['skills']))
			foreach($course['skills'] as $skill)
		if(isset($course['instructors']) && is_array($course['instructors']))
			foreach($course['instructors'] as $instructor)
		$xml->pop();//close course node

$xml->pop();//close root node

print $xml->getXml();//output XML

Download PHP example of XML feed source