This plugin has been DEPRECATED. You can find the update here.
For a project I'm working on, I needed to display a user's AIM status. I thought it might be useful, so I extracted it to a plugin.
It's pretty simple to use, just pass in someone's AIM user name.
aim_status('maddox123456')
Optionally, you can toss in the text you want to display.
aim_status('maddox123456', :show_name => 'Jon Maddox')
UPDATE 9/21/06 I changed the ON url so it will work through a proxy like OFF url.
Popularity: 3% [?]




About
Mmm, Del.icio.us
Looks great. Will be giving it a whirl. Does it do any caching of statuses?
No. I didn't really think about caching. Because if it gets cached and the user goes off line, that status is incorrect.
Hi Jon -
I'd highly recommend you escape the ampersand in the URLS generated by aim_status_helper - this allows documents that use this status helper to validate under the W3C Markup Validator.
in lib/aim_status_helper.rb, change line 13 to:
#{show_name}"
"
Thanks for this awesome plugin!
awesome plugin,
but if I leave the call to h in, then I get fully escaped output, ie
"<span class="aim_status"...."
I am calling aim_status from a view via a helper
I had to remove the h to get it to work. Is this a security risk somehow?