ColdFusion Proxy to avoid Cross-Site Scripting

Here’s a method to get an JSON feed with ColdFusion. This will work in ColdFusion 7 and later. This is useful for avoiding cross-site scripting in Javascript/jQuery - You would simply call your remote feed on your local server, and then your jQuery would be able to call a "local" resource. Code walkthrough: Use CFHTTP …

Reading an RSS Feed in CFScript (ColdFusion)

Here’s a method to read an RSS feed with CFScript (ColdFusion). This will work in ColdFusion 9.0.1 and later. Code walkthrough: Use feed to read an RSS feed. This should return a Query object. If the result is a Query Object, loop through and display the items. If the result is not a Query Object, …

Reading an RSS Feed in ColdFusion with CFFEED

Here’s a method to read an RSS feed with ColdFusion. This will work in ColdFusion 8 and later. Code walkthrough: Use CFFEED to read an RSS feed. This should return a Query object. If the result is a Query Object, loop through and display the items. If the result is not a Query Object, display …

Getting an RSS Feed in ColdFusion with CFHTTP

Here's a method to get an RSS feed with ColdFusion. This will work in ColdFusion 7 and later. Code walkthrough: Use CFHTTP to generate an HTTP request and handle the response from the server. This should return XML. Use XMLParse to attempt to convert the CFHTTP.FileContent response into an XML document object. If the result …

Social Media Landscapes, July 2011

I saw this graphic this morning and had a good laugh. This pretty much sums up the social media landscape as of July 2011. Google+ is like virgin wilderness (but being rapidly deforested). Facebook is like a modern metropolis. MySpace is like a ruined city (although I might have been inclined to feature tumbleweeds...) Source: …

Suddenly, Ninja Squirrel!

While I was perusing my Twitter feed this afternoon, I saw @RebeccaWatson re-tweet about animalsbeingdicks.com. This turned out to be a relatively new site that features animated GIFs of animals being dicks. I spent wasted a few minutes going through all the links. I found this one particularly funny, although many of them made me …

Coffee Puns

I love coffee. I love puns. They go well together too. Source: Octopuns.

I choose Gorilla World

It's everyone's life long dream. Quit going to the office. But where should we go instead? Well, this sign gives you a choice!

Combining Two RSS Feeds in ColdFusion

It looks like WordPress has eaten my code samples on this one. I've re-written this code in CFScript and posted a fresh example. I've removed the blocks of code from this since they were gone anyway. One of the companies I work for posts a number of News stories on their site almost every day, …

Meetings

Source: Twaggies