aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-08-03 22:05:20 -0700
committerFriendika <info@friendika.com>2011-08-03 22:05:20 -0700
commit639204c2ec29ccd74fbc2cb1eb597cca86e84f27 (patch)
tree2ac99a66c2ce3ac885c976de3a48a9142adaa872 /view
parentd45a66e700a62626007b05ef1b78dff8f0931210 (diff)
downloadvolse-hubzilla-639204c2ec29ccd74fbc2cb1eb597cca86e84f27.tar.gz
volse-hubzilla-639204c2ec29ccd74fbc2cb1eb597cca86e84f27.tar.bz2
volse-hubzilla-639204c2ec29ccd74fbc2cb1eb597cca86e84f27.zip
diaspora structures
Diffstat (limited to 'view')
-rw-r--r--view/diaspora_comment.tpl11
-rw-r--r--view/diaspora_comment_relay.tpl12
-rw-r--r--view/diaspora_like.tpl12
-rw-r--r--view/diaspora_like_relay.tpl13
-rw-r--r--view/diaspora_post.tpl11
-rw-r--r--view/diaspora_retract.tpl9
-rw-r--r--view/diaspora_share.tpl8
7 files changed, 76 insertions, 0 deletions
diff --git a/view/diaspora_comment.tpl b/view/diaspora_comment.tpl
new file mode 100644
index 000000000..6ef4ab664
--- /dev/null
+++ b/view/diaspora_comment.tpl
@@ -0,0 +1,11 @@
+<XML>
+ <post>
+ <comment>
+ <guid>$guid</guid>
+ <parent_guid>$parent_guid</parent_guid>
+ <author_signature>$authorsig</author_signature>
+ <text>$body</text>
+ <diaspora_handle>$handle</diaspora_handle>
+ </comment>
+ </post>
+</XML> \ No newline at end of file
diff --git a/view/diaspora_comment_relay.tpl b/view/diaspora_comment_relay.tpl
new file mode 100644
index 000000000..e82de1171
--- /dev/null
+++ b/view/diaspora_comment_relay.tpl
@@ -0,0 +1,12 @@
+<XML>
+ <post>
+ <comment>
+ <guid>$guid</guid>
+ <parent_guid>$parent_guid</parent_guid>
+ <parent_author_signature>$parentsig</parent_author_signature>
+ <author_signature>$authorsig</author_signature>
+ <text>$body</text>
+ <diaspora_handle>$handle</diaspora_handle>
+ </comment>
+ </post>
+</XML> \ No newline at end of file
diff --git a/view/diaspora_like.tpl b/view/diaspora_like.tpl
new file mode 100644
index 000000000..76356eb29
--- /dev/null
+++ b/view/diaspora_like.tpl
@@ -0,0 +1,12 @@
+<XML>
+ <post>
+ <like>
+ <target_type>$type</target_type>
+ <guid>$guid</guid>
+ <parent_guid>$parent_guid</parent_guid>
+ <author_signature>$authorsig</author_signature>
+ <positive>$positive</positive>
+ <diaspora_handle>$handle</diaspora_handle>
+ </like>
+ </post>
+</XML>
diff --git a/view/diaspora_like_relay.tpl b/view/diaspora_like_relay.tpl
new file mode 100644
index 000000000..6feba96ad
--- /dev/null
+++ b/view/diaspora_like_relay.tpl
@@ -0,0 +1,13 @@
+<XML>
+ <post>
+ <like>
+ <guid>$guid</guid>
+ <target_type>$type</target_type>
+ <parent_guid>$parent_guid</parent_guid>
+ <parent_author_signature>$parentsig</parent_author_signature>
+ <author_signature>$authrosig</author_signature>
+ <positive>$positive</positive>
+ <diaspora_handle>$handle</diaspora_handle>
+ </like>
+ </post>
+</XML> \ No newline at end of file
diff --git a/view/diaspora_post.tpl b/view/diaspora_post.tpl
new file mode 100644
index 000000000..1ba3ebb1f
--- /dev/null
+++ b/view/diaspora_post.tpl
@@ -0,0 +1,11 @@
+<XML>
+ <post>
+ <status_message>
+ <raw_message>$body</raw_message>
+ <guid>$guid</guid>
+ <diaspora_handle>$handle</diaspora_handle>
+ <public>$public</public>
+ <created_at>$created</created_at>
+ </status_message>
+ </post>
+</XML> \ No newline at end of file
diff --git a/view/diaspora_retract.tpl b/view/diaspora_retract.tpl
new file mode 100644
index 000000000..6d5b6e22b
--- /dev/null
+++ b/view/diaspora_retract.tpl
@@ -0,0 +1,9 @@
+<XML>
+ <post>
+ <retraction>
+ <post_guid>$guid</post_guid>
+ <type>$type</type>
+ <diaspora_handle>$handle</diaspora_handle>
+ </retraction>
+ </post>
+</XML> \ No newline at end of file
diff --git a/view/diaspora_share.tpl b/view/diaspora_share.tpl
new file mode 100644
index 000000000..c16341b1e
--- /dev/null
+++ b/view/diaspora_share.tpl
@@ -0,0 +1,8 @@
+<XML>
+ <post>
+ <request>
+ <sender_handle>$sender</sender_handle>
+ <recipient_handle>$recipient</recipient_handle>
+ </request>
+ </post>
+</XML> \ No newline at end of file