Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Gualter
matrix-sustrares-blog
Commits
2ce7aff3
Commit
2ce7aff3
authored
Jun 14, 2016
by
Simen Graaten
Committed by
GitHub
Jun 14, 2016
Browse files
Update README.md
parent
2fafda47
Changes
1
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
2ce7aff3
# Matrix Blog
A js-script for matrix js api that will make a simple blog view of a matrix room
A js-script for matrix js api that will make a simple blog view of a matrix room.
It logs into the room as a guest so the room needs to be publicly viewable.
## Prerequisites
*
Create a user
*
Copy its access key (found in the settings panel in the angular client)
*
Join/create the room you want to show in the blog with this user
*
Update index.html with the info
*
Join/create the room you want to show in the blog with this user.
*
Set it publicly viewable. "Who can read history?" -> Anyone
*
Update index.html with the info.
## Setup
var blog = new MatrixBlog({
selector: '#chat',
room: '#blog:my.host.com',
homeServer: 'https://my.host.com:8448'
});
## Matrix
An
[
open standard
](
http://matrix.org/docs/spec/
)
open standard for decentralised persistent communication.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment