Include newsletters in RSS feed.

svn path=/trunk/; revision=6163
This commit is contained in:
Reinhard Müller 2006-03-10 17:33:34 +00:00
parent 2484c5589c
commit 2ff0dc5bda
2 changed files with 4 additions and 2 deletions

View File

@ -1,4 +1,5 @@
news/*/news:global
news/nl/nl:global
fr/news/*/news:fr
de/news/*/news:de
se/news/*/news:se

View File

@ -15,9 +15,10 @@
<xsl:value-of select="/html/@date" />
</xsl:variable>
<!-- Show news except those in the future -->
<!-- Show news except those in the future, but no newsletters -->
<xsl:for-each select="/html/set/news
[translate (@date, '-', '') &lt;= translate ($today, '-', '')]">
[translate (@date, '-', '') &lt;= translate ($today, '-', '') and
@type != 'newsletter']">
<xsl:sort select="@date" order="descending" />
<!-- This is a news entry -->