]> git.mxchange.org Git - friendica.git/blob - view/api_timeline_xml.tpl
df55d807ad9cb7c5ef80903f909e7d3715b2d63c
[friendica.git] / view / api_timeline_xml.tpl
1 <statuses type="array" xmlns:statusnet="http://status.net/schema/api/1/">
2 {{ for $statuses as $status }} <status>
3   <text>$status.text</text>
4   <truncated>$status.truncated</truncated>
5   <created_at>$status.created_at</created_at>
6   <in_reply_to_status_id>$status.in_reply_to_status_id</in_reply_to_status_id>
7   <source>$status.source</source>
8   <id>$status.id</id>
9   <in_reply_to_user_id>$status.in_reply_to_user_id</in_reply_to_user_id>
10   <in_reply_to_screen_name>$status.in_reply_to_screen_name</in_reply_to_screen_name>
11   <geo>$status.geo</geo>
12   <favorited>$status.favorited</favorited>
13 {{ inc $api_user_xml with $user=$status.user }}{{ endinc }}  <statusnet:html>$status.statusnet_html</statusnet:html>
14   <statusnet:conversation_id>$status.statusnet_conversation_id</statusnet:conversation_id>
15   <url>$status.url</url>
16   <coordinates>$status.coordinates</coordinates>
17   <place>$status.place</place>
18   <contributors>$status.contributors</contributors>
19  </status>
20 {{ endfor }}</statuses>