aboutsummaryrefslogtreecommitdiffstats
path: root/lib/python2.7/site-packages/buildbot-0.8.8-py2.7.egg/buildbot/status/web/templates/feed_rss20.xml
blob: 9f30112a3f7c2f17456f583efc7a82f2c27842d6 (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
{% from 'feed_description.html' import item_desc %}

<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>{{ pageTitle|e }}</title>
    <link>{{ title_url }}</link>
    <atom:link href="{{ title_url }}rss" rel="self" type="application/rss+xml"/>
    {% if language -%}
    <language>{{ language }}</language>
    {% endif %}
    {%- if description -%}
    <description>{{ description }}</description>
    {% endif %}
    {%- if rfc822_pubdate -%}
    <pubDate>{{ rfc822_pubdate }}</pubDate>
    {% endif %}

    {% for b in builds -%}
    <item>
      <title>{{ b.pageTitle }}</title>
      <link>{{ b.link }}</link>
      <description>
        <![CDATA[
          {{ item_desc(b, title_url, title)|indent(8) }}
          <pre>{{ b.log_lines|join('\n')|e }}</pre>
        ]]>
      </description>
      {% if b.rfc822_pubdate -%}
      <pubDate>{{ b.rfc822_pubdate }}</pubDate>
      <guid isPermaLink="false">{{ b.guid }}</guid>
      {%- endif %}

    </item>

    {% endfor %}

  </channel>
</rss>