diff --git a/mod/hostxrd.php b/mod/hostxrd.php
index c7861d26d0..1cc18da7a6 100644
--- a/mod/hostxrd.php
+++ b/mod/hostxrd.php
@@ -4,7 +4,8 @@ function hostxrd_init(&$a) {
header('Access-Control-Allow-Origin: *');
header("Content-type: text/xml");
$tpl = file_get_contents('view/xrd_host.tpl');
- echo str_replace(array('$zroot','$domain'),array(z_root(),z_path()),$tpl);
+ echo str_replace(array(
+ '$zroot','$domain','$zot_post'),array(z_root(),z_path(),z_root() . '/post'),$tpl);
session_write_close();
exit();
diff --git a/mod/xrd.php b/mod/xrd.php
index fcec74336e..dae6e4828b 100644
--- a/mod/xrd.php
+++ b/mod/xrd.php
@@ -45,6 +45,7 @@ function xrd_init(&$a) {
'$profile_url' => $a->get_baseurl() . '/profile/' . $r[0]['nickname'],
'$hcard_url' => $a->get_baseurl() . '/hcard/' . $r[0]['nickname'],
'$atom' => $a->get_baseurl() . '/dfrn_poll/' . $r[0]['nickname'],
+ '$zot_post' => $a->get_baseurl() . '/post/' . $r[0]['nickname'],
'$photo' => $a->get_baseurl() . '/photo/profile/' . $r[0]['uid'] . '.jpg',
'$dspr' => $dspr,
'$salmon' => $a->get_baseurl() . '/salmon/' . $r[0]['nickname'],
diff --git a/view/xrd_host.tpl b/view/xrd_host.tpl
index f1d9707d57..ee687ffa9d 100644
--- a/view/xrd_host.tpl
+++ b/view/xrd_host.tpl
@@ -9,4 +9,17 @@
+
+
+
+
+
+
+
+
diff --git a/view/xrd_person.tpl b/view/xrd_person.tpl
index fd11ad600d..7373499bf5 100644
--- a/view/xrd_person.tpl
+++ b/view/xrd_person.tpl
@@ -5,6 +5,17 @@
$accturi
$profile_url
+
+
+
+
+
+