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.

likes.xml 1.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. ---
  2. sitemap: false
  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="https://github.com/jekyll/jekyll">Jekyll</generator>
  8. <link rel="self" type="application/atom+xml" href="https:{{ site.url }}/feed.xml" />
  9. <link rel="hub" href="https://push.chromic.org" />
  10. <link rel="alternate" type="text/html" href="https:{{ site.url }}" />
  11. <updated>{{ site.time | date_to_xmlschema }}</updated>
  12. <id>https:{{ site.url }}/</id>
  13. <author>
  14. <name>{{ site.owner.name }}</name>
  15. <uri>https:{{ site.url }}/</uri>
  16. {% if site.owner.email %}<email>{{ site.owner.email }}</email>{% endif %}
  17. </author>
  18. {% for post in site.categories.likes limit:20 %}
  19. {% if post.author %}
  20. {% assign author = site.data.authors[post.author] %}
  21. {% else %}
  22. {% assign author = site.owner %}
  23. {% endif %}
  24. <entry>
  25. <title type="html"><![CDATA[{{ post.title | cdata_escape }}]]></title>
  26. <link rel="alternate" type="text/html" href="https:{{ site.url }}{{ post.url }}" />
  27. <id>https:{{ site.url }}{{ post.id }}</id>
  28. {% if post.modified %}<updated>{{ post.modified | to_xmlschema }}T00:00:00-00:00</updated>
  29. <published>{{ post.date | date_to_xmlschema }}</published>
  30. {% else %}<published>{{ post.date | date_to_xmlschema }}</published>
  31. <updated>{{ post.date | date_to_xmlschema }}</updated>{% endif %}
  32. <author>
  33. <name>{{ author.name }}</name>
  34. <uri>https:{{ site.url }}</uri>
  35. {% if author.email %}<email>{{ author.email }}</email>{% endif %}
  36. </author>
  37. <content type="html">
  38. &lt;div class=&quot;entry-content e-content chr-card__content&quot;&gt;
  39. {{ post.content | xml_escape }}
  40. &lt;blockquote cite=&quot;{{ post.target.url }}&quot;&gt;
  41. &lt;a class=&quot;u-like-of&quot; href=&quot;{{ post.target.url }}&quot;&gt;{{ post.target.title }}&lt;/a&gt;
  42. &lt;/blockquote&gt;
  43. &lt;/div&gt;
  44. </content>
  45. </entry>
  46. {% endfor %}
  47. </feed>