diff --git a/Makefile b/Makefile index 51da76817..95a87bfd9 100644 --- a/Makefile +++ b/Makefile @@ -51,7 +51,7 @@ DS_SCHEDULE=$(wildcard content/static/datenspuren/$(DS_YEAR)/fahrplan/day_*.html DATESTAMP=build/.stamp-$(shell date +%Y-%m-%d) # Dateinamen der zu erzeugenden html-Dateien: -CONTENT=$(PAGES) $(NEWS_PAGES) $(DS_PAGES) $(NEWSFILES) build/calendar.html +CONTENT=$(PAGES) $(NEWS_PAGES) $(DS_PAGES) $(DS_FEEDS) $(NEWSFILES) build/calendar.html # 'normale' Seiten: PAGES:=$(patsubst content/pages/%.xml, build/%.html, $(wildcard content/pages/*.xml)) @@ -71,10 +71,11 @@ PLAYLISTS:=$(patsubst content/news/pentaradio%.xml, build/news/pentaradio%.xspf, $(patsubst content/news/pentaradio%.xml, build/news/pentaradio%.m3u, $(wildcard content/news/pentaradio*.xml)) # Datenspuren-Seiten: DS_PAGES:=$(patsubst content/datenspuren/%.xml, build/datenspuren/$(DS_YEAR)/%.html, $(wildcard content/datenspuren/*.xml)) +DS_FEEDS:=build/datenspuren/2010/mitschnitte-rss.xml build/datenspuren/2011/mitschnitte-rss.xml # Quellen NEWSITEMS:=$(wildcard content/news/*.xml) -CLEAN=$(CONTENT) $(NEWSFILES) $(WWW_CCC_DE_UPDATES) $(CALENDAR_SUMMARY) $(DS_PAGES) +CLEAN=$(CONTENT) $(NEWSFILES) $(WWW_CCC_DE_UPDATES) $(CALENDAR_SUMMARY) $(DS_PAGES) $(DS_FEEDS) NOVALID:=false @@ -218,6 +219,14 @@ build/datenspuren/$(DS_YEAR)/news-atom.xml : NOVALID:=true build/datenspuren/$(DS_YEAR)/news-atom.xml : PFLAGS+=--stringparam prefix ds12- build/datenspuren/$(DS_YEAR)/news-atom.xml : VFLAGS_OUT=$(VFLAGS) --relaxng xsd/atom.rng +build/datenspuren/%/mitschnitte-rss.xml : STYLE=xsl/newsfile-to-podcast.xsl +build/datenspuren/%/mitschnitte-rss.xml : VFLAGS_OUT=$(VFLAGS) --schema xsd/rss20.xsd +build/datenspuren/2010/mitschnitte-rss.xml: content/news/ds10-videomitschnitte-komplett.xml $(STYLE) + $(call xml_process) +build/datenspuren/2011/mitschnitte-rss.xml: content/news/ds11-mitschnitte-online.xml $(STYLE) + $(call xml_process) + + xhtml5-validate: $(patsubst build/%.html, build/%.html.xhtml5-validate, $(CONTENT)) build/%.html.xhtml5-validate: build/%.html ./scripts/validate_xhtml5.sh $< diff --git a/xsl/newsfile-to-podcast.xsl b/xsl/newsfile-to-podcast.xsl new file mode 100644 index 000000000..14137e1c6 --- /dev/null +++ b/xsl/newsfile-to-podcast.xsl @@ -0,0 +1,88 @@ + + + + + + + + + http://www.c3d2.de/ + + + + + + <xsl:value-of select="@title"/> + + + de + http://creativecommons.org/licenses/by-sa/2.0/de/ + + + Chaos Computer Club Dresden + + C3D2 + mail@c3d2.de + + + + + + + + + + + <xsl:value-of select="@title"/> + + + + + + + + + + + + <xsl:value-of select="@title"/> + + + + + + + + + + + + + + + + + + + + + + + + + + + +