]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/public.php
Moved the public XRDS from the OpenID plugin to core
[quix0rs-gnu-social.git] / actions / public.php
index 73fad182a3f2ab71e7452f349637826dfb95d2d9..4b71e585328301f671199745792e27876f18ba43 100644 (file)
@@ -131,6 +131,13 @@ class PublicAction extends Action
             return _('Public timeline');
         }
     }
+    
+    function extraHead()
+    {
+        parent::extraHead();
+        $this->element('meta', array('http-equiv' => 'X-XRDS-Location',
+                                           'content' => common_local_url('publicxrds')));
+    }
 
     /**
      * Output <head> elements for RSS and Atom feeds