aboutsummaryrefslogtreecommitdiff
path: root/source/99_result
diff options
context:
space:
mode:
Diffstat (limited to 'source/99_result')
-rw-r--r--source/99_result/article/article.xsl5
-rw-r--r--source/99_result/atom.xsl7
-rw-r--r--source/99_result/stream.xsl3
3 files changed, 10 insertions, 5 deletions
diff --git a/source/99_result/article/article.xsl b/source/99_result/article/article.xsl
index 1a6d2eb..0dadf76 100644
--- a/source/99_result/article/article.xsl
+++ b/source/99_result/article/article.xsl
@@ -9,7 +9,7 @@
<xsl:variable name="meta">
<datasource type="main" mode="iterate" source="02_data/articles.xml" target="article"/>
- <datasource type="support" mode="full" source="03_meta/meta.xml" target="meta"/>
+ <datasource type="support" mode="full" source="03_meta/meta.xml" target="meta"/>
<target mode="xpath" value="concat(xalan:nodeset($datasource)/datasource/article/entry/@handle, '/index.html')"/>
</xsl:variable>
@@ -36,7 +36,8 @@
<xsl:value-of select="."/>
</a>
</xsl:for-each>
- <xsl:text> | Adrian Kummerländer</xsl:text>
+ <xsl:text> | </xsl:text>
+ <xsl:value-of select="$root/meta/author"/>
</p>
<xsl:copy-of select="content/node()"/>
</div>
diff --git a/source/99_result/atom.xsl b/source/99_result/atom.xsl
index bfd038b..c2cced8 100644
--- a/source/99_result/atom.xsl
+++ b/source/99_result/atom.xsl
@@ -17,7 +17,8 @@
<target mode="plain" value="atom.xml"/>
</xsl:variable>
-<xsl:variable name="url" select="datasource/meta/url"/>
+<xsl:variable name="url" select="datasource/meta/url"/>
+<xsl:variable name="author" select="datasource/meta/author"/>
<xsl:template match="*" mode="xhtml_copy">
<xsl:element name="{name()}" namespace="http://www.w3.org/1999/xhtml">
@@ -34,7 +35,9 @@
<id><xsl:value-of select="$url"/></id>
<title><xsl:value-of select="datasource/meta/title"/></title>
<author>
- <name>Adrian Kummerländer</name>
+ <name>
+ <xsl:value-of select="$author"/>
+ </name>
</author>
<xsl:apply-templates select="datasource/articles/entry[position() &lt;= 5]"/>
diff --git a/source/99_result/stream.xsl b/source/99_result/stream.xsl
index 4d93a2c..7db2410 100644
--- a/source/99_result/stream.xsl
+++ b/source/99_result/stream.xsl
@@ -48,7 +48,8 @@
<xsl:value-of select="."/>
</a>
</xsl:for-each>
- <xsl:text> | Adrian Kummerländer</xsl:text>
+ <xsl:text> | </xsl:text>
+ <xsl:value-of select="$root/meta/author"/>
</p>
<xsl:copy-of select="$article/content/*"/>
</xsl:template>