aboutsummaryrefslogtreecommitdiff
path: root/source/99_result
diff options
context:
space:
mode:
authorAdrian Kummerlaender2014-08-09 11:43:54 +0200
committerAdrian Kummerlaender2014-08-09 11:43:54 +0200
commit19f8ba68c9e95a5d702bb2f42e21715cf8e05f9d (patch)
tree246b83b66b68830a6ab000117e24a2491f972615 /source/99_result
parent2ab010b685c7177e0a3aa57d2f2c58a9d80c44e1 (diff)
downloadblog.kummerlaender.eu-19f8ba68c9e95a5d702bb2f42e21715cf8e05f9d.tar
blog.kummerlaender.eu-19f8ba68c9e95a5d702bb2f42e21715cf8e05f9d.tar.gz
blog.kummerlaender.eu-19f8ba68c9e95a5d702bb2f42e21715cf8e05f9d.tar.bz2
blog.kummerlaender.eu-19f8ba68c9e95a5d702bb2f42e21715cf8e05f9d.tar.lz
blog.kummerlaender.eu-19f8ba68c9e95a5d702bb2f42e21715cf8e05f9d.tar.xz
blog.kummerlaender.eu-19f8ba68c9e95a5d702bb2f42e21715cf8e05f9d.tar.zst
blog.kummerlaender.eu-19f8ba68c9e95a5d702bb2f42e21715cf8e05f9d.zip
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
Diffstat (limited to 'source/99_result')
-rw-r--r--source/99_result/atom.xsl4
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() &lt;= 5]"/>
</feed>
</xsl:template>