Make phorkie search engine friendlier
[phorkie.git] / data / templates / feed-new.htm
1 <?xml version="1.0" encoding="utf-8"?>
2 <feed xmlns="http://www.w3.org/2005/Atom">
3  <title>{{title}}: New pastes</title>
4  <link href="{{url}}"/>
5  <link rel="self" href="{{feedurl}}"/>
6  <id>{{url}}</id>
7 {% set repo = pastes.repos.0 %}
8  <updated>{{repo.crdate|date('c')}}</updated>
9
10 {% for repo in pastes.repos %}
11  <entry>
12   <id>{{repo.getLink('display', null, true)}}</id>
13   <title>{{repo.getTitle}}</title>
14   <updated>{{repo.crdate|date('c')}}</updated>
15   <link rel="alternate" type="text/html" href="{{repo.getLink('display', null, true)}}" />
16   <author>
17    {% set owner=repo.getOwner() %}
18    <name>{{owner.name}}</name>
19    <email>{{owner.email}}</email>
20   </author>
21  </entry>
22 {% endfor %}
23 </feed>