]> git.phdru.name Git - phdru.name/phdru.name.git/blobdiff - atom_10.tmpl
Feat(blog): Encode tags
[phdru.name/phdru.name.git] / atom_10.tmpl
index 0cc3ce88431f0420b4c2bfa51dcba980a74af465..6839121edc1ab8b04ffb3c684151f3cf92351fb9 100644 (file)
@@ -1,15 +1,16 @@
 <?xml version="1.0" encoding="koi8-r"?>
 <feed xmlns="http://www.w3.org/2005/Atom">
   <title>$title</title>
-  <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" />
+  <id>$baseURL$indexFile</id>
+  <link rel="self" type="application/atom+xml" href="${baseURL}atom_10.xml" />
+  <link rel="alternate" type="application/rss+xml" href="${baseURL}rss_20.xml" />
+  <link rel="alternate" type="text/html" href="$baseURL$indexFile" />
   <updated>${posts[0].date}T00:00:00Z</updated>
   <author>
     <name>$author</name>
     <email>$email</email>
   </author>
-  <generator uri="http://phd.pp.ru/about/make/make-news.py.txt">http://phd.pp.ru/about/</generator>
+  <generator uri="https://phdru.name/about/make/${generator}.txt">https://phdru.name/about/make/${generator}.txt</generator>
 #for $post in $posts
   <entry>
     <title>$post.title</title>
 #filter WebSafe
 $post.excerpt
 &lt;p&gt;&lt;a href="$post.URL"&gt;Read more&lt;/a&gt;&amp;hellip;&lt;/p&gt;
-#filter Filter
+#end filter
     </summary>
 #end if
 #if $post.content
     <content type="html" mode="escaped">
 #filter WebSafe
 $post.content
-#filter Filter
+#end filter
     </content>
 #end if
 #for $c in $post.categoryList