summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2012-08-12 23:58:55 +0200
committerBart Visscher <bartv@thisnet.nl>2012-08-15 14:50:25 +0200
commitdd3208fe6fadff3ad831df2fa5220e2184738b21 (patch)
tree05cc743746e84816b4c33c28964810bf5d029128
parentda3896808a84ae10b460af32c38effae776cd39e (diff)
downloadnextcloud-server-dd3208fe6fadff3ad831df2fa5220e2184738b21.tar.gz
nextcloud-server-dd3208fe6fadff3ad831df2fa5220e2184738b21.zip
Fix webfinger documentation
-rw-r--r--apps/user_webfinger/webfinger.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/apps/user_webfinger/webfinger.php b/apps/user_webfinger/webfinger.php
index f06346672ff..b725937948a 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:
*
- * <Link
- * rel="myProfile"
- * type="text/html"
- * href="<?php echo WF_BASEURL; ?>/apps/myApp/profile.php?user=<?php echo WF_USER; ?>">
- * </Link>
+ * {
+ * "rel":"myProfile",
+ * "type":"text/html",
+ * "href":"<?php echo WF_BASEURL; ?>/apps/myApp/profile.php?user=<?php echo WF_USER; ?>"
+ * }
*
* but can also use complex database queries to generate the webfinger result
**/