aboutsummaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorAdrian Kummerlaender2014-07-27 13:45:08 +0200
committerAdrian Kummerlaender2014-07-27 13:45:08 +0200
commit0af1dab6c34ed559d3c86c9aa3e23e3615996ed3 (patch)
tree08d254cca6e5454b0f87381a33017428180c3924 /source
parent27410e9ac4b5617250e4db241989c11ce48c656b (diff)
downloadblog.kummerlaender.eu-0af1dab6c34ed559d3c86c9aa3e23e3615996ed3.tar
blog.kummerlaender.eu-0af1dab6c34ed559d3c86c9aa3e23e3615996ed3.tar.gz
blog.kummerlaender.eu-0af1dab6c34ed559d3c86c9aa3e23e3615996ed3.tar.bz2
blog.kummerlaender.eu-0af1dab6c34ed559d3c86c9aa3e23e3615996ed3.tar.lz
blog.kummerlaender.eu-0af1dab6c34ed559d3c86c9aa3e23e3615996ed3.tar.xz
blog.kummerlaender.eu-0af1dab6c34ed559d3c86c9aa3e23e3615996ed3.tar.zst
blog.kummerlaender.eu-0af1dab6c34ed559d3c86c9aa3e23e3615996ed3.zip
Renamed "year" node to "entry" to match other datasources
Diffstat (limited to 'source')
-rw-r--r--source/03_meta/articles.xsl4
-rw-r--r--source/99_result/archive.xsl4
2 files changed, 4 insertions, 4 deletions
diff --git a/source/03_meta/articles.xsl b/source/03_meta/articles.xsl
index e1b4a82..5bd2dc0 100644
--- a/source/03_meta/articles.xsl
+++ b/source/03_meta/articles.xsl
@@ -22,11 +22,11 @@
<xsl:template match="articles">
<xsl:for-each select="entry/date/year/text()[generate-id() = generate-id(key('years',.)[1])]">
- <year handle="{.}">
+ <entry handle="{.}">
<xsl:call-template name="get_articles">
<xsl:with-param name="year" select="."/>
</xsl:call-template>
- </year>
+ </entry>
</xsl:for-each>
</xsl:template>
diff --git a/source/99_result/archive.xsl b/source/99_result/archive.xsl
index 4a5c671..f3bee2a 100644
--- a/source/99_result/archive.xsl
+++ b/source/99_result/archive.xsl
@@ -30,14 +30,14 @@
</div>
</xsl:template>
-<xsl:template match="articles/year">
+<xsl:template match="articles/entry">
<li class="dateitem">
<xsl:value-of select="@handle"/>
</li>
<xsl:apply-templates />
</xsl:template>
-<xsl:template match="year/article">
+<xsl:template match="entry/article">
<li>
<a href="{$url}/article/{@handle}">
<xsl:value-of select="title"/>