rss feed and ryuji improvements
This commit is contained in:
10
templates/atom.xml
Normal file
10
templates/atom.xml
Normal file
@@ -0,0 +1,10 @@
|
||||
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
|
||||
<title>[[ site_info.title ]]</title>
|
||||
<link href="[[ site_info.url ]]"/>
|
||||
<id>[[ site_info.url ]]</id>
|
||||
<updated>[[ last_updated ]]</updated>
|
||||
<icon>[[ site_info.icon ]]</icon>
|
||||
[[ for:recent_posts:post ]]
|
||||
[[ component:post_entry.xml ]]
|
||||
[[ endfor ]]
|
||||
</feed>
|
||||
12
templates/components/post_entry.xml
Normal file
12
templates/components/post_entry.xml
Normal file
@@ -0,0 +1,12 @@
|
||||
<entry>
|
||||
<title>[[ post.title ]]</title>
|
||||
<link href="[[ post.url ]]"/>
|
||||
<id>[[ post.url ]]</id>
|
||||
<updated>[[ post.last_updated ]]</updated>
|
||||
<author>
|
||||
<name>[[ post.author ]]</name>
|
||||
</author>
|
||||
<content type="html">
|
||||
[[ post.html ]]
|
||||
</content>
|
||||
</entry>
|
||||
Reference in New Issue
Block a user