>> GreenByte.info By Nick Tong (quiksilv) | Supported by: TalkWebSolutions.co.uk

Add Meebo to blog cfc

If you've not yet used Meebo head over to their site and check it out or read the extract below - it's a great webclient for instant messaging and a good example of what web2.0 is all about.

meebo.com is a website for instant messaging from absolutely anywhere. Whether you're at home, on campus, at work, or traveling foreign lands, hop over to meebo.com on any computer to access all of your buddies (on AIM, Yahoo!, MSN, Google Talk, ICQ and Jabber) and chat with them, no downloads or installs required, for free!

Now that you know what it is maybe you want it on your blog so here's what you do. In your admin area create a text block and add your meebo code i.e.

<!-- Beginning of meebo me widget code. Want to talk with visitors on your page? Go to http://www.meebome.com/ and get your widget! --> <embed src="http://widget.meebo.com/mm.swf?YOURCODEHERE" type="application/x-shockwave-flash" wmode="transparent" width="160" height="250"></embed>

Then create a page called meebo.cfm in the includes/pods directory and make this call the blocktext you just created

<cfsetting enablecfoutputonly=true>
<cfprocessingdirective pageencoding="utf-8">
<!---
   Name : meebo.cfm
   Author : Nick Tong
   Created : Dec 2006
   Last Updated :
   History :
   Purpose       : Display links box
--->


<cfmodule template="../../tags/podlayout.cfm" title="Meebo">
<!--- here we use the textblock to get information for the pod --->
<cfset request.textBlock = application.textblock.getTextBlock("meebo") />
<cfoutput>
<!--- check to make sure that the body exists (this may get updated at some point so we need this check) --->
<cfif structKeyExists(request.textBlock,"body")>
#request.textBlock.body#
<cfelse>
Text block failed
</cfif>

</cfoutput>

</cfmodule>

<cfsetting enablecfoutputonly=false>

Then in your tags/layout.cfm file add the incude to the pod

<cfinclude template="../includes/pods/meebo.cfm">

And that's it, you've got meebo on your blog. See mine on the left and say hi!!


 

Related Blog Entries

Comments
Brian Rinaldi's Gravatar Now if someone could just tell me a way to include this on my blog in such a way that it wouldn't be blocked by our internal firewall, I would be thrilled!
# Posted By Brian Rinaldi | 13/12/06 14:14 | Report abusive comment
Nick Tong's Gravatar Hi Brian, maybe try the meebo repeater http://blog.meebo.com/?page_id=140
# Posted By Nick Tong | 13/12/06 15:30 | Report abusive comment
Kevin's Gravatar They've blocked Meebo at shool! It's so freakin retarded. Why can't they just accept our needs to chat.

To solve this problem I've been browsing for other web messengers and came across eBuddy.

A little different to Meebo, but same idea! They got mutliple IM networks as well - MSN, Yahoo, AIM & ICQ. At least this works...
# Posted By Kevin | 15/12/06 13:03 | Report abusive comment
BlogCFC was created by Raymond Camden. This blog is running version 5.5.1.