­čôŁ Samuel's new personal website https://blog.samuel.domains/
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 2.1 KiB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. ---
  2. layout: null
  3. regenerate: true
  4. ---
  5. <?xml version="1.0" encoding="utf-8"?>
  6. <feed xmlns="http://www.w3.org/2005/Atom">
  7. <id>{{ site.url }}/</id>
  8. <title>{{ site.title | xml_escape }}</title>
  9. <updated>{{ site.time | date_to_xmlschema }}</updated>
  10. <author>
  11. <name>{{ site.author.name | xml_escape }}</name>
  12. <email>{{ site.author.email | xml_escape }}</email>
  13. <uri>{{ site.author.url | xml_escape }}</uri>
  14. </author>
  15. <link rel="self" href="{{ site.url }}/atom.xml" type="application/atom+xml"/>
  16. {%- for category in site.categories %}
  17. <category
  18. term="{{ category[0] | downcase | xml_escape }}"
  19. scheme="{{ site.url }}/blog/{{ category[0] | downcase | xml_escape }}"
  20. label="{{ category[0] | xml_escape }}"/>
  21. {%- endfor %}
  22. <generator uri="https://jekyllrb.com/" version="{{ jekyll.version }}">Jekyll</generator>
  23. <rights>All rights reserved {{ site.author.name | xml_escape }} {{ site.posts.last.date | date: "%Y" }} - {{ "now" | date: "%Y" }}</rights>
  24. <subtitle>{{ site.description | xml_escape }}</subtitle>
  25. {% for post in site.posts limit: site.feed.limit %}
  26. {%- unless post.draft %}
  27. {%- capture post_content -%}
  28. {{ post.content |
  29. re_substitute: '<\bscript\b.*>.*<\/\bscript\b>', '' |
  30. re_substitute: '<\biframe\b.*>.*<\/\biframe\b>', ''
  31. }}
  32. {%- endcapture -%}
  33. <entry>
  34. <id>{{ site.url }}{{ post.url }}</id>
  35. <title>{{ post.title | xml_escape }}</title>
  36. <updated>{{ post.date | date_to_xmlschema }}</updated>
  37. <content type="html">{{ post_content | markdownify | xml_escape }}</content>
  38. <link rel="alternate" type="text/html" href="{{ site.url }}{{ post.url }}"/>
  39. <summary>{{ post.description | xml_escape }}</summary>
  40. <category term="{{ post.category | downcase | xml_escape }}"/>
  41. <published>{{ post.date | date_to_xmlschema }}</published>
  42. </entry>
  43. {%- endunless %}
  44. {% endfor %}
  45. </feed>