1
1
Fork 0

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> <XML>
<post> <post>
<like> <like>
<target_type>{{$target_type}}</target_type> <positive>{{$positive}}</positive>
<guid>{{$guid}}</guid> <guid>{{$guid}}</guid>
<target_type>{{$target_type}}</target_type>
<parent_guid>{{$parent_guid}}</parent_guid> <parent_guid>{{$parent_guid}}</parent_guid>
<author_signature>{{$authorsig}}</author_signature> <author_signature>{{$authorsig}}</author_signature>
<positive>{{$positive}}</positive>
<diaspora_handle>{{$handle}}</diaspora_handle> <diaspora_handle>{{$handle}}</diaspora_handle>
</like> </like>
</post> </post>

View file

@ -6,12 +6,12 @@
<XML> <XML>
<post> <post>
<like> <like>
<positive>{{$positive}}</positive>
<guid>{{$guid}}</guid> <guid>{{$guid}}</guid>
<target_type>{{$target_type}}</target_type> <target_type>{{$target_type}}</target_type>
<parent_guid>{{$parent_guid}}</parent_guid> <parent_guid>{{$parent_guid}}</parent_guid>
<parent_author_signature>{{$parentsig}}</parent_author_signature> <parent_author_signature>{{$parentsig}}</parent_author_signature>
<author_signature>{{$authorsig}}</author_signature> <author_signature>{{$authorsig}}</author_signature>
<positive>{{$positive}}</positive>
<diaspora_handle>{{$handle}}</diaspora_handle> <diaspora_handle>{{$handle}}</diaspora_handle>
</like> </like>
</post> </post>

View file

@ -6,13 +6,13 @@
<XML> <XML>
<post> <post>
<photo> <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> <guid>{{$guid}}</guid>
<diaspora_handle>{{$handle}}</diaspora_handle> <diaspora_handle>{{$handle}}</diaspora_handle>
<public>{{$public}}</public> <public>{{$public}}</public>
<created_at>{{$created_at}}</created_at> <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> </photo>
</post> </post>
</XML> </XML>

View file

@ -11,6 +11,7 @@
<diaspora_handle>{{$handle}}</diaspora_handle> <diaspora_handle>{{$handle}}</diaspora_handle>
<public>{{$public}}</public> <public>{{$public}}</public>
<created_at>{{$created}}</created_at> <created_at>{{$created}}</created_at>
<provider_display_name>{{$provider}}</provider_display_name>
</status_message> </status_message>
</post> </post>
</XML> </XML>

View file

@ -9,13 +9,13 @@
<first_name>{{$first}}</first_name> <first_name>{{$first}}</first_name>
<last_name>{{$last}}</last_name> <last_name>{{$last}}</last_name>
<image_url>{{$large}}</image_url> <image_url>{{$large}}</image_url>
<image_url_small>{{$small}}</image_url_small>
<image_url_medium>{{$medium}}</image_url_medium> <image_url_medium>{{$medium}}</image_url_medium>
<image_url_small>{{$small}}</image_url_small>
<birthday>{{$dob}}</birthday> <birthday>{{$dob}}</birthday>
<gender>{{$gender}}</gender> <gender>{{$gender}}</gender>
<bio>{{$about}}</bio> <bio>{{$about}}</bio>
<location>{{$location}}</location> <location>{{$location}}</location>
<searchable>{{$searchable}}</searchable> <searchable>{{$searchable}}</searchable>
<tag_string>{{$tags}}</tag_string> <tag_string>{{$tags}}</tag_string>
</profile></post> </profile></post>
</XML> </XML>

View file

@ -6,11 +6,11 @@
<XML> <XML>
<post> <post>
<relayable_retraction> <relayable_retraction>
<target_type>{{$target_type}}</target_type>
<target_guid>{{$guid}}</target_guid>
<parent_author_signature>{{$parentsig}}</parent_author_signature> <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> <sender_handle>{{$handle}}</sender_handle>
<target_author_signature>{{$authorsig}}</target_author_signature>
</relayable_retraction> </relayable_retraction>
</post> </post>
</XML> </XML>

View file

@ -7,8 +7,8 @@
<post> <post>
<retraction> <retraction>
<post_guid>{{$guid}}</post_guid> <post_guid>{{$guid}}</post_guid>
<type>{{$type}}</type>
<diaspora_handle>{{$handle}}</diaspora_handle> <diaspora_handle>{{$handle}}</diaspora_handle>
<type>{{$type}}</type>
</retraction> </retraction>
</post> </post>
</XML> </XML>