Diaspora-XML-Templates: Added provider name and some rearrangements to fit the exact order of the elements in diaspora (only for the beauty)

This commit is contained in:
Michael Vogel 2014-04-22 01:01:21 +02:00
parent 2c3a5d72fd
commit 9185321c8b
7 changed files with 17 additions and 16 deletions

View 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>

View 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>

View 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>

View 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>

View file

@ -9,8 +9,8 @@
<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>

View 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>

View 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>