p0c-website

Proof of concepts for fun and profit
git clone https://git.in0rdr.ch/p0c-website.git
Log | Files | Refs | Pull requests | README | LICENSE

feed.xml (1204B)


      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 }}{{ site.baseurl }}/</link>
     10     <atom:link href="{{ "/feed.xml" | relative_url }}" rel="self" type="application/rss+xml"/>
     11     <pubDate>{{ site.time | date_to_rfc822 }}</pubDate>
     12     <lastBuildDate>{{ site.time | date_to_rfc822 }}</lastBuildDate>
     13     <generator>Jekyll v{{ jekyll.version }}</generator>
     14     {% for post in site.posts limit:10 %}
     15       <item>
     16         <title>{{ post.title | xml_escape }}</title>
     17         <description>{{ post.content | xml_escape }}</description>
     18         <pubDate>{{ post.date | date_to_rfc822 }}</pubDate>
     19         <link>{{ post.url | relative_url }}</link>
     20         <guid isPermaLink="true">{{ post.url | relative_url }}</guid>
     21         {% for tag in post.tags %}
     22         <category>{{ tag | xml_escape }}</category>
     23         {% endfor %}
     24         {% for cat in post.categories %}
     25         <category>{{ cat | xml_escape }}</category>
     26         {% endfor %}
     27       </item>
     28     {% endfor %}
     29   </channel>
     30 </rss>