« Case IM Beta update | Main | messenger.case.edu beta update »
December 20, 2006
IM: Presence Service is up and running.
The IM presence web service is up and running.
To use this, you'll have to actually add yourself to your buddy list - at present, we're not allowing arbitrary presence information to be seen, only to users on your roster. If you add yourself to your roster it'll work.
Here's what you need to embed into your web page. Replace NetworkID with your network ID.
<a href="xmpp:NetworkID@im.case.edu">
<img src="http://im.case.edu/plugins/presence/status?jid=NetworkID@
im.case.edu&req_jid=NetworkID@im.case.edu&type=image" width=32 height=32 />
</a>
<br>
<a href="xmpp:NetworkID@im.case.edu">
<object type="text/html" data="http://im.case.edu/plugins/presence/status?jid=NetworkID@im.case.edu&req_jid=NetworkID@im.case.edu&type=text">
<p>
Unable to contact Presence Service
</p>
</object>
</a>
Here's what it should look like:
I've probably got the image size set a little big, but you can certainly change it. "Offline" also seems to show up as "null" for some unknown reason. I'll have to look into that.
Update (8/21/2007) - I've fixed all of the code in this entry so that it all works correctly with our current setup.
Posted by sdh7 at December 20, 2006 05:23 PM
Trackback Pings
TrackBack URL for this entry:
http://blog.case.edu/sdh7/mt-tb.cgi/12012