]> git.mxchange.org Git - friendica.git/commitdiff
Diaspora-XML-Templates: Added provider name and some rearrangements to fit the exact...
authorMichael Vogel <icarus@dabo.de>
Mon, 21 Apr 2014 23:01:21 +0000 (01:01 +0200)
committerMichael Vogel <icarus@dabo.de>
Mon, 21 Apr 2014 23:01:21 +0000 (01:01 +0200)
view/templates/diaspora_like.tpl
view/templates/diaspora_like_relay.tpl
view/templates/diaspora_photo.tpl
view/templates/diaspora_post.tpl
view/templates/diaspora_profile.tpl
view/templates/diaspora_relayable_retraction.tpl
view/templates/diaspora_retract.tpl

index 1d58d5d3f3dacf86bcf5b0ae8a920b398b15b697..b35ec46adf84ab4fe71eb91a2ccc4ffc71b42ef6 100644 (file)
@@ -6,11 +6,11 @@
 <XML>
   <post>
     <like>
-      <target_type>{{$target_type}}</target_type>
+      <positive>{{$positive}}</positive>
       <guid>{{$guid}}</guid>
+      <target_type>{{$target_type}}</target_type>
       <parent_guid>{{$parent_guid}}</parent_guid>
       <author_signature>{{$authorsig}}</author_signature>
-      <positive>{{$positive}}</positive>
       <diaspora_handle>{{$handle}}</diaspora_handle>
     </like>
   </post>
index 7a55d8b203ed60034a238a95a1f59c571d6f6d89..379bf0f459e418857fd8c25aba94a51ec912267c 100644 (file)
@@ -6,12 +6,12 @@
 <XML>
   <post>
     <like>
+      <positive>{{$positive}}</positive>
       <guid>{{$guid}}</guid>
       <target_type>{{$target_type}}</target_type>
       <parent_guid>{{$parent_guid}}</parent_guid>
       <parent_author_signature>{{$parentsig}}</parent_author_signature>
       <author_signature>{{$authorsig}}</author_signature>
-      <positive>{{$positive}}</positive>
       <diaspora_handle>{{$handle}}</diaspora_handle>
     </like>
   </post>
index b6220346c4b240b5581c6a72e12c9ccb772e2e3d..258a9c2f4a500d23deb1f06f1a521f051b7b5678 100644 (file)
@@ -6,13 +6,13 @@
 <XML>
   <post>
     <photo>
-      <remote_photo_path>{{$path}}</remote_photo_path>
-      <remote_photo_name>{{$filename}}</remote_photo_name>
-      <status_message_guid>{{$msg_guid}}</status_message_guid>
       <guid>{{$guid}}</guid>
       <diaspora_handle>{{$handle}}</diaspora_handle>
       <public>{{$public}}</public>
       <created_at>{{$created_at}}</created_at>
+      <remote_photo_path>{{$path}}</remote_photo_path>
+      <remote_photo_name>{{$filename}}</remote_photo_name>
+      <status_message_guid>{{$msg_guid}}</status_message_guid>
     </photo>
   </post>
-</XML>
\ No newline at end of file
+</XML>
index 2817f7d4a0d768398286f54eeebefe69b6c4e0c9..b5a79c1949bea8273041dc473637570db607ae67 100644 (file)
@@ -11,6 +11,7 @@
       <diaspora_handle>{{$handle}}</diaspora_handle>
       <public>{{$public}}</public>
       <created_at>{{$created}}</created_at>
+      <provider_display_name>{{$provider}}</provider_display_name>
     </status_message>
   </post>
-</XML>
\ No newline at end of file
+</XML>
index 11aaf10550753ecbe4deb508fae11fe5a34709ca..e57b82820e5a11c2243fff8e7dcf2e9c73652c6e 100644 (file)
@@ -9,13 +9,13 @@
   <first_name>{{$first}}</first_name>
   <last_name>{{$last}}</last_name>
   <image_url>{{$large}}</image_url>
-  <image_url_small>{{$small}}</image_url_small>
   <image_url_medium>{{$medium}}</image_url_medium>
+  <image_url_small>{{$small}}</image_url_small>
   <birthday>{{$dob}}</birthday>
   <gender>{{$gender}}</gender>
   <bio>{{$about}}</bio>
   <location>{{$location}}</location>
   <searchable>{{$searchable}}</searchable>
   <tag_string>{{$tags}}</tag_string>
-</profile></post>
-      </XML>
+ </profile></post>
+</XML>
index 138cbdb317482edb364a6264f07f3720f1d26414..c25e13db1167e4c183c1f863dd0108688f15d49f 100644 (file)
@@ -6,11 +6,11 @@
 <XML>
   <post>
     <relayable_retraction>
-      <target_type>{{$target_type}}</target_type>
-      <target_guid>{{$guid}}</target_guid>
       <parent_author_signature>{{$parentsig}}</parent_author_signature>
-      <target_author_signature>{{$authorsig}}</target_author_signature>
+      <target_guid>{{$guid}}</target_guid>
+      <target_type>{{$target_type}}</target_type>
       <sender_handle>{{$handle}}</sender_handle>
+      <target_author_signature>{{$authorsig}}</target_author_signature>
     </relayable_retraction>
   </post>
 </XML>
index 103bfc9d5ca2040e878fbe5e3aba42394ec26ea8..345f4bcb66fa082ed19dcd09bb2186735b4f29d7 100644 (file)
@@ -7,8 +7,8 @@
   <post>
     <retraction>
       <post_guid>{{$guid}}</post_guid>
-      <type>{{$type}}</type>
       <diaspora_handle>{{$handle}}</diaspora_handle>
+      <type>{{$type}}</type>
     </retraction>
   </post>
-</XML>
\ No newline at end of file
+</XML>