Here’s a method to get a JSON feed with jQuery (version 1.7.1 at time of writing). This may work in earlier versions of jQueruy but I have didn’t test it. Code walkthrough: Specify the feed URL. See notes in the code below for pre-requisites. Before sending the request, set the “result” div to show an...
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...
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,...
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...
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...
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:...
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...
I love coffee. I love puns. They go well together too. Source: Octopuns.
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!
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,...
Modernizr 2 has been released It seems I’m about 10 days behind…