]> git.frykholm.com Git - friends.git/blobdiff - friends/templates/feed.xml
Change schema to store xml directly to db
[friends.git] / friends / templates / feed.xml
index 320eb65d6ba20512c635b8986d3437ece800d9bd..eee839ab5ff6bc636629edf343879e0e7e9db9cd 100644 (file)
   <id>{{feed_url}}</id>
  <updated>{{arrow.now().isoformat()}}</updated>
   {% for entry in entries %}
   <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>
     <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>
     <content type="html" >
        {{entry['text']}}
     </content>
     <activity:object-type>
         http://activitystrea.ms/schema/1.0/article
     </activity:object-type>
-  </entry>
+  </entry> #}
   {% end %}
   
 </feed>
   {% end %}
   
 </feed>