From 6117ecbdc24f403af46a41ef2035d88d696df5ec Mon Sep 17 00:00:00 2001 From: astro Date: Tue, 10 Apr 2007 03:06:51 +0000 Subject: [PATCH] Hier kommen Radio-Seite und Podcast-Feed resource/. -> resource/@url auch in ATOM und RSS git-svn-id: svn://svn.c3d2.de/c3d2-web/trunk@614 31f61c52-7bfb-0310-b897-fc00f8a278f0 --- Makefile | 5 ++- content/navigation.xml | 1 + content/pages/radio.xml | 19 ++++++++ xsl/atom.xsl | 2 +- xsl/podcast.xsl | 99 +++++++++++++++++++++++++++++++++++++++++ xsl/rss.xsl | 2 +- xsl/xhtml.xsl | 7 ++- 7 files changed, 131 insertions(+), 4 deletions(-) create mode 100644 content/pages/radio.xml create mode 100644 xsl/podcast.xsl diff --git a/Makefile b/Makefile index bb735c07f..11886eb0b 100644 --- a/Makefile +++ b/Makefile @@ -51,7 +51,7 @@ PAGES:=$(patsubst content/pages/%.xml, build/%.html, $(wildcard content/pages/*. # Seiten zu einzelnen News-Items: NEWS_PAGES:=$(patsubst content/news/%.xml, build/news/%.html, $(wildcard content/news/*.xml)) # News-Index und Feeds: -NEWSFILES:=build/news.html build/news-rss.xml build/news-atom.xml build/xcal.xml build/ical.ics +NEWSFILES:=build/news.html build/news-rss.xml build/news-atom.xml build/xcal.xml build/ical.ics build/podcast.xml # Datenspuren-Seiten: DS_PAGES:=$(patsubst content/datenspuren/%.xml, build/datenspuren/%.html, $(wildcard content/datenspuren/*.xml)) build/datenspuren/schedule.html # Suchseiten-Template @@ -92,6 +92,9 @@ build/xcal.xml : STYLE=xsl/xcal.xsl build/ical.ics : STYLE=xsl/ical.xsl build/ical.ics : NOVALID_IGNORE:=true build/ical.ics : VFLAGS_OUT=--noout +build/podcast.xml : STYLE=xsl/podcast.xsl +build/podcast.xml : NOVALID_IGNORE:=true +build/podcast.xml : VFLAGS_OUT=--noout --schema xsd/rss20.xsd #.INTERMEDIATE: news.xml news.xml: $(NEWSITEMS) diff --git a/content/navigation.xml b/content/navigation.xml index 9755bce77..564b8ca76 100644 --- a/content/navigation.xml +++ b/content/navigation.xml @@ -8,6 +8,7 @@ treff themenabende events + radio projekte wiki silc diff --git a/content/pages/radio.xml b/content/pages/radio.xml new file mode 100644 index 000000000..db619e642 --- /dev/null +++ b/content/pages/radio.xml @@ -0,0 +1,19 @@ + + + + + +

+ Pentaradio sind unregelmäßige Sendungen auf coloRadio, bestehend aus einem informativen Rahmenprogramm und Beiträgen zu einem sendungsspezifischen Thema. +

+

+ Die Feeds der C3D2-News (RSS, ATOM) beinhalten die Mitschnitte als Podcasts. + Daneben gibt es noch einen Podcast-Feed, der je nach Verfügbarkeit die MP3-Versionen enthält. + Dieser ist insbesondere für Benutzer der proprietären iTunes-/iPod-Systeme geeignet. +

+ + + + + +
diff --git a/xsl/atom.xsl b/xsl/atom.xsl index 5a96fa0dc..9fe7de0bb 100644 --- a/xsl/atom.xsl +++ b/xsl/atom.xsl @@ -77,7 +77,7 @@ diff --git a/xsl/podcast.xsl b/xsl/podcast.xsl new file mode 100644 index 000000000..49a0913a7 --- /dev/null +++ b/xsl/podcast.xsl @@ -0,0 +1,99 @@ + + + + + + + + + + + https://www.c3d2.de/ + + + + + + C3D2 Podcast + radio.html + http://creativecommons.org/licenses/by-sa/2.0/de/ + Pentaradio als MP3 + Pentaradio als MP3 + Radio vom CCC Dresden + de + + + + + + + + + + + + + + + + + + + + + + + + + + + + .html + + + <xsl:value-of select="@title"/> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/xsl/rss.xsl b/xsl/rss.xsl index 8491622d3..0655570f2 100644 --- a/xsl/rss.xsl +++ b/xsl/rss.xsl @@ -78,7 +78,7 @@ --> diff --git a/xsl/xhtml.xsl b/xsl/xhtml.xsl index c093832e4..3707e0356 100644 --- a/xsl/xhtml.xsl +++ b/xsl/xhtml.xsl @@ -306,7 +306,7 @@ - +
@@ -324,6 +324,11 @@ + + + yes + +