summaryrefslogtreecommitdiff
path: root/oracle-conversion/create-kapv-in-moodle.sh
blob: e501a869cf51989053305048274d7ca0f2bad635 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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