blob: c423e7b0075fc18e75520f17d6a0c9a4aa1d6cfb (
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
|
{% from 'feed_description.html' import item_desc %}
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<id>{{ title_url }}</id>
<title>{{ pageTitle|e }}</title>
{% if project_url -%}
<link rel="self" href="{{ title_url }}/atom"/>
<link rel="alternate" href="{{ title_url }}"/>
{% endif %}
{%- if description -%}
<subtitle>{{ description }}</subtitle>
{% endif %}
{%- if rfc3339_pubdate -%}
<updated>{{ rfc3339_pubdate }}</updated>
{% endif -%}
<author>
<name>BuildBot</name>
</author>
{% for b in builds -%}
<entry>
<title>{{ b.pageTitle }}</title>
<link href="{{ b.link }}"/>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
{{ item_desc(b, title_url, title)|indent(6) }}
<pre xml:space="preserve">{{ b.log_lines|join('\n')|e }}</pre>
</div>
</content>
{% if b.rfc3339_pubdate -%}
<updated>{{ b.rfc3339_pubdate }}</updated>
<id>{{ b.guid }}</id>
{% endif -%}
<author>Buildbot</author>
</entry>
{% endfor -%}
</feed>
|