chaosupdates.xml von anderer Stelle
git-svn-id: svn://svn.c3d2.de/c3d2-web/trunk@2231 31f61c52-7bfb-0310-b897-fc00f8a278f0
This commit is contained in:
parent
53814120f3
commit
100f6aec4e
9
Makefile
9
Makefile
|
@ -39,7 +39,7 @@ XML_CATALOG:=dtd/catalog.xml
|
||||||
# Navigationsleiste:
|
# Navigationsleiste:
|
||||||
NAVIGATION=content/navigation.xml
|
NAVIGATION=content/navigation.xml
|
||||||
# Chaosupdates:
|
# Chaosupdates:
|
||||||
WWW_CCC_DE_UPDATES=chaosupdates.rdf
|
WWW_CCC_DE_UPDATES=chaosupdates.xml
|
||||||
# Calendar summary::
|
# Calendar summary::
|
||||||
CALENDAR_SUMMARY=calendar-summary.xml
|
CALENDAR_SUMMARY=calendar-summary.xml
|
||||||
|
|
||||||
|
@ -197,9 +197,12 @@ build/datenspuren/news-atom.xml : PFLAGS+=--stringparam prefix ds09-
|
||||||
build/datenspuren/news-atom.xml : VFLAGS_OUT=$(VFLAGS) --relaxng xsd/atom.rng
|
build/datenspuren/news-atom.xml : VFLAGS_OUT=$(VFLAGS) --relaxng xsd/atom.rng
|
||||||
|
|
||||||
### Die neuesten Chaosupdates holen ###
|
### Die neuesten Chaosupdates holen ###
|
||||||
$(WWW_CCC_DE_UPDATES): $(DATESTAMP)
|
$(WWW_CCC_DE_UPDATES).orig: $(DATESTAMP)
|
||||||
$(RM) $@
|
$(RM) $@
|
||||||
$(WGET) -O $@ http://www.ccc.de/updates/$(WWW_CCC_DE_UPDATES)
|
$(WGET) -O $@ http://www.ccc.de/en/rss/updates
|
||||||
|
|
||||||
|
$(WWW_CCC_DE_UPDATES): $(WWW_CCC_DE_UPDATES).orig
|
||||||
|
$(VALIDATOR) --recover $< > $@
|
||||||
|
|
||||||
### Mr. Propper ###
|
### Mr. Propper ###
|
||||||
.PHONY: clean
|
.PHONY: clean
|
||||||
|
|
|
@ -155,12 +155,12 @@
|
||||||
<xsl:param name="limit" select="5"/>
|
<xsl:param name="limit" select="5"/>
|
||||||
<div id="news">
|
<div id="news">
|
||||||
<h2>
|
<h2>
|
||||||
<a href="{document('../chaosupdates.rdf')/atom:feed/atom:link[@rel != 'self']/@href}">
|
<a href="{document('../chaosupdates.xml')/atom:feed/atom:link[@rel != 'self']/@href}">
|
||||||
<xsl:value-of select="document('../chaosupdates.rdf')/atom:feed/atom:title"/>
|
<xsl:value-of select="document('../chaosupdates.xml')/atom:feed/atom:title"/>
|
||||||
</a>
|
</a>
|
||||||
</h2>
|
</h2>
|
||||||
<ul>
|
<ul>
|
||||||
<xsl:for-each select="document('../chaosupdates.rdf')/atom:feed/atom:entry[position() <= $limit]">
|
<xsl:for-each select="document('../chaosupdates.xml')/atom:feed/atom:entry[position() <= $limit]">
|
||||||
<li>
|
<li>
|
||||||
<a href="{atom:link[@rel = 'alternate']/@href}">
|
<a href="{atom:link[@rel = 'alternate']/@href}">
|
||||||
<xsl:value-of select="atom:title"/>
|
<xsl:value-of select="atom:title"/>
|
||||||
|
|
Loading…
Reference in New Issue