diff --git a/apps/user_webfinger/webfinger.php b/apps/user_webfinger/webfinger.php index f06346672f..b725937948 100644 --- a/apps/user_webfinger/webfinger.php +++ b/apps/user_webfinger/webfinger.php @@ -7,17 +7,17 @@ header("Access-Control-Allow-Origin: *"); header("Content-Type: application/xrd+json"); /** - * To include your app in the webfinger XML, add a new script with file name + * To include your app in the webfinger JSON, add a new script with file name * 'webfinger.php' to /apps/yourapp/appinfo/, which prints out the XML parts * to be included. That script can make use of the constants WF_USER (e. g. * "user"), WF_ID (user@host) and WF_BASEURL (e. g. https://host/owncloud). * An example could look like this: * - * - * + * { + * "rel":"myProfile", + * "type":"text/html", + * "href":"/apps/myApp/profile.php?user=" + * } * * but can also use complex database queries to generate the webfinger result **/