summaryrefslogtreecommitdiff
path: root/art/plt/rss.xml
blob: 60d28072ca4d2074e7417673644bc71f1336c80e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0"
  xml:base="https://static.luevano.xyz"
  xmlns:atom="http://www.w3.org/2005/Atom"
  xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>{{config.get("info", "title")}}</title>
    <link>{{config.get("url", "main")}}</link>
    <atom:link href="{{config.get("url", "main")}}/rss.xml" rel="self" type="application/rss+xml"/>
    <description>A personal collection of drawings, sketches and more art related stuff.</description>
    <language>en-us</language>
    <category>Art</category>
    <copyright>Copyright 2021 David Luévano Alvarado</copyright>
    <managingEditor>david@luevano.xyz (David Luévano Alvarado)</managingEditor>
    <webMaster>david@luevano.xyz (David Luévano Alvarado)</webMaster>
    <pubDate>{{config.get("info", "rss_run_date")}}</pubDate>
    <lastBuildDate>{{config.get("info", "rss_run_date")}}</lastBuildDate>
    <generator>pyssg v{{config.get("info", "version")}}</generator>
    <docs>https://validator.w3.org/feed/docs/rss2.html</docs>
    <ttl>30</ttl>
    <image>
      <url>{{config.get("url", "static")}}{{config.get("url", "default_image")}}</url>
      <title>{{config.get("info", "title")}}</title>
      <link>{{config.get("url", "main")}}</link>
    </image>
    {%for p in all_pages%}
    <item>
      <title>{{p.title}}</title>
      <link>{{p.url}}</link>
      <guid isPermaLink="true">{{p.url}}</guid>
      <pubDate>{{p.cdate_rss}}</pubDate>
      {%for t in p.tags%}
      <category>{{t[0].lower().capitalize()}}</category>
      {%endfor%}
      <description>{{p.summary}}</description>
      <content:encoded><![CDATA[{{p.content}}]]></content:encoded>
    </item>
    {%endfor%}
  </channel>
</rss>