changeset 188:ed2e41d35534

Added a link to the self-feed.
author Steve Kemp <steve@steve.org.uk>
date Wed, 02 Apr 2008 15:10:26 +0100
parents 89e2bb1eb828
children 83de58d109f1
files themes/xml/index.xml.template
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/themes/xml/index.xml.template	Wed Apr 02 13:32:59 2008 +0100
+++ b/themes/xml/index.xml.template	Wed Apr 02 15:10:26 2008 +0100
@@ -1,14 +1,14 @@
 <?xml version="1.0" encoding="utf-8"?>
-<rss version='2.0' xmlns:lj='http://www.livejournal.org/rss/lj/1.0/'>
+<rss version='2.0' xmlns:lj='http://www.livejournal.org/rss/lj/1.0/' xmlns:atom="http://www.w3.org/2005/Atom">
 	<channel>
 		<title><!-- tmpl_var name='blog_title' --></title>
 		<description><!-- tmpl_var name='blog_subtitle' --></description>
                 <link><!-- tmpl_var name='top' --></link>
-
+                <atom:link href="<!-- tmpl_var name='top' -->index.rss" rel="self" type="application/rss+xml" />
 	<!-- tmpl_loop name="entries" -->
 	<item>
 		<title><!-- tmpl_var name="title" escape='html' --></title>
-		<link><!-- tmpl_var name='top' --><!-- tmpl_var name='link' --></link>        
+		<link><!-- tmpl_var name='top' --><!-- tmpl_var name='link' --></link>
 		<guid isPermaLink="true"><!-- tmpl_var name='top' --><!-- tmpl_var name='link' --></guid>
                 <pubDate><!-- tmpl_var name='pubdate' --></pubDate>
 		<description><!-- tmpl_var name="body" escape='html' --></description>