raw
1<?xml version="1.0" encoding="UTF-8"?>
2<rss version="2.0">
3 <channel>
4 <title>{{repo|repo_name}} {{branch}} commits</title>
5 <link>{{base_url}}/log</link>
6 <description>
7 Not more than the last 100 commits to the branch {{branch}} of the repository {{repo|repo_name}}:
8 <p>{{repo|description}}</p>
9 </description>
10 <ttl>30</ttl>
11 <generator>bile</generator>
12 <lastBuildDate>{{repo|last_modified|format_datetime("%a, %e %b %Y %T %z")}}</lastBuildDate>
13 <managingEditor>{{repo|repo_owner}}</managingEditor>
14 <docs>https://www.rssboard.org/rss-specification</docs>
15 {% for commit in commits %}
16 <item>
17 <title>{{commit.summary().unwrap_or("")}}</title>
18 <link>{{base_url}}/commit/{{commit.id()}}</link>
19 <guid isPermaLink="true">{{base_url}}/commit/{{commit.id()}}</guid>
20 <description><pre>{{commit.message().unwrap_or("")}}</pre></description>
21 <author>{{commit.author().email().unwrap_or("")}}</author>
22 <pubDate>{{commit.time()|format_datetime("%a, %e %b %Y %T %z")}}</pubDate>
23 </item>
24 {% endfor %}
25 </channel>
26</rss>