summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2010-02-22 07:40:20 -0500
committerEvan Prodromou <evan@status.net>2010-02-22 07:40:20 -0500
commitfae5a15a885b0c108efc4c5e28094f15ffbe8694 (patch)
treed785631790517fbd091b4742028d970b224b676d
parent074e3fa895f554a912c7d6657c51d137cfcbe9f9 (diff)
add strongly-suggested link to Profile::asActivityNoun()
-rw-r--r--classes/Profile.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/classes/Profile.php b/classes/Profile.php
index 1ba3281ff..faa6367b9 100644
--- a/classes/Profile.php
+++ b/classes/Profile.php
@@ -818,6 +818,10 @@ class Profile extends Memcached_DataObject
// title should contain fullname
$xs->element('title', null, $this->getBestName());
+ $xs->element('link', array('rel' => 'alternate',
+ 'type' => 'text/html'),
+ $this->profileurl);
+
// Portable Contacts stuff
if (isset($this->bio)) {