aboutsummaryrefslogtreecommitdiff
path: root/configs/conferences
diff options
context:
space:
mode:
authorMaZderMind2015-12-20 21:24:29 +0100
committerMaZderMind2015-12-20 21:24:29 +0100
commit549213043c4c79747a8d902a209923ea5babcf94 (patch)
treee1775604d6413c610e992c6693ac5209a21cec95 /configs/conferences
parent531d4ea07da7ef33fbe472f37f6a365e86b1cad5 (diff)
[32c3] download all schedules for mirroring
Diffstat (limited to 'configs/conferences')
-rw-r--r--configs/conferences/32c3/config.php2
-rwxr-xr-xconfigs/conferences/32c3/download.sh10
2 files changed, 10 insertions, 2 deletions
diff --git a/configs/conferences/32c3/config.php b/configs/conferences/32c3/config.php
index e4988b7..fcd50d1 100644
--- a/configs/conferences/32c3/config.php
+++ b/configs/conferences/32c3/config.php
@@ -521,7 +521,7 @@ $GLOBALS['CONFIG']['SCHEDULE'] = array(
* das Script configs/download.sh heruntergeladen, welches von einem
* Cronjob regelmäßig getriggert wird.
*/
- 'URL' => 'configs/conferences/32c3/schedule.xml',
+ 'URL' => 'configs/conferences/32c3/everything.schedule.xml',
/**
* Nur die angegebenen Räume aus dem Fahrplan beachten
diff --git a/configs/conferences/32c3/download.sh b/configs/conferences/32c3/download.sh
index 415fdba..c4bd826 100755
--- a/configs/conferences/32c3/download.sh
+++ b/configs/conferences/32c3/download.sh
@@ -1,7 +1,15 @@
#!/bin/sh
+# fahrplan original
+wget --no-check-certificate -q "https://events.ccc.de/congress/2015/Fahrplan/schedule.xml" -O /tmp/schedule.xml && mv /tmp/schedule.xml schedule.xml
+wget --no-check-certificate -q "https://events.ccc.de/congress/2015/Fahrplan/schedule.json" -O /tmp/schedule.json && mv /tmp/schedule.json schedule.json
+rm -f /tmp/schedule.xml /tmp/schedule.json
+
# fahrplan
-wget --no-check-certificate -q "http://data.c3voc.de/32C3/everything.schedule.xml" -O /tmp/schedule.xml && mv /tmp/schedule.xml schedule.xml
+wget --no-check-certificate -q "http://data.c3voc.de/32C3/everything.schedule.xml" -O /tmp/everything.schedule.xml && mv /tmp/everything.schedule.xml everything.schedule.xml
+wget --no-check-certificate -q "http://data.c3voc.de/32C3/everything.schedule.json" -O /tmp/everything.schedule.json && mv /tmp/everything.schedule.json everything.schedule.json
+rm -f /tmp/everything.schedule.xml /tmp/everything.schedule.json
# vod json
wget -q "http://cdn.c3voc.de/relive/index.json" -O /tmp/vod.json && mv /tmp/vod.json vod.json
+rm -f /tmp/vod.json