ejabberd - Comments for "Display chatrooms on a website" https://www.ejabberd.im/node/10442 en You may add module https://www.ejabberd.im/node/10442#comment-60298 <p>You may add module mod_admin_extra<br /> Then you will have an additional command, e.g.</p> <div class="codeblock"><code>ejabberdctl muc_online_rooms &lt;host&gt;</code></div> <p>This works and returns all muc rooms.</p> <p>I have also tried this via xml-rpc (ruby), but I get an error:</p> <div class="codeblock"><code>result = client.call(&quot;muc_online_rooms&quot;,&quot;my.domain&quot;)</code></div> <div class="codeblock"><code>T 127.0.0.1:44922 -&gt; 127.0.0.1:4560 [AP]<br />&nbsp; &lt;?xml version=&quot;1.0&quot; ?&gt;&lt;methodCall&gt;&lt;methodName&gt;muc_online_rooms&lt;/methodName&gt;&lt;params&gt;&lt;param&gt;&lt;value&gt;&lt;string&gt;my_domain&lt;/string&gt;&lt;/value&gt;&lt;/param&gt;&lt;/params&gt;&lt;/methodCall&gt;.<br />##<br />T 127.0.0.1:4560 -&gt; 127.0.0.1:44922 [AP]<br />&nbsp; HTTP/1.1 200 OK..Content-Length: 316..Server: Erlang/1.13..Content-Type: text/xml..Connection: close....&lt;?xml version=&quot;1.0&quot;?&gt;&lt;methodResponse&gt;&lt;fault&gt;&lt;value&gt;&lt;struct&gt;&lt;member&gt;&lt;name&gt;faultCode&lt;/name&gt;&lt;value&gt;&lt;int&gt;-112&lt;/int&gt;&lt;/value&gt;&lt;/member<br />&nbsp; &gt;&lt;member&gt;&lt;name&gt;faultString&lt;/name&gt;&lt;value&gt;&lt;string&gt;Error -112.Unknown call: {call,muc_online_rooms,[&quot;my_domain&quot;]}&lt;/string&gt;&lt;/value&gt;&lt;/member&gt;&lt;/struct&gt;&lt;/value&gt;&lt;/fault&gt;&lt;/methodResponse&gt;</code></div> <p>So I cannot use it. But this should be the way.</p> <p>If you get it working, please give a feedbck, as I would be very much interested.</p> Tue, 21 May 2013 15:17:08 +0000 stony999 comment 60298 at https://www.ejabberd.im Hi, I think your blog might https://www.ejabberd.im/node/10442#comment-60208 <p>Hi, I think your blog might be having browser compatibility issues. When I look at your blog in Firefox, it looks fine but when opening in Internet Explorer, it has some overlapping. I just wanted to give you a quick heads up! Other then that, fantastic blog!</p> Mon, 13 May 2013 10:18:46 +0000 Kym Delancey comment 60208 at https://www.ejabberd.im If you install mod_muc_admin, https://www.ejabberd.im/node/10442#comment-59701 <p>If you install mod_muc_admin, it adds to the ejabberd WebAdmin a page with rooms information. Maybe you can write a script that extracts every minute this information to a plain HTML for public viewing.</p> Tue, 16 Apr 2013 18:53:27 +0000 mfoss comment 59701 at https://www.ejabberd.im