aboutsummaryrefslogtreecommitdiff
path: root/source/99_result
diff options
context:
space:
mode:
authorAdrian Kummerlaender2014-09-11 21:36:08 +0200
committerAdrian Kummerlaender2014-09-11 21:36:08 +0200
commit77c542e488fa32aea599d67d415bc5dec97d7aab (patch)
tree17e1fcf699bac866dd16f3e6d6a449ebad08f218 /source/99_result
parent2458ce157f1e2a3fdb023f6779ba47f253463a54 (diff)
downloadblog.kummerlaender.eu-77c542e488fa32aea599d67d415bc5dec97d7aab.tar
blog.kummerlaender.eu-77c542e488fa32aea599d67d415bc5dec97d7aab.tar.gz
blog.kummerlaender.eu-77c542e488fa32aea599d67d415bc5dec97d7aab.tar.bz2
blog.kummerlaender.eu-77c542e488fa32aea599d67d415bc5dec97d7aab.tar.lz
blog.kummerlaender.eu-77c542e488fa32aea599d67d415bc5dec97d7aab.tar.xz
blog.kummerlaender.eu-77c542e488fa32aea599d67d415bc5dec97d7aab.tar.zst
blog.kummerlaender.eu-77c542e488fa32aea599d67d415bc5dec97d7aab.zip
Fixed links in ATOM feed
* URL has to be defined in a "href" attribute instead of as the nodes content
Diffstat (limited to 'source/99_result')
-rw-r--r--source/99_result/atom.xsl10
1 files changed, 8 insertions, 2 deletions
diff --git a/source/99_result/atom.xsl b/source/99_result/atom.xsl
index e67f89c..7d50f2d 100644
--- a/source/99_result/atom.xsl
+++ b/source/99_result/atom.xsl
@@ -46,8 +46,14 @@
<xsl:template match="datasource/articles/entry">
<entry xmlns="http://www.w3.org/2005/Atom">
- <title><xsl:value-of select="title"/></title>
- <link><xsl:value-of select="$url"/>/article/<xsl:value-of select="@handle"/></link>
+ <title>
+ <xsl:value-of select="title"/>
+ </title>
+ <link>
+ <xsl:attribute name="href">
+ <xsl:value-of select="$url"/>/article/<xsl:value-of select="@handle"/>
+ </xsl:attribute>
+ </link>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<xsl:apply-templates mode="xhtml_copy" select="content/node()" />