From 296f1b0123edd89b40b48362ffd19134499ef9f3 Mon Sep 17 00:00:00 2001 From: Fabio Comuni Date: Tue, 21 Jun 2011 11:41:16 +0200 Subject: add users infos to rss and atom api responses --- view/api_timeline_atom.tpl | 135 +++++++++++++++++++++++++++++++++++++-------- 1 file changed, 111 insertions(+), 24 deletions(-) (limited to 'view/api_timeline_atom.tpl') diff --git a/view/api_timeline_atom.tpl b/view/api_timeline_atom.tpl index bc677d237..cd91f7a97 100644 --- a/view/api_timeline_atom.tpl +++ b/view/api_timeline_atom.tpl @@ -7,33 +7,120 @@ $rss.updated + + + + http://activitystrea.ms/schema/1.0/person + $user.url + $user.name + + + + + + + $user.screen_name + $user.name + + homepage + $user.url + true + + + + + + + http://activitystrea.ms/schema/1.0/person + $user.url + $user.name + + + + + + $user.screen_name + $user.name + + homepage + $user.url + true + + + + + {{ for $statuses as $status }} - $status.objecttype - $status.id - $status.text - $status.html - - $status.verb - $status.published - $status.updated + $status.objecttype + $status.id + $status.text + $status.html + + $status.verb + $status.published + $status.updated + + + + + + + + + + http://activitystrea.ms/schema/1.0/person + $status.user.url + $status.user.name + + + + + + + $status.user.screen_name + $status.user.name + + + homepage + $status.user.url + true + + + + + + http://activitystrea.ms/schema/1.0/person + $status.user.url + $status.user.name + + + + + + + $status.user.screen_name + $status.user.name + + + homepage + $status.user.url + true + + + + - - - - - - {{ endfor }} -- cgit v1.2.3