first commit
This commit is contained in:
parent
f1f238034d
commit
1d1de72d34
|
@ -7,7 +7,8 @@ This is a javascript widget that shows the public timeline of an account in the
|
|||
This works for a user or a group. It is loosely based on the [ELI widget](https://github.com/blankoworld/eli) for GNU Social.
|
||||
|
||||
|
||||
![User Timeline](federation-user.png) ![Group Timeline](federation_group.png)
|
||||
![User Timeline](federation-user.png)
|
||||
![Group Timeline](federation_group.png)
|
||||
|
||||
|
||||
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:
|
||||
|
@ -48,7 +49,7 @@ Then add this code **at the end of your page before the `</body>` tag**:
|
|||
</script>
|
||||
```
|
||||
|
||||
Adapt domain, user, and servertype content to your account in the Federation. For an example: **https://forum.friendi.ca**.
|
||||
Adapt domain, user, and servertype content to your account in the Federation.
|
||||
|
||||
In order Federation widget to be more beautiful, add this in your CSS file or in **`</style>` tag**:
|
||||
|
||||
|
|
Loading…
Reference in New Issue