You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

atom.xml 1.5KB

123456789101112131415161718192021222324252627282930313233343536
  1. ---
  2. layout: null
  3. ---
  4. <?xml version="1.0" encoding="utf-8"?>
  5. <feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  6. <title type="text">{{ site.title }}</title>
  7. <generator uri="http://jekyllrb.com/">Jekyll</generator>
  8. <link rel="self" type="application/atom+xml" href="{{ site.url }}/atom.xml"/>
  9. <link rel="alternate" type="text/html" href="{{ site.url }}"/>
  10. <updated>{{ site.time | date_to_xmlschema }}</updated>
  11. <id>{{ site.url }}/</id>
  12. <author>
  13. <name>{{ site.owner.name }}</name>
  14. <uri>{{ site.url }}/</uri>
  15. <email>{{ site.owner.email }}</email>
  16. </author>
  17. {% for post in site.posts limit:20 %}
  18. <entry>
  19. <id>{{ site.url }}{{ post.id }}</id>
  20. <link type="text/html" rel="alternate" href="{{ site.url }}{{ post.url }}"/>
  21. <title type="html"><![CDATA[{{ post.title | cdata_escape }}]]></title>
  22. <published>{{ post.date | date_to_xmlschema }}</published>
  23. <updated>{% if post.modified %}{{ post.modified | to_xmlschema }}T00:00:00-00:00{% else %}{{ post.date | date_to_xmlschema }}{% endif %}</updated>
  24. <author>
  25. <name>{{ site.owner.name }}</name>
  26. <uri>{{ site.url }}/</uri>
  27. <email>{{ site.owner.email }}</email>
  28. </author>
  29. <content type="html">{{ post.content | xml_escape }}
  30. &lt;p&gt;&lt;a href=&quot;{{ site.url }}{{ post.url }}&quot;&gt;{{ post.title }}&lt;/a&gt; was originally published by {{ site.owner.name }} at &lt;a href=&quot;{{ site.url }}/&quot;&gt;{{ site.title }}&lt;/a&gt; on {{ post.date | date: "%B %d, %Y" }}.&lt;/p&gt;</content>
  31. </entry>
  32. {% endfor %}
  33. </feed>