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.

notes.xml 1002B

12345678910111213141516171819202122
  1. ---
  2. ---
  3. <?xml version="1.0" encoding="UTF-8"?>
  4. {% capture srcbase %}src="{{site.url}}/{% endcapture %}
  5. <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  6. <channel>
  7. <title>{{ site.title }} notes</title>
  8. <description>notes</description>
  9. <link>{{ site.url }}</link>
  10. <atom:link href="{{ site.url }}/notes.xml" rel="self" type="application/rss+xml" />
  11. <lastBuildDate>{{ site.data.notes.first.date | date_to_rfc822 }}</lastBuildDate>
  12. {% for note in site.data.notes limit: 10 %}
  13. <item>
  14. <title>{{ note.date | date: "%Y-%m-%d" }}</title>
  15. <description>{{ note.content | markdownify | xml_escape }}</description>
  16. <pubDate>{{ note.date | date_to_rfc822 }}</pubDate>
  17. <link>https://i0Ek3.github.io/notes#date-{{ note.date | date: "%Y-%m-%d" }}{{ note.slug }}</link>
  18. <guid isPermaLink="true">https://i0Ek3.github.io/notes#date-{{ note.date | date: "%Y-%m-%d" }}{{ note.slug }}</guid>
  19. </item>
  20. {% endfor %}
  21. </channel>
  22. </rss>