2
0

dev.html 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <title>Converse.js</title>
  5. <meta charset="utf-8">
  6. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  7. <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  8. <meta name="description" content="Converse.js: A free chat client for your website" />
  9. <meta name="author" content="JC Brand" />
  10. <meta name="keywords" content="xmpp chat webchat converse.js" />
  11. <link rel="shortcut icon" type="image/ico" href="css/images/favicon.ico"/>
  12. <link type="text/css" rel="stylesheet" media="screen" href="css/fullpage.css" />
  13. <link type="text/css" rel="stylesheet" media="screen" href="css/converse.css" />
  14. <script src="3rdparty/libsignal-protocol-javascript/dist/libsignal-protocol.js"></script>
  15. <script src="dist/converse.js"></script>
  16. </head>
  17. <body class="reset">
  18. <div class="content">
  19. <div class="inner-content converse-brand row">
  20. <div class="converse-brand__padding"></div>
  21. <div class="converse-brand__heading">
  22. <div class="converse-brand__text"><i class="icon-conversejs"></i>Converse</div>
  23. <div class="converse-brand__byline">
  24. brought to you by <a target="_blank" rel="nofollow" href="https://opkode.com">Opkode</a>
  25. </div>
  26. </div>
  27. </div>
  28. </div>
  29. <script>
  30. converse.initialize({
  31. auto_away: 300,
  32. i18n: 'en',
  33. // auto_join_rooms: [
  34. // 'discuss@conference.conversejs.org',
  35. // 'prosody@conference.prosody.im',
  36. // 'jdev@conference.jabber.org'
  37. // ],
  38. // websocket_url: 'ws://chat.example.org:5280/xmpp-websocket',
  39. view_mode: 'fullscreen',
  40. archived_messages_page_size: '500',
  41. allow_public_bookmarks: true,
  42. notify_all_room_messages: [
  43. 'discuss@conference.conversejs.org'
  44. ],
  45. // bosh_service_url: 'http://chat.example.org:5280/http-bind/',
  46. bosh_service_url: 'https://conversejs.org/http-bind/', // Please use this connection manager only for testing purposes
  47. message_archiving: 'always',
  48. debug: true
  49. });
  50. </script>
  51. </body>
  52. </html>