From 7071565345cf00ffcc942947e941f59b5093476b Mon Sep 17 00:00:00 2001 From: Aaron Parecki Date: Fri, 2 Jan 2015 13:21:54 -0800 Subject: use php array syntax in docs --- views/docs.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'views') diff --git a/views/docs.php b/views/docs.php index 94856a1..63d0ce1 100644 --- a/views/docs.php +++ b/views/docs.php @@ -46,10 +46,10 @@ Authorization: Bearer xxxxxxxxxx HTTP/1.1 200 OK Content-type: application/x-www-form-urlencoded -syndicate-to=syndicate-to=twitter.com%2Faaronpk%2Cfacebook.com%2Faaronpk +syndicate-to[]=twitter.com%2Faaronpk&syndicate-to[]=facebook.com%2Faaronpk -

The response should be a form-encoded reply with a single field, syndicate-to. The value is a comma-separated list of syndication targets. The actual values are up to your Micropub endpoint, but a good convention is to use the domain name of the service (e.g. twitter.com), or domain name and username (e.g. twitter.com/aaronpk).

+

The response should be a form-encoded reply with an array, syndicate-to of all the supported syndication targets. The actual values are up to your Micropub endpoint, but a good convention is to use the domain name of the service (e.g. twitter.com), or domain name and username (e.g. twitter.com/aaronpk).

If you do include the domain name, Quill will be able to show icons for recognized services next to the checkboxes.

@@ -57,4 +57,4 @@ syndicate-to=syndicate-to=twitter.com%2Faaronpk%2Cfacebook.com%2Faaronpk - \ No newline at end of file + -- cgit v1.2.3