diff --git a/boot.php b/boot.php
index 9ff17b466..3d1d884e3 100644
--- a/boot.php
+++ b/boot.php
@@ -9,7 +9,7 @@ require_once("include/pgettext.php");
define ( 'FRIENDIKA_VERSION', '2.2.1061' );
define ( 'DFRN_PROTOCOL_VERSION', '2.21' );
-define ( 'DB_UPDATE_VERSION', 1076 );
+define ( 'DB_UPDATE_VERSION', 1077 );
define ( 'EOL', "
\r\n" );
define ( 'ATOM_TIME', 'Y-m-d\TH:i:s\Z' );
diff --git a/database.sql b/database.sql
index 50697845a..9c43df3db 100644
--- a/database.sql
+++ b/database.sql
@@ -573,3 +573,9 @@ CREATE TABLE IF NOT EXISTS `attach` (
`deny_gid` MEDIUMTEXT NOT NULL
) ENGINE = MYISAM DEFAULT CHARSET=utf8;
+CREATE TABLE IF NOT EXISTS `guid` (
+`id` INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY ,
+`guid` CHAR( 16 ) NOT NULL ,
+INDEX ( `guid` )
+) ENGINE = MYISAM DEFAULT CHARSET=utf8;
+
diff --git a/update.php b/update.php
index 9c55f15cf..4ef362b19 100644
--- a/update.php
+++ b/update.php
@@ -1,6 +1,6 @@
+
+
+ $guid
+ $parent_guid
+ $authorsig
+ $body
+ $handle
+
+
+
\ 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 @@
+
+
+
+ $guid
+ $parent_guid
+ $parentsig
+ $authorsig
+ $body
+ $handle
+
+
+
\ 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 @@
+
+
+
+ $type
+ $guid
+ $parent_guid
+ $authorsig
+ $positive
+ $handle
+
+
+
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 @@
+
+
+
+ $guid
+ $type
+ $parent_guid
+ $parentsig
+ $authrosig
+ $positive
+ $handle
+
+
+
\ 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 @@
+
+
+
+ $body
+ $guid
+ $handle
+ $public
+ $created
+
+
+
\ 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 @@
+
+
+
+ $guid
+ $type
+ $handle
+
+
+
\ 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 @@
+
+
+
+ $sender
+ $recipient
+
+
+
\ No newline at end of file