Other people have talked about CFTHREAD (see Ben Nadel’s excellent post on the topic) so I’m not going to bother with a full description of the tag.
Instead I wanted to show a quick example of where I’ve already put it to use in production, and I wanted to share a warning about how you have to be careful when using the tag.
BlogCFC makes use of a ping feature when posting entries. This lets you inform blog aggregators that you’ve written a new blog post. This way your latest devotional on Paris Hilton won’t be missed by the masses.
Most aggregators simply take a simple HTTP hit, while others take a bit more work. BlogCFC supports simple HTTP pings, as well as Technorati, Weblogs, and Icerocket. The code is rather simple. You pass in the URLs you want to ping and this code block loops over them:
(more…)