diff options
Diffstat (limited to 'view')
-rw-r--r-- | view/api_timeline_atom.tpl | 2 | ||||
-rw-r--r-- | view/diaspora_photo.tpl | 13 |
2 files changed, 14 insertions, 1 deletions
diff --git a/view/api_timeline_atom.tpl b/view/api_timeline_atom.tpl index 0e427feaa..fb4f51f59 100644 --- a/view/api_timeline_atom.tpl +++ b/view/api_timeline_atom.tpl @@ -83,7 +83,7 @@ <poco:primary>true</poco:primary> </poco:urls> </author> - <link rel="ostatus:conversation" href="$status.url"/> + <link rel="ostatus:conversation" type="text/html" href="$status.url"/> </entry> {{ endfor }} diff --git a/view/diaspora_photo.tpl b/view/diaspora_photo.tpl new file mode 100644 index 000000000..75ca7f15c --- /dev/null +++ b/view/diaspora_photo.tpl @@ -0,0 +1,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> + </photo> + </post> +</XML>
\ No newline at end of file |