From 0af1dab6c34ed559d3c86c9aa3e23e3615996ed3 Mon Sep 17 00:00:00 2001
From: Adrian Kummerlaender
Date: Sun, 27 Jul 2014 13:45:08 +0200
Subject: Renamed "year" node to "entry" to match other datasources

---
 source/03_meta/articles.xsl  | 4 ++--
 source/99_result/archive.xsl | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

(limited to 'source')

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"/>
-- 
cgit v1.2.3