| Note This macro has been superceeded by the Confluence IM Presence Plugin. |
Need to find some better icons and figure out how they would be retrieved via url.
But for now, I just use the task list ones.
## aim avialable macro
## pass parameter of username
## {aim:USERNAME}
## original URL example
## <a href="aim:goim?screenname=SCREENNAME">
##<img src="http://big.oscar.aol.com/SCREENNAME?on_url=IN.jpg&off_url=NOTIN.jpg"> </a>
## images to be used
## images/icons/bullet_red.gif
## images/icons/bullet_done.gif
#set ( $path = "http://${req.getServerName()}:${req.getServerPort()}${req.getContextPath()}" )
aim:$param1
<img src="http://big.oscar.aol.com/$param1?on_url=$path/images/icons/bullet_done.gif&off_url=$path/images/icons/bullet_red.gif">

Comments (4)
Jan 20, 2005
Mike Cannon-Brookes says:
David, Isn't there an aim:foo protocol too? Would it be useful to wrap the icon...David,
Isn't there an aim:foo protocol too? Would it be useful to wrap the icons in a link like that?
Also, if we changed these into a Java macro plugin we could embed resources like images etc in them as well as having all the different IM services in one plugin? ie AIM, ICQ, Y!, MSN etc.
Cheers,
Mike
Jan 20, 2005
Mike Cannon-Brookes says:
Also, this FAQ might be useful!Also, this FAQ might be useful!
Jan 21, 2005
David Valentine says:
There is an aim protocol href="aim:goim?screenname=SCREENNAME" but I avoided usi...There is an aim protocol
href="aim:goim?screenname=SCREENNAME"
but I avoided using it. I think the link should only be there if the user status is available.
Also, I avoided the onlinestatus.org stuff, since it means you route usernames though an outside server.
I would consider an all IM services plug-in. It will just take time to gather the info needed (is the onlinestatus.org code available?).
I looked into MSN, but all the stuff I saw said use the MSN messenger COM object to determine the online status (aka not cross platform).
Jan 21, 2005
David Valentine says:
Ok, onlinestatus.org comes as a jar, and is not open source... I'll leave the f...Ok, onlinestatus.org comes as a jar, and is not open source...
I'll leave the full integration to Atlassian.