]>
Commit | Line | Data |
---|---|---|
ddf4123d MF |
1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | <feed xmlns:activity='http://activitystrea.ms/spec/1.0/' xmlns='http://www.w3.org/2005/Atom'><link rel='hub' href='{{hub_url}}'/><link rel='self' href='{{user}}'/> | |
3 | <author> | |
4 | <uri>{{feed_url}}</uri> | |
5 | <name>{{user}}</name> | |
6 | <object-type xmlns='http://activitystrea.ms/spec/1.0/'>http://activitystrea.ms/schema/1.0/person</object-type> | |
7 | </author> | |
8 | <title>{{user}}'s tidslinje</title> | |
9 | <id>{{feed_url}}</id> | |
10 | <updated>{{arrow.now().isoformat()}}</updated> | |
11 | {% for entry in entries %} | |
12 | <entry> | |
13 | <id>tag:frykholm.com,2016:{{entry['id']}}</id> | |
14 | <title>titeln</title> | |
15 | <updated>{{arrow.get(entry['ts']).isoformat()}}</updated> | |
16 | <activity:verb> | |
17 | http://activitystrea.ms/schema/1.0/post | |
18 | </activity:verb> | |
19 | <content type="html" > | |
20 | {{entry['text']}} | |
21 | </content> | |
22 | <activity:object-type> | |
23 | http://activitystrea.ms/schema/1.0/article | |
24 | </activity:object-type> | |
25 | </entry> | |
26 | {% end %} | |
27 | ||
28 | </feed> |