]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
add strongly-suggested link to Profile::asActivityNoun()
authorEvan Prodromou <evan@status.net>
Mon, 22 Feb 2010 12:40:20 +0000 (07:40 -0500)
committerEvan Prodromou <evan@status.net>
Mon, 22 Feb 2010 12:40:20 +0000 (07:40 -0500)
classes/Profile.php

index 1ba3281ff61127b38fb59f45bbfafd32cf42a6b2..faa6367b9c26d19b3e8f3df0b8fd7a8941204aeb 100644 (file)
@@ -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)) {