<?xml version="1.0" encoding="UTF-8"?>
-<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}}'/>
+<feed xmlns:activity='http://activitystrea.ms/spec/1.0/' xmlns='http://www.w3.org/2005/Atom' xmlns:poco="http://portablecontacts.net/spec/1.0"><link rel='hub' href='{{hub_url}}'/><link rel='self' href='{{feed_url}}' type="application/atom+xml"/>
<author>
<uri>{{feed_url}}</uri>
<name>{{user}}</name>
<object-type xmlns='http://activitystrea.ms/spec/1.0/'>http://activitystrea.ms/schema/1.0/person</object-type>
+ <poco:preferredUsername>{{user}}</poco:preferredUsername>
</author>
<title>{{user}}'s tidslinje</title>
<id>{{feed_url}}</id>
<updated>{{arrow.now().isoformat()}}</updated>
{% for entry in entries %}
- <entry>
+ {{entry['text']}}
+ {# <entry>
<id>tag:frykholm.com,2016:{{entry['id']}}</id>
<title>titeln</title>
<updated>{{arrow.get(entry['ts']).isoformat()}}</updated>
- <activity:verb>
- http://activitystrea.ms/schema/1.0/post
- </activity:verb>
+ <activity:object-type>http://activitystrea.ms/schema/1.0/note</activity:object-type>
+ <activity:verb>http://activitystrea.ms/schema/1.0/post</activity:verb>
<content type="html" >
{{entry['text']}}
</content>
<activity:object-type>
http://activitystrea.ms/schema/1.0/article
</activity:object-type>
- </entry>
+ </entry> #}
{% end %}
</feed>