atom.xml 818 B

12345678910111213141516171819202122232425262728
  1. ---
  2. layout: null
  3. ---
  4. <?xml version="1.0" encoding="utf-8"?>
  5. <feed xmlns="http://www.w3.org/2005/Atom">
  6. <title>{{ site.title }}</title>
  7. <link href="{{ site.url }}{{ site.baseurl }}/atom.xml" rel="self"/>
  8. <link href="{{ site.url }}{{ site.baseurl }}/"/>
  9. <updated>{{ site.time | date_to_xmlschema }}</updated>
  10. <id>{{ site.url }}</id>
  11. <author>
  12. <name>{{ site.author.name }}</name>
  13. <email>{{ site.author.email }}</email>
  14. </author>
  15. {% for post in site.posts %}
  16. <entry>
  17. <title>{{ post.title | xml_escape }}</title>
  18. <link href="{{ site.url }}{{ site.baseurl }}{{ post.url }}"/>
  19. <updated>{{ post.date | date_to_xmlschema }}</updated>
  20. <id>{{ site.url }}{{ post.id }}</id>
  21. <content type="html">{{ post.content | xml_escape }}</content>
  22. </entry>
  23. {% endfor %}
  24. </feed>