]> git.phdru.name Git - phdru.name/phdru.name.git/blobdiff - atom_10.tmpl
Made baseURL language-dependent directory. Added link to self.
[phdru.name/phdru.name.git] / atom_10.tmpl
index eadc7ce7a78695ad9e2dfe96f4b2167d9253b906..0cc3ce88431f0420b4c2bfa51dcba980a74af465 100644 (file)
@@ -1,8 +1,9 @@
 <?xml version="1.0" encoding="koi8-r"?>
 <feed xmlns="http://www.w3.org/2005/Atom">
   <title>$title</title>
-  <id>$baseURL</id>
-  <link rel="alternate" type="text/html" href="$baseURL" />
+  <id>$baseURL/news.html</id>
+  <link rel="self" type="application/atom+xml" href="$baseURL/atom_10.xml" />
+  <link rel="alternate" type="text/html" href="$baseURL/news.html" />
   <updated>${posts[0].date}T00:00:00Z</updated>
   <author>
     <name>$author</name>