Questions answered by this recipe
- Is there any markup that display my online status for messaging networks such as Yahoo! Messenger or AIM?
You can use onlinestatus.phpΔ to show your status in Yahoo!, AIM, and Skype. Basic markup is also provided to include a Meebo Me! widget. Download and place onlinestatus.phpΔ in your cookbook folder, and add the following line to config.php or another local configuration file:
This recipe adds the (:onlinestatus:) markup, which has at present two arguments: service name(svc) and ID. So for each image that you want to display, add a line like this:
(:onlinestatus svc=SVC_NAME id=YOUR_ID:)
where SVC_NAME is the name of the service (yim, aol, or skype) and YOUR_ID is your ID for that particular service.
For Meebo, you chose a size when you created your widget, so you want to do this:
(:onlinestatus svc=meebo id=YOUR_ID size=YOUR_SIZE:)
where YOUR_SIZE is either s (small), m (medium), or l (large).
If you don't want to mess with a markup recipe, the following standard markups can be used to display a person's online status.
Use the following markup/url (replacing username with your Yahoo! ID):
Use the following markup (replacing SCREENNAME with your AIM screen name):
If the recipe has multiple releases, then release notes can be placed here. Note that it's often easier for people to work with "release dates" instead of "version numbers".
2007-02-07: made the Meebo Me! code XHTML compliant and allowed any width/height to be set.
2007-02-04: added Meebo Me! code.
2006-09-06: small fix for AOL code.
See Discussion at OnlineStatus-Talk