Build a beautiful and simple website in literally minutes. Demo at http://deanattali.com/beautiful-jekyll

feed.xml 923B

123456789101112131415161718192021222324
  1. ---
  2. layout: null
  3. ---
  4. <?xml version="1.0" encoding="UTF-8"?>
  5. <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  6. <channel>
  7. <title>{{ site.title | xml_escape }}</title>
  8. <description>{{ site.description | xml_escape }}</description>
  9. <link>{{ site.url }}</link>
  10. <atom:link href="{{ site.url }}/feed.xml" rel="self" type="application/rss+xml" />
  11. {% for post in site.posts limit:20 %}
  12. <item>
  13. <title>{{ post.title | xml_escape }}</title>
  14. <description>
  15. {% if post.subtitle %}{{ post.subtitle | xml_escape }} - {% endif %}
  16. {{ post.content | strip_html | xml_escape | truncatewords: 50 }}
  17. </description>
  18. <pubDate>{{ post.date | date: "%a, %d %b %Y %H:%M:%S %z" }}</pubDate>
  19. <link>{{ site.url }}{{ post.url }}</link>
  20. <guid isPermaLink="true">{{ site.url }}{{ post.url }}</guid>
  21. </item>
  22. {% endfor %}
  23. </channel>
  24. </rss>