]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/WebFinger/lib/webfingerresource.php
Notice metadata for WebFinger. Not sure if implemented properly.
[quix0rs-gnu-social.git] / plugins / WebFinger / lib / webfingerresource.php
index c9fe1727e298c45498c9e75025ec47be316975eb..d473d95628f4a73f3ea28068ba3002fc4108e94c 100644 (file)
@@ -11,8 +11,6 @@
 
 abstract class WebFingerResource
 {
-    const PROFILEPAGE = 'http://webfinger.net/rel/profile-page';
-
     protected $identities = array();
 
     protected $object = null;
@@ -47,8 +45,5 @@ abstract class WebFingerResource
         return $aliases;
     }
 
-    public function updateXRD(XML_XRD $xrd) {
-        $xrd->links[] = new XML_XRD_Element_Link(WebFingerResource::PROFILEPAGE,
-                                        $this->object->getUrl(), 'text/html');
-    }
+    abstract public function updateXRD(XML_XRD $xrd);
 }