As The Crow Flies

« Merging bookmark... | Main | Web 2.0 ... The... »
Friday Mar 16, 2007

Adding Yahoo IM presence icon to Roller (or any web page)

Here's what i finally found a Yahoo IM presence How-to.

The basic javascript code looks like this:

<a href="http://edit.yahoo.com/config/send_webmesg?.target=<_yahoo_id_>&.src=pg">
<img border=0 src="http://opi.yahoo.com/online?u=<_yahoo_id_>&m=g&t=1&l=us"></a>

The default url generated by Yahoo for the img src showed a very large IM presence icon.  i didn't like that.
So i started to fool around with the parameters.  Here's what i found:

 Parameter ValueOutput Description
 u  yahoo id   ok, that was pretty easy to figure
 m  <yahoo id> is ONLINE/OFFLINE text response
   g   or  image response
 1   or  variation of image response
   2   or  variation of image response
   3   or  variation of image response
   4   or  variation of image response
   5   or  variation of image response
l
us

ISO language code

Comments:

very cool

Posted by betty on March 16, 2007 at 08:48 AM PDT #

Post a Comment:
  • HTML Syntax: Allowed