Last week I mentioned that Google Talk was XMPP based, and that you could therefore write a Google Talk IM bot using ColdFusion. Well, I’ve now done just that.
If you are a Google Talk user you can use cfdocs@gmail.com to do instant CFML lookups (tags and functions for now). Just type in the element name and you’ll get a description, syntax, and a link to the relevant page on Livedocs. Should all be pretty self explanatory.
The data needs some cleaning up and reformatting, but it works, and I am already using it for quick syntax checks.
Let me know what you think.

24 thoughts

  1. I just love this kind of thing.
    Not only proving a point, but also creating a very useful resource!
    Great stuff

  2. "Long time listener, first time caller"… Ben, you are a guru. This is a great resource and I always appreciate your creative thoughts in helping understand advanced ColdFusion practices, and also encouraging thinking ‘out of the box’. Many thanks-

  3. Any chance you guys will have time to release a "Hello World" how-to-article related to Google Chat bots + CF app? Any links to exsisting tutorials would be appreciated. The power in this, as demonstrated by Ben and Gus’s apps, is making my head spin. Many thanks for the inspiration-
    cheers

  4. Those are great links. In addition, I plan on writing up detailed step-by-step instructions this weekend.

  5. Ben,
    What would be an awesome upgrade for the bot would be to put in a version number after the command to get the information for that version. If you don’t specify a version, you could show the latest.
    That way you could do:
    cfmail
    cfmail 6.1
    cfmail 5
    cfmail 4.5
    To real quickly see the differences between versions. Just an idea.

  6. PS – There should be new lines between those cfmail commands:
    cfmail
    cfmail 6.1
    cfmail 5
    cfmail 4.5

  7. Dan, good suggestion. Mining that data out of livedocs was not fun, but I’ll see if I can extract that too.
    Harry, stay tuned, I’ll be posting a detailed step-by-step how-to shortly.

  8. Ben:
    Was just over at this afternoon’s presentation in the Twin Citites area…Thanks for the update on CFMX7. Just tried the GoogleTalk w/ CFDOCS — works great!
    Thanks again!
    RF

  9. sorry to be a pest Ben.
    "cfdocs@gmail.com is offline and can’t receive messages right now."
    I haven’t had a chance to use it for the last 2 months but before that I gave it a good shake….
    is this just a temporary problem?
    thanx for the service anyhoo

Leave a Reply