I want to display total count user of our homenet network of jabber server and current number online user on our web-site.
How can I do it? Need I implemented plugin for this task or can receive this info just from asp (for example) script? Web Server and Jabber server is the same.
I have the same problem,here is the It2000’'s answer
Hi,
the intention of this plugin was to display whether a user is online or not within a web page and not to deliver a web page similar to the ones in the admin console to display who’‘s online. It’'s similar to ICQ ( http://www.icq.com/features/web/indicator.html ) or AIM status icons.
the number of registered users is stored in the database or very easy to get with a “select count(*) from jiveuser” while a list or number of online users is only available in memory. So you can either write a Wildfire plugin or use the web admin console to query this information.
I did write a perl and one other did write a php script to log in using the web admin console and then use the broadcast service. If you want to do it this way you need another webserver to publish the received data.
Perl (or PHP) must be installed to use it, here’'s the link to the perl script which does a simple broadcast:
So you have to tweak it a little bit to get the list of all users (http://server:9090/session-summary.jsp?range=1000) as HTML and then you probably want to parse the received web page to use a completely other design, and this will be the hard part.
I don’'t think Miranda has support for ad-hoc commands. I know that Psi, Exodus and TKabber do have support. We will soon add support for ad-hoc commands to Smack so you will be able to use them from Spark.