aboutsummaryrefslogtreecommitdiffstats
path: root/mod/profile.php
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-02-01 21:09:50 -0800
committerredmatrix <git@macgirvin.com>2016-02-01 21:09:50 -0800
commit5edbc008659141349857363974f3760c41e7a5e5 (patch)
treeae584fc6becc3bd22ef78314c5fc09cd05110082 /mod/profile.php
parent723a49cceecf92a87eb34243e824b8deb900f184 (diff)
downloadvolse-hubzilla-5edbc008659141349857363974f3760c41e7a5e5.tar.gz
volse-hubzilla-5edbc008659141349857363974f3760c41e7a5e5.tar.bz2
volse-hubzilla-5edbc008659141349857363974f3760c41e7a5e5.zip
profile embeds (still needs a bit of work)
Diffstat (limited to 'mod/profile.php')
-rw-r--r--mod/profile.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/mod/profile.php b/mod/profile.php
index 430d039e9..7ee03a77b 100644
--- a/mod/profile.php
+++ b/mod/profile.php
@@ -75,6 +75,7 @@ function profile_content(&$a, $update = 0) {
$o .= profile_tabs($a, $is_owner, $a->profile['channel_address']);
+ $a->page['htmlhead'] .= "\r\n" . '<link rel="alternate" type="application/json+oembed" href="' . z_root() . '/oep?f=&url=' . urlencode(z_root() . '/' . $a->query_string) . '" title="oembed" />' . "\r\n";
$o .= advanced_profile($a);
call_hooks('profile_advanced',$o);