From dd3208fe6fadff3ad831df2fa5220e2184738b21 Mon Sep 17 00:00:00 2001 From: Bart Visscher Date: Sun, 12 Aug 2012 23:58:55 +0200 Subject: [PATCH] Fix webfinger documentation --- apps/user_webfinger/webfinger.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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 **/