Compile fix

git-svn-id: svn://svn.c3d2.de/c3d2-web/trunk@1121 31f61c52-7bfb-0310-b897-fc00f8a278f0
This commit is contained in:
astro 2008-03-25 20:03:16 +00:00
parent f50a10b310
commit c00b3c3a52
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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() &lt;= 10) and
starts-with(substring-after(substring-after($newsfile, '/'), '/'), $prefix)">