diff options
Restricted amount of articles generated into the atom feed
* the feed should not return all articles ever posted but only e.g. the last five
* disabled indentation to fix source highlighting
-rw-r--r-- | source/99_result/atom.xsl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/99_result/atom.xsl b/source/99_result/atom.xsl index 0ab678e..da7f370 100644 --- a/source/99_result/atom.xsl +++ b/source/99_result/atom.xsl @@ -8,7 +8,7 @@ method="xml" omit-xml-declaration="no" encoding="UTF-8" - indent="yes" + indent="no" /> <xsl:variable name="meta"> @@ -37,7 +37,7 @@ <name>Adrian Kummerländer</name> </author> - <xsl:apply-templates select="datasource/articles/entry"/> + <xsl:apply-templates select="datasource/articles/entry[position() <= 5]"/> </feed> </xsl:template> |