Webct Export via cp_api.pl ScriptIMS Export script UNIX flavor used to export RODP courses (your directory structure will vary) _______
#!/bin/bash # to be run from /[webct install]/webct/generic/ims # Exported data is in [webct install]/webct/generic/ims/exported_packages
for courses in $(ls /global/rodp/webct/webct/courses) do ./cp_api.pl -action=export -course=$courses -compress=yes done
________ - Allen Elliott, University of Memphis
The instructions from the Technical Reference guide are: - cd webct_install_dir/webct/webct/generic/ims
- cp_api.pl -action=export -course=courseid
The exported package will be in webct_install_dir/webct/webct/generic/ims/exported_packages It's in a folder called courseid_COURSE_YYYYMMDDHHMMSS (Year Month Day Hour Min Sec) The structure is something like 
Note: WebCT randomly generates the IDs for the top-level manifest and course manifest. If you do cp_api.pl -action=export -course=courseid -compress=yes you will get a compressed zip. - From Ian Goh, used with permission
The information above is from a Sakai related project (http://issues.sakaiproject.org/confluence/display/MIG/Export+a+course+out+of+WebCT+(CE+4.1.5)+-+Ian+Goh) but the export part is applicable in our case.
|