From 976d1eaf4312f8c45af0e16205f573afc5be5136 Mon Sep 17 00:00:00 2001 From: fabrixxm Date: Wed, 27 Apr 2011 17:46:23 +0200 Subject: API work --- view/api_timeline_atom.tpl | 58 ++++++++++++++++++++++++++++++---------------- view/api_timeline_rss.tpl | 44 +++++++++++++++++------------------ 2 files changed, 59 insertions(+), 43 deletions(-) (limited to 'view') diff --git a/view/api_timeline_atom.tpl b/view/api_timeline_atom.tpl index 63782ce36..069ff7651 100644 --- a/view/api_timeline_atom.tpl +++ b/view/api_timeline_atom.tpl @@ -1,21 +1,39 @@ - - - Friendika - $rss.alternate - - Friendika timeline - $rss.language - 40 + + StatusNet + tag:friendika:PublicTimeline + Network on Friendika + Your network updates on Friendika + $rss.logo + $rss.updated + + + {{ for $statuses as $status }} + + $status.objecttype + $status.id + $status.text + $status.html + + $status.verb + $status.created_at + $status.created_at -{{ for $statuses as $status }} - - $status.text - $status.text - $status.created_at - $status.url - $status.url - $status.source - -{{ endfor }} - - \ No newline at end of file + + + + + + + + {{ endfor }} + diff --git a/view/api_timeline_rss.tpl b/view/api_timeline_rss.tpl index d07ac42ad..fbba93ee9 100644 --- a/view/api_timeline_rss.tpl +++ b/view/api_timeline_rss.tpl @@ -1,23 +1,21 @@ - - Friendika - tag:friendika:Status - - - $rss.updated - Friendika timeline - {{ for $statuses as $status }} - - $status.text - $status.text - $status.id - $status.created_at - $status.created_at - - - $status.user.name - $status.user.url - - $status.source - - {{ endfor }} - \ No newline at end of file + + + Friendika + $rss.alternate + + Friendika timeline + $rss.language + 40 + +{{ for $statuses as $status }} + + $status.text + $status.text + $status.created_at + $status.url + $status.url + $status.source + +{{ endfor }} + + -- cgit v1.2.3