aboutsummaryrefslogtreecommitdiff
path: root/source/99_result
diff options
context:
space:
mode:
authorAdrian Kummerlaender2014-09-28 12:26:05 +0200
committerAdrian Kummerlaender2014-09-28 12:26:05 +0200
commit68849df8d868b34ca0de080770ee8cef76626b58 (patch)
tree116a079a4607c0ecb09b5ce1775f14df936623b1 /source/99_result
parentf421709745a59aae6227f8caaf97bd59e2b99482 (diff)
downloadblog.kummerlaender.eu-68849df8d868b34ca0de080770ee8cef76626b58.tar
blog.kummerlaender.eu-68849df8d868b34ca0de080770ee8cef76626b58.tar.gz
blog.kummerlaender.eu-68849df8d868b34ca0de080770ee8cef76626b58.tar.bz2
blog.kummerlaender.eu-68849df8d868b34ca0de080770ee8cef76626b58.tar.lz
blog.kummerlaender.eu-68849df8d868b34ca0de080770ee8cef76626b58.tar.xz
blog.kummerlaender.eu-68849df8d868b34ca0de080770ee8cef76626b58.tar.zst
blog.kummerlaender.eu-68849df8d868b34ca0de080770ee8cef76626b58.zip
Added alternate feed link and augmented entry links
* added title and type attributes to feed links in ATOM feed * alternate feed link references the actual website * added "rel=\"alternate\"" and title attribute to entry links
Diffstat (limited to 'source/99_result')
-rw-r--r--source/99_result/atom.xsl5
1 files changed, 3 insertions, 2 deletions
diff --git a/source/99_result/atom.xsl b/source/99_result/atom.xsl
index c2b983e..5cbd5f3 100644
--- a/source/99_result/atom.xsl
+++ b/source/99_result/atom.xsl
@@ -25,7 +25,8 @@
<xsl:template match="datasource">
<feed>
- <link href="{$url}/atom.xml" rel="self" />
+ <link href="{$url}/atom.xml" rel="self" title="/home/adrian" type="application/atom+xml"/>
+ <link href="{$url}" rel="alternate" title="Start @ /home/adrian" type="text/xhtml"/>
<id>
<xsl:value-of select="concat($url, '/')"/>
@@ -57,7 +58,7 @@
<title>
<xsl:value-of select="title"/>
</title>
- <link>
+ <link rel="alternate" title="{title}">
<xsl:attribute name="href">
<xsl:value-of select="$url"/>
<xsl:text>/article/</xsl:text>