summaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
Diffstat (limited to 'template')
-rw-r--r--template/rss-item.xml4
-rw-r--r--template/rss.xml3
2 files changed, 5 insertions, 2 deletions
diff --git a/template/rss-item.xml b/template/rss-item.xml
index 0a86187..f27bf1a 100644
--- a/template/rss-item.xml
+++ b/template/rss-item.xml
@@ -1,7 +1,9 @@
<item>
<title>$title</title>
<link>$link</link>
-<description>$description</description>
+<description><![CDATA[
+$description
+]]></description>
<guid isPermaLink="false">$guid</guid>
<pubDate>$pubDate</pubDate>
</item>
diff --git a/template/rss.xml b/template/rss.xml
index 4f519ac..61f0df9 100644
--- a/template/rss.xml
+++ b/template/rss.xml
@@ -1,7 +1,8 @@
-<rss version="2.0">
+<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>blog.vdouillet.fr</title>
<link>$link</link>
+<atom:link href="$linkrss.xml" rel="self" type="application/rss+xml" />
<description>Humble ramblings about IT and occasionally other topics</description>
<language>en-us</language>
<pubDate>$pubDate</pubDate>