From 5f67c4b0f71370c6d13f33e46c65f37061c69802 Mon Sep 17 00:00:00 2001 From: John Livingston Date: Fri, 19 Feb 2021 19:19:38 +0100 Subject: [PATCH] ConverseJS Example. --- README.md | 11 ++++ documentation/examples/converseJS/index.html | 55 ++++++++++++++++++++ 2 files changed, 66 insertions(+) create mode 100644 documentation/examples/converseJS/index.html diff --git a/README.md b/README.md index 58a642e9..f4f40de5 100644 --- a/README.md +++ b/README.md @@ -10,3 +10,14 @@ For now, there is no documentation for how you can setup the webchat. It has to be setup by your own. For example with a XMPP Server and the ConverseJS Javascript. Next step: document how you can setup the XMPP server. + +## ConverseJS + +Once you have a XMPP server that allow anonymous authentication, with bosh +(or websocket) enabled, you can - for example - setup a html page that looks like +[this one](documentation/examples/converseJS/index.html). You have of course to +replace the path /conversejs/7.0.3 with your converseJS path, and replace your_domain +by your actual domain. + +NB : there is a bug in the converseJS 7.0.4 release. The dist files don't work. +So if you are not building converseJS yourself, use version 7.0.3 instead. diff --git a/documentation/examples/converseJS/index.html b/documentation/examples/converseJS/index.html new file mode 100644 index 00000000..a62650a4 --- /dev/null +++ b/documentation/examples/converseJS/index.html @@ -0,0 +1,55 @@ + + + + Converse + + + + + + + + + +
+ + +