]> git.mxchange.org Git - friendica.git/blob - view/api_timeline_atom.tpl
Merge pull request #96 from fabrixxm/api
[friendica.git] / view / api_timeline_atom.tpl
1 <feed xml:lang="en-US" xmlns="http://www.w3.org/2005/Atom" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:georss="http://www.georss.org/georss" xmlns:activity="http://activitystrea.ms/spec/1.0/" xmlns:media="http://purl.org/syndication/atommedia" xmlns:poco="http://portablecontacts.net/spec/1.0" xmlns:ostatus="http://ostatus.org/schema/1.0" xmlns:statusnet="http://status.net/schema/api/1/">
2  <generator uri="http://status.net" version="0.9.7">StatusNet</generator>
3  <id>tag:friendika:PublicTimeline</id>
4  <title>Network on Friendika</title>
5  <subtitle>Your network updates on Friendika</subtitle>
6  <logo>$rss.logo</logo>
7  <updated>$rss.updated</updated>
8  <link type="text/html" rel="alternate" href="$rss.alternate"/>
9  <link type="application/atom+xml" rel="self" href="$rss.self"/>
10         {{ for $statuses as $status }}
11         <entry>
12          <activity:object-type>$status.objecttype</activity:object-type>
13          <id>$status.id</id>
14          <title>$status.text</title>
15          <content type="html">$status.html</content>
16          <link rel="alternate" type="text/html" href="$status.url"/>
17          <activity:verb>$status.verb</activity:verb>
18          <published>$status.created_at</published>
19          <updated>$status.created_at</updated>
20
21          <link rel="ostatus:conversation" href="$status.url"/>
22          <!--
23          <source>
24           <id>http://identi.ca/api/statuses/user_timeline/397830.atom</id>
25           <title>Sin Mobopolitan</title>
26           <link rel="alternate" type="text/html" href="http://identi.ca/mobopolitan"/>
27           <link rel="self" type="application/atom+xml" href="http://identi.ca/api/statuses/user_timeline/397830.atom"/>
28           <link rel="license" href="http://creativecommons.org/licenses/by/3.0/"/>
29           <icon>http://avatar.identi.ca/397830-96-20110312195623.jpeg</icon>
30           <updated>2011-04-21T18:39:32+00:00</updated>
31          </source>
32          -->
33          <link rel="self" type="application/atom+xml" href="$status.self"/>
34          <link rel="edit" type="application/atom+xml" href="$status.edit"/>
35          <statusnet:notice_info local_id="$status.id" source="$status.source" favorite="false" repeated="false">
36          </statusnet:notice_info>
37         </entry>    
38     {{ endfor }}
39 </feed>