aboutsummaryrefslogtreecommitdiff
path: root/source/99_result/atom.xsl
diff options
context:
space:
mode:
authorAdrian Kummerlaender2014-09-02 22:54:07 +0200
committerAdrian Kummerlaender2014-09-02 22:54:07 +0200
commit62d309c963eb31cfdce22a867c004072c8f9aaa1 (patch)
tree601eb56fe92b516807bf8ce96c73c94f27710688 /source/99_result/atom.xsl
parent70200abbdb88f5e06c4980524e9031b8b2516262 (diff)
downloadblog.kummerlaender.eu-62d309c963eb31cfdce22a867c004072c8f9aaa1.tar
blog.kummerlaender.eu-62d309c963eb31cfdce22a867c004072c8f9aaa1.tar.gz
blog.kummerlaender.eu-62d309c963eb31cfdce22a867c004072c8f9aaa1.tar.bz2
blog.kummerlaender.eu-62d309c963eb31cfdce22a867c004072c8f9aaa1.tar.lz
blog.kummerlaender.eu-62d309c963eb31cfdce22a867c004072c8f9aaa1.tar.xz
blog.kummerlaender.eu-62d309c963eb31cfdce22a867c004072c8f9aaa1.tar.zst
blog.kummerlaender.eu-62d309c963eb31cfdce22a867c004072c8f9aaa1.zip
Moved author name into the meta tree
* modified all transformations requiring the author name accordingly
Diffstat (limited to 'source/99_result/atom.xsl')
-rw-r--r--source/99_result/atom.xsl7
1 files changed, 5 insertions, 2 deletions
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]"/>