-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy pathcourse-sample.xml
137 lines (124 loc) · 5.26 KB
/
course-sample.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
<import xmlns="http://educations.com/XmlImport" version="3.0">
<provider uniqueIdentifier="sample">
<locations />
<courses>
<!-- This is the minimal valid course node. While valid for the XML schema, this course will not automatically published. -->
<course uniqueIdentifier="course-00" name="Minimal course" courseType="Course">
<events />
<contentFields />
</course>
<!-- This is a course with a description. The description can contain HTML tags and is required to be published. -->
<course uniqueIdentifier="course-01" name="Course 01" courseType="Course">
<contentFields>
<field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="default" name="description">
<![CDATA[This is the description of the course. A course needs to have a description to be published.]]>
</field>
</contentFields>
<events />
</course>
<!-- This is a course with a link to the specific page of the course on the partner's site. -->
<course uniqueIdentifier="course-02" name="Course 02" courseType="Course">
<link>https://www.educationsmediagroup.com/statistics</link>
<contentFields />
<events />
</course>
<!-- This is a course with the total number of credits specified. This is typically relevant for university programs. -->
<course uniqueIdentifier="course-03" name="Course 03" courseType="University Program">
<credits>180</credits>
<contentFields />
<events />
</course>
<!-- This is a course with some keyword specified. There is no limit to the amount of keywords a course can have. -->
<course uniqueIdentifier="course-04" name="Course 04" courseType="Course">
<keywords>
<keyword>keywords</keyword>
<keyword>course</keyword>
</keywords>
<contentFields />
<events />
</course>
<!--
This is a course with information about how to digitally apply specified.
The URL might or might not be the same as the one specified in the <link /> node.
The start and the end date are optional.
-->
<course uniqueIdentifier="course-05" name="Course 05" courseType="Course">
<application url="https://www.educationsmediagroup.com/statistics" startDate="2018-12-01" endDate="2018-12-31" />
<contentFields />
<events />
</course>
<!--
This is a course with information about who should receive the lead our platform generates specified.
-->
<course uniqueIdentifier="course-06" name="Course 06" courseType="Course">
<informationRequestSettings>
<emailReceivers>
<receiver email="[email protected]" />
<receiver email="[email protected]" />
</emailReceivers>
</informationRequestSettings>
<contentFields />
<events />
</course>
<!--
This is a course with the related categories specified.
-->
<course uniqueIdentifier="course-07" name="Course 07" courseType="Course">
<categories>
<category name="Category 1" />
<category name="Category 2" />
<category name="Category 3" />
</categories>
<contentFields />
<events />
</course>
<!--
This is a course with the list of related certificates specified.
-->
<course uniqueIdentifier="course-08" name="Course 08" courseType="Course">
<grantedCertificates>
<certificate name="Certificate 1" />
</grantedCertificates>
<contentFields />
<events />
</course>
<!--
This is a course with the duration expressed with a descriptive text. The information here will be only displayed.
-->
<course uniqueIdentifier="course-09" name="Course 09" courseType="Course">
<duration text="8 hours/day, 5 days" />
<events />
<contentFields />
</course>
<!--
This is a course with the duration expressed with specific fields. The information will be used to filter the course
-->
<course uniqueIdentifier="course-10" name="Course 10" courseType="Course">
<duration>
<specific unit="hours" value="40" />
</duration>
<events />
<contentFields />
</course>
<!--
This is a course with the duration expressed with both text and specific fields.
-->
<course uniqueIdentifier="course-11" name="Course 11" courseType="Course">
<duration text="8 hours/day, 5 days">
<specific unit="hours" value="40" />
</duration>
<events />
<contentFields />
</course>
<!-- This is a course with a custom content field. -->
<course uniqueIdentifier="course-12" name="Course 12" courseType="Course">
<contentFields>
<field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="custom" name="Special information">
<![CDATA[This is a custom field. It can contain information that don't fit in any of the default fields]]>
</field>
</contentFields>
<events />
</course>
</courses>
</provider>
</import>