[LON-CAPA-admin] auto create course

H. K. Ng ng at martech.fsu.edu
Fri Oct 21 15:04:30 EDT 2005


Hi,

I am working on implementing an automatic course creation and needs some 
clarifications.

1. Is it possible to assign more than one course coordinator?

2. Under the <user> tag, the example gave the following:
  <users>
   <user>
    <username>sparty</username>
    <domain>msu</domain>
    <email>sparty at msu.edu</email>
    <authtype>krb4</authtype>
    <autharg></autharg>
    <firstname>MSU</firstname>
    <generation></generation>
    <lastname>Spartan</lastname>x
    <middlename></middlename>
    <studentID></studentID>
    <roles></roles>
   </user>
Who are these users? There is a <roles> tag. Can it be used to assign an 
additional course coordinator by putting <role id='cc'>? (in reference to 
Q1 above?) I assume the <owner> is the course coordinator.

3. In the batchcoursecreate file, at one point it states that the file be 
save in
# /home/httpd/perl/tmp/addcourse/$dom

but just before the create_course routine it has the following:
#                    /home/httpd/perl/tmp/addcourse/$dom/auto/pending if 
$context = auto
#                    /home/httpd/perl/tmp/addcourse/$dom/web/$udom_$uname 
if $context = web
Under what conditions should one use each of the above?

Thanks,
-hk




More information about the LON-CAPA-admin mailing list