Compile fix
git-svn-id: svn://svn.c3d2.de/c3d2-web/trunk@1121 31f61c52-7bfb-0310-b897-fc00f8a278f0ds2013
parent
f50a10b310
commit
c00b3c3a52
2
Makefile
2
Makefile
|
@ -92,9 +92,11 @@ $(DATESTAMP):
|
|||
build/news.html: $(WWW_CCC_DE_UPDATES) $(CALENDAR_SUMMARY) $(DATESTAMP)
|
||||
build/news-rss.xml : STYLE=xsl/rss.xsl
|
||||
build/news-rss.xml : NOVALID_IGNORE:=true
|
||||
build/news-rss.xml : PFLAGS+=--stringparam prefix ""
|
||||
build/news-rss.xml : VFLAGS_OUT=--noout --schema xsd/rss20.xsd
|
||||
build/news-atom.xml : STYLE=xsl/atom.xsl
|
||||
build/news-atom.xml : NOVALID_IGNORE:=true
|
||||
build/news-atom.xml : PFLAGS+=--stringparam prefix ""
|
||||
build/news-atom.xml : VFLAGS_OUT=--noout --relaxng xsd/atom.rng
|
||||
build/podcast.xml : STYLE=xsl/podcast.xsl
|
||||
build/podcast.xml : NOVALID_IGNORE:=true
|
||||
|
|
|
@ -27,7 +27,6 @@
|
|||
<xsl:for-each select="newsfile">
|
||||
<xsl:sort select="date:seconds(document(.)/item/@date)" data-type="number" order="descending" />
|
||||
<xsl:variable name="newsfile" select="."/>
|
||||
<xsl:message>prefix: <xsl:value-of select="$prefix"/> newsfile: <xsl:value-of select="substring-after(substring-after($newsfile, '/'), '/')"/></xsl:message>
|
||||
<xsl:if test="(position() <= 10) and
|
||||
starts-with(substring-after(substring-after($newsfile, '/'), '/'), $prefix)">
|
||||
|
||||
|
|
Loading…
Reference in New Issue