diff --git a/nixtape/user-groups.php b/nixtape/user-groups.php index 5995556bf54494e62a0c9ec92012b49db609f849..8fb559b5286bdcd603dbf7a1a02f3bf3547a9b53 100644 --- a/nixtape/user-groups.php +++ b/nixtape/user-groups.php @@ -54,7 +54,7 @@ if(isset($user->name)) { 'rel' => 'meta', 'type' => 'application/rdf+xml' , 'title' => 'FOAF', - 'href' => $base_url.'/rdf.php?fmt=xml&page='.htmlentities(str_replace($base_url, '', $user->getURL())) + 'href' => $base_url.'/rdf.php?fmt=xml&page='.htmlentities(str_replace($base_url, '', $user->getURL('groups'))) ) )); diff --git a/nixtape/user-stats.php b/nixtape/user-stats.php index db5700187f0cbd7209f10953619be556a3f641b6..33c060aa9635ff0d50e80c52b7d1a456e13ece1c 100644 --- a/nixtape/user-stats.php +++ b/nixtape/user-stats.php @@ -57,6 +57,15 @@ if(isset($user->name)) { $smarty->assign('me', $user); $smarty->assign('geo', Server::getLocationDetails($user->location_uri)); $smarty->assign('isme', ($this_user->name == $user->name)); + + $smarty->assign('extra_head_links', array( + array( + 'rel' => 'meta', + 'type' => 'application/rdf+xml' , + 'title' => 'FOAF', + 'href' => $base_url.'/rdf.php?fmt=xml&page='.htmlentities(str_replace($base_url, '', $user->getURL())) + ) + )); $smarty->assign('stats', true); $smarty->display('user-stats.tpl');