From f1f238034ded3a8d9effc8e9318800216e3bd334 Mon Sep 17 00:00:00 2001 From: LubuWest Date: Sun, 13 May 2018 16:36:28 +0200 Subject: [PATCH] first commit --- README.md | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 09869d3..6312e7d 100644 --- a/README.md +++ b/README.md @@ -13,8 +13,8 @@ This works for a user or a group. It is loosely based on the [ELI widget](https: The server has to support [Cross-Origin Resource Sharing](https://en.wikipedia.org/wiki/Cross-origin_resource_sharing). The .htaccess file in the server directory should include the following code for this: ``` - Access-Control-Allow-Origin: * - Access-Control-Allow-Methods: GET + Header add Access-Control-Allow-Origin "*" + Header add Access-Control-Allow-Methods: "GET" ``` @@ -43,7 +43,7 @@ Then add this code **at the end of your page before the `` tag**: var user = 'nickname'; var max = 5; var tag = 'federation-widget'; - var domain = 'myGNUSocialDomain.tld'; + var domain = 'myFederationDomain.tld'; var servertype='friendica'; // could be hubzilla, diaspora or mastodon ``` @@ -157,7 +157,3 @@ You probably want to change these variables: * Delete the license, the first lines ```var loadForm``` and the loadConfig() function * Click on **Minify** * Copy the result into eli.js file - -## Contact - -You can contact me at the given address: olivier+eli [AT] dossmann [DOT] net