~fabrixxm/lesanaweb

ref: 12dd1d40be180ce6e406575ea46c0b4fcaba2b8c lesanaweb/templates/atom.xml -rw-r--r-- 586 bytes
12dd1d40 — fabrixxm Add atom feed 6 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">

  <title>{% if q %}Results for '{{ q }}' - {% endif %}{{ settings.name }}</title>
  <link href="{{ siteurl }}" />
  <link href="{{ siteurl }}/atom.xml{% if q %}?q={{ q|urlencode }}{% endif %}" rel="self" />
  <updated></updated>
  <id></id>

  {% for entry in entries %}
  <entry>
    <title>{{ entry }}</title>
    <link href="{{ siteurl }}{{ url_for('entry', eid=entry.eid) }}"/>
    <id>urn:uuid:{{ entry.eid }}</id>
    <updated></updated>
    <summary></summary>
  </entry>
  {% endfor %}

</feed>