Status icon for your website
HTML
Jabbim supports display of user's status (Online, Offline, Away, Not Available, ...) on their web pages. To show a status icon on your homepage, you can just paste following HTML code:
<img src="http://netlab.cz/status/?jid=JID &ib=ICONSET"/>;
PHP
If you use PHP, you can show the icon together with the status message:
<?php
readfile("http://netlab.cz/status/?jid=JID &ib=ICONSET&type=text");
?>
Using PHP, you can request the status icon including the HTML header:
<?php
readfile("http://netlab.cz/status/?jid=JID &ib=ICONSET&type=html");
?>
If you prefer your own format and appearance, status in text format can be quite handy:
<?php
readfile("http://netlab.cz/status/?jid=JID&type=var");
?>
Help
ICONSET
defines icon style that you receive.
JID
is your identifier (Jabber ID) in the XMPP/Jabber system. E.g jdoe@jabbim.cz
Note: In order for the status icon to work, you have to authorise the user jabstatus@njs.netlab.cz.