aboutsummaryrefslogtreecommitdiffstats
path: root/view/api_user_xml.tpl
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-05-05 04:29:45 -0700
committerFriendika <info@friendika.com>2011-05-05 04:29:45 -0700
commit26d748f6d8d7616b4a337350df69898716ec043e (patch)
tree0d09b4644331432b59b5f75c0a0dad121b77c77a /view/api_user_xml.tpl
parentb3fa03d3b4175b565ae7ed9106cb83c43801b558 (diff)
parent976d1eaf4312f8c45af0e16205f573afc5be5136 (diff)
downloadvolse-hubzilla-26d748f6d8d7616b4a337350df69898716ec043e.tar.gz
volse-hubzilla-26d748f6d8d7616b4a337350df69898716ec043e.tar.bz2
volse-hubzilla-26d748f6d8d7616b4a337350df69898716ec043e.zip
Merge pull request #96 from fabrixxm/api
Status.net Api
Diffstat (limited to 'view/api_user_xml.tpl')
-rw-r--r--view/api_user_xml.tpl46
1 files changed, 46 insertions, 0 deletions
diff --git a/view/api_user_xml.tpl b/view/api_user_xml.tpl
new file mode 100644
index 000000000..15517fc42
--- /dev/null
+++ b/view/api_user_xml.tpl
@@ -0,0 +1,46 @@
+<user>
+ <id>$user.id</id>
+ <name>$user.name</name>
+ <screen_name>$user.screen_name</screen_name>
+ <location>$user.location</location>
+ <description>$user.description</description>
+ <profile_image_url>$user.profile_image_url</profile_image_url>
+ <url>$user.url</url>
+ <protected>$user.protected</protected>
+ <followers_count>$user.followers</followers_count>
+ <profile_background_color>$user.profile_background_color</profile_background_color>
+ <profile_text_color>$user.profile_text_color</profile_text_color>
+ <profile_link_color>$user.profile_link_color</profile_link_color>
+ <profile_sidebar_fill_color>$user.profile_sidebar_fill_color</profile_sidebar_fill_color>
+ <profile_sidebar_border_color>$user.profile_sidebar_border_color</profile_sidebar_border_color>
+ <friends_count>$user.friends_count</friends_count>
+ <created_at>$user.created_at</created_at>
+ <favourites_count>$user.favourites_count</favourites_count>
+ <utc_offset>$user.utc_offset</utc_offset>
+ <time_zone>$user.time_zone</time_zone>
+ <profile_background_image_url>$user.profile_background_image_url</profile_background_image_url>
+ <profile_background_tile>$user.profile_background_tile</profile_background_tile>
+ <profile_use_background_image>$user.profile_use_background_image</profile_use_background_image>
+ <notifications></notifications>
+ <geo_enabled>$user.geo_enabled</geo_enabled>
+ <verified>$user.verified</verified>
+ <following></following>
+ <statuses_count>$user.statuses_count</statuses_count>
+ <lang>$user.lang</lang>
+ <contributors_enabled>$user.contributors_enabled</contributors_enabled>
+ <status>{{ if $user.status }}
+ <created_at>$user.status.created_at</created_at>
+ <id>$user.status.id</id>
+ <text>$user.status.text</text>
+ <source>$user.status.source</source>
+ <truncated>$user.status.truncated</truncated>
+ <in_reply_to_status_id>$user.status.in_reply_to_status_id</in_reply_to_status_id>
+ <in_reply_to_user_id>$user.status.in_reply_to_user_id</in_reply_to_user_id>
+ <favorited>$user.status.favorited</favorited>
+ <in_reply_to_screen_name>$user.status.in_reply_to_screen_name</in_reply_to_screen_name>
+ <geo>$user.status.geo</geo>
+ <coordinates>$user.status.coordinates</coordinates>
+ <place>$user.status.place</place>
+ <contributors>$user.status.contributors</contributors>
+ {{ endif }}</status>
+</user> \ No newline at end of file