From 06de519935107e87f7d849fa6678fddfe93280bd Mon Sep 17 00:00:00 2001
From: Astro
Date: Sun, 25 Oct 2015 11:31:16 +0100
Subject: [PATCH] datenspuren mitschnitte: implement from
media.ccc.de
---
Makefile | 14 ++++++++-
content/datenspuren/mitschnitte.xml | 9 +++++-
xsl/datenspuren/xhtml5.xsl | 44 +++++++++++++++++++++++++++--
3 files changed, 63 insertions(+), 4 deletions(-)
diff --git a/Makefile b/Makefile
index c4d44bd53..8095733d7 100644
--- a/Makefile
+++ b/Makefile
@@ -272,6 +272,18 @@ build/news/%.html: content/news/%.xml $(STYLE) $(NAVIGATION) $(DATESTAMP)
# Datenspuren
+# As of 2015-10-25 all these feeds contain just .mp4 files:
+DS_FEEDS=datenspuren-2015-mp4.xml #datenspuren-2015-webm.xml datenspuren-2015-opus.xml datenspuren-2015-mp3.xml
+
+datenspuren-2015-mp4.xml:
+ $(WGET) -O $@ https://media.ccc.de/podcast/conferences%2Fdatenspuren%2F2015/mp4
+#datenspuren-2015-webm.xml:
+# $(WGET) -O $@ https://media.ccc.de/podcast/conferences%2Fdatenspuren%2F2015/webm
+#datenspuren-2015-opus.xml:
+# $(WGET) -O $@ https://media.ccc.de/podcast/conferences%2Fdatenspuren%2F2015/opus
+#datenspuren-2015-mp3.xml:
+# $(WGET) -O $@ https://media.ccc.de/podcast/conferences%2Fdatenspuren%2F2015/mp3
+
build/datenspuren/$(DS_YEAR)/schedule-%.raw.xml: content/static/datenspuren/$(DS_YEAR)/fahrplan/schedule/%.html scripts/hyphenate.sed $(DATESTAMP)
scripts/hyphenate.sed < $< > $@
build/datenspuren/$(DS_YEAR)/schedule-%.xml : VFLAGS_IN=$(VFLAGS) --html
@@ -281,7 +293,7 @@ build/datenspuren/$(DS_YEAR)/schedule-%.xml: build/datenspuren/$(DS_YEAR)/schedu
$(call xml_process)
build/datenspuren/$(DS_YEAR)/%html : STYLE=$(DS_STYLE)
-build/datenspuren/$(DS_YEAR)/%.html: content/datenspuren/%.xml $(DS_STYLE) news.xml $(DS_SCHEDULE)
+build/datenspuren/$(DS_YEAR)/%.html: content/datenspuren/%.xml $(DS_STYLE) news.xml $(DS_SCHEDULE) $(DS_FEEDS)
$(call xml_process)
build/datenspuren/$(DS_YEAR)/news-rss.xml : STYLE=xsl/rss.xsl
diff --git a/content/datenspuren/mitschnitte.xml b/content/datenspuren/mitschnitte.xml
index 886c96bdf..d79d2f213 100644
--- a/content/datenspuren/mitschnitte.xml
+++ b/content/datenspuren/mitschnitte.xml
@@ -21,8 +21,15 @@
- Erscheinen auf media.ccc.de
+ Übernommen durch das CCC Video Operation Center,
+ erscheinen auf media.ccc.de.
+
+ ../../datenspuren-2015-mp4.xml
+
+
+
+
Podcast-Feed
diff --git a/xsl/datenspuren/xhtml5.xsl b/xsl/datenspuren/xhtml5.xsl
index e035bbe27..00c525eb6 100644
--- a/xsl/datenspuren/xhtml5.xsl
+++ b/xsl/datenspuren/xhtml5.xsl
@@ -3,7 +3,9 @@
xmlns="http://www.w3.org/1999/xhtml"
xmlns:date="http://exslt.org/dates-and-times"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- exclude-result-prefixes="xsl date">
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
+ exclude-result-prefixes="xsl date dc itunes">
@@ -262,5 +264,43 @@
-
+
+
+
+
+
+
+
+
+
+
+

+
+
+
+
+
+
+
+