Annotation of loncom/html/adm/help/tex/Batch_Creation.tex, revision 1.1
1.1 ! raeburn 1: \label{Batch Course Creation}
! 2: If you choose to batch create LON-CAPA courses by uploading a file
! 3: containing an XML-based description of the attributes of one or more
! 4: courses, the XML used in course description should conform to the
! 5: following, with MSU-specific values replaced with values appropriate for your domain and institution:
! 6:
! 7:
! 8: \paragraph{Example of XML for a single course}
! 9:
! 10: <?xml version=\char`\"{}1.0\char`\"{} encoding=\char`\"{}UTF-8\char`\"{}?>
! 11:
! 12: <!DOCTYPE text>
! 13:
! 14: <class id=\char`\"{}ss05ubw101\char`\"{}>
! 15:
! 16: <title>Underwater Basket Weaving</title>
! 17:
! 18: <crstype>Course</crstype>
! 19:
! 20: <coursecode>ss05ubw101</coursecode>
! 21:
! 22: <coursehome>msul1</coursehome>
! 23:
! 24: <coursedomain>msu</coursedomain>
! 25:
! 26: <reshome>/res/msu/</reshome>
! 27:
! 28: <optional\_id></optional\_id>
! 29:
! 30: <adds>1</adds>
! 31:
! 32: <drops>1</drops>
! 33:
! 34: <enrollstart>2005:01:04:10:30</enrollstart>
! 35:
! 36: <enrollend>2005:07:04:20:30</enrollend>
! 37:
! 38: <accessstart>2005:01:10:10:30</accessstart>
! 39:
! 40: <accessend>2005:05:31:10:30</accessend>
! 41:
! 42: <authentication>
! 43:
! 44: <method>krb4</method>
! 45:
! 46: <param>MSU.EDU</param>
! 47:
! 48: </authentication>
! 49:
! 50: <nonstandard></nonstandard>
! 51:
! 52: <topmap></topmap>
! 53:
! 54: <firstres>nav</firstres>
! 55:
! 56: <crsquota>20</crsquota>
! 57:
! 58: <clonecrs>466011437c34194msul1</clonecrs>
! 59:
! 60: <clonedom>msu</clonedom>
! 61:
! 62: <showphotos></showphotos>
! 63:
! 64: <setpolicy>1</setpolicy>
! 65:
! 66: <setcontent>1</setcontent>
! 67:
! 68: <setkeys>0</setkeys>
! 69:
! 70: <keyauth>keyadmin@msu</keyauth>
! 71:
! 72: <disresdis>1</disresdis>
! 73:
! 74: <disablechat>1</disablechat>
! 75:
! 76: <openall></openall>
! 77:
! 78: <notify\_dc>1</notify\_dc>
! 79:
! 80: <notify\_owner>1</notify\_owner>
! 81:
! 82: <owner>
! 83:
! 84: <username>sparty</username>
! 85:
! 86: <domain>msu</domain>
! 87:
! 88: <authtype>krb4</authtype>
! 89:
! 90: <autharg>MSU.EDU</autharg>
! 91:
! 92: </owner>
! 93:
! 94: <sections>
! 95:
! 96: <section>
! 97:
! 98: <inst>001</inst>
! 99:
! 100: <loncapa>1</loncapa>
! 101:
! 102: </section>
! 103:
! 104: <section>
! 105:
! 106: <inst>002</inst>
! 107:
! 108: <loncapa>2</loncapa>
! 109:
! 110: </section>
! 111:
! 112: </sections>
! 113:
! 114: <crosslists>
! 115:
! 116: <xlist>
! 117:
! 118: <inst>ss05zzz101001</inst>
! 119:
! 120: <loncapa>1</loncapa>
! 121:
! 122: </xlist>
! 123:
! 124: </crosslists>
! 125:
! 126: <users>
! 127:
! 128: <user>
! 129:
! 130: <username>sparty</username>
! 131:
! 132: <domain>msu</domain>
! 133:
! 134: <email>sparty@msu.edu</email>
! 135:
! 136: <authtype>krb4</authtype>
! 137:
! 138: <autharg></autharg>
! 139:
! 140: <firstname>MSU</firstname>
! 141:
! 142: <generation></generation>
! 143:
! 144: <lastname>Spartan</lastname>x
! 145:
! 146: <middlename></middlename>
! 147:
! 148: <studentID></studentID>
! 149:
! 150: <roles></roles>
! 151:
! 152: </user>
! 153:
! 154: <user>
! 155:
! 156: <username>itds0001</username>
! 157:
! 158: <domain>northwood5</domain>
! 159:
! 160: <email>itds0001@msu.edu</email>
! 161:
! 162: <authtype>int</authtype>
! 163:
! 164: <autharg></autharg>
! 165:
! 166: <firstname>Info</firstname>
! 167:
! 168: <generation></generation>
! 169:
! 170: <lastname>Techc</lastname>x
! 171:
! 172: <middlename></middlename>
! 173:
! 174: <studentID></studentID>
! 175:
! 176: <roles>
! 177:
! 178: <role id='in'>
! 179:
! 180: <start>2005:01:01:12:10</start>
! 181:
! 182: <end>2005:12:01:12:10</end>
! 183:
! 184: <usec>1</usec>
! 185:
! 186: <usec>2</usec>
! 187:
! 188: </role>
! 189:
! 190: </roles>
! 191:
! 192: </user>
! 193:
! 194: </users>
! 195:
! 196: </class>
! 197:
! 198: Many of these are binary options (corresponding to either checkboxes
! 199: or radio buttons in the interactive {}``Create Course'' page).
! 200:
! 201: Examples include: setpolicy, setcontent, setkeys, disableresdis, disablechat,
! 202: openall.
! 203:
! 204: A value of 1 between opening and closing tags is equivalent to a checked
! 205: checkbox or 'Yes' response in the original interactive {}``Create
! 206: Course'' web page.
! 207:
! 208: A value of 0 or blank is equivalent to an unchecked box or 'No' response.
! 209:
! 210: Dates are in the format YYYY:MM:DD:HH:MM:SS (:separators required)
! 211:
! 212: firstres can be nav, syl, or blank for \char`\"{}Navigate Contents\char`\"{},
! 213: Syllabus, or no entry respectively.
! 214:
! 215: crstype is currently Course
! 216:
! 217: crsquota is the total disk space (in Mb) permitted for course group portfolio
! 218: files in all course groups.
! 219:
! 220: For format of other parameters, refer to the interactive CCRS page
! 221: and view how the equivalent parameter is displayed in the web form.
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>