first commit
This commit is contained in:
parent
5a212bffde
commit
f1f238034d
10
README.md
10
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 `</body>` 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
|
||||
</script>
|
||||
```
|
||||
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue