diff options
author | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2013-01-27 00:07:18 +0100 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2013-01-27 00:08:45 +0100 |
commit | c4b79fb817c7cc4018f1a90c733e13b8e694ea48 (patch) | |
tree | fd7cd5812256e0a46997399e3f48938d7d60384f /oracle-conversion/create-kapv-in-moodle.sh | |
parent | 4f25dfc69e3e582328702c9f1afb83c1ff9f70c4 (diff) | |
download | sqltutor-plugin-c4b79fb817c7cc4018f1a90c733e13b8e694ea48.tar.gz sqltutor-plugin-c4b79fb817c7cc4018f1a90c733e13b8e694ea48.tar.bz2 sqltutor-plugin-c4b79fb817c7cc4018f1a90c733e13b8e694ea48.zip |
Add xsl-powered script to create KAPV in moodle
Diffstat (limited to 'oracle-conversion/create-kapv-in-moodle.sh')
-rw-r--r-- | oracle-conversion/create-kapv-in-moodle.sh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/oracle-conversion/create-kapv-in-moodle.sh b/oracle-conversion/create-kapv-in-moodle.sh new file mode 100644 index 0000000..e501a86 --- /dev/null +++ b/oracle-conversion/create-kapv-in-moodle.sh @@ -0,0 +1,15 @@ +#!/bin/sh + +xsltproc sort-lesson.xsl lesson.xml | \ + xsltproc \ + --stringparam cookie MoodleSession=XXXXXXXXXXXXXXXXXXXXXXXXXX \ + --stringparam sesskey xxxxxxxxxx \ + --stringparam url http://moodle.bnfr.net \ + --stringparam module 23 \ + --stringparam course 2 \ + --stringparam section 1 \ + lesson-add-to-moodle.xsl - | \ + while read cmd; + do + eval $cmd + done |