From 894e126c55b2e56c2e63aaa59e1bae00d4221e33 Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Mon, 9 Apr 2012 11:49:33 +0200 Subject: [PATCH] API: Tweetdeck is now working --- view/api_timeline_xml.tpl | 41 ++++++++++++------------- view/api_user_xml.tpl | 64 +++++++++++++++++++-------------------- 2 files changed, 51 insertions(+), 54 deletions(-) diff --git a/view/api_timeline_xml.tpl b/view/api_timeline_xml.tpl index 17860ca613..551439682a 100644 --- a/view/api_timeline_xml.tpl +++ b/view/api_timeline_xml.tpl @@ -1,22 +1,19 @@ - - {{ for $statuses as $status }} - - $status.created_at - $status.id - $status.text - $status.statusnet_html - $status.source - $status.truncated - $status.url - $status.in_reply_to_status_id - $status.in_reply_to_user_id - $status.favorited - $status.in_reply_to_screen_name - $status.geo - $status.coordinates - $status.place - $status.contributors - {{ inc api_user_xml.tpl with $user=$status.user }}{{ endinc }} - - {{ endfor }} - \ No newline at end of file + +{{ for $statuses as $status }} + $status.text + $status.truncated + $status.created_at + $status.in_reply_to_status_id + $status.source + $status.id + $status.in_reply_to_user_id + $status.in_reply_to_screen_name + $status.geo + $status.favorited +{{ inc api_user_xml.tpl with $user=$status.user }}{{ endinc }} $status.statusnet_html + $status.url + $status.coordinates + $status.place + $status.contributors + +{{ endfor }} diff --git a/view/api_user_xml.tpl b/view/api_user_xml.tpl index f1e122f3e8..d286652c03 100644 --- a/view/api_user_xml.tpl +++ b/view/api_user_xml.tpl @@ -1,34 +1,34 @@ - - $user.id - $user.name - $user.screen_name - $user.location - $user.description - $user.profile_image_url - $user.url - $user.protected - $user.followers_count - $user.profile_background_color - $user.profile_text_color - $user.profile_link_color - $user.profile_sidebar_fill_color - $user.profile_sidebar_border_color - $user.friends_count - $user.created_at - $user.favourites_count - $user.utc_offset - $user.time_zone - $user.profile_background_image_url - $user.profile_background_tile - $user.profile_use_background_image - $user.notifications - $user.geo_enabled - $user.verified - $user.following - $user.statuses_count - $user.lang - $user.contributors_enabled - {{ if $user.status }} + + $user.id + $user.name + $user.screen_name + $user.location + $user.description + $user.profile_image_url + $user.url + $user.protected + $user.followers_count + $user.friends_count + $user.created_at + $user.favourites_count + $user.utc_offset + $user.time_zone + $user.statuses_count + $user.following + $user.profile_background_color + $user.profile_text_color + $user.profile_link_color + $user.profile_sidebar_fill_color + $user.profile_sidebar_border_color + $user.profile_background_image_url + $user.profile_background_tile + $user.profile_use_background_image + $user.notifications + $user.geo_enabled + $user.verified + $user.lang + $user.contributors_enabled + {{ if $user.status }} $user.status.created_at $user.status.id $user.status.text @@ -43,4 +43,4 @@ $user.status.place $user.status.contributors {{ endif }} - +