ideajam

Be very careful with your content type for Chrome Ajax requests

We released the first beta for IdeaJam 1.7 today. There are *tons* of changes under the covers including the new MooTools 1.2 framework, on which you can expect more later this week.

But for the moment, I thought I’d pass along one little tip which we ran into. Inevitably during our own testing we had missed this bug. When you’re in an idea you can “Click to show votes” and what happens behind the scenes is that an Ajax request is fired off to our votes database, an agent runs and send back a list of the votes related to that idea, when they were cast, who by and so on. That agent had been set up with the following code at the start:

Print |Content-Type:text/javascript; charset=utf-8|
Print |Cache-Control: no-cache|
But what we are actually doing is pre-building some HTML and then just inserting it into a div, it saves a little bit of browser processing time this way. But in Chrome we were getting an error:
Uncaught SyntaxError: Unexpected token <
It took a while to track down the problem, but now I found it, it’s obvious. The content-type of the agent needs to actually be set to text/html, not text/javascript. All of the other browsers worked fine with this oversight, even Safari which is a fellow Webkit browser, but Chrome seems to be a lot more picky. So this is just a reminder to make sure you’re very precise with what is being sent to Chrome from your server.

 

LotusKnows IdeaJam is OPEN!

Ever since IamLUG a couple of weeks ago, we’ve been looking forward to the LotusKnows IdeaJam. For as long as I can remember the Lotus community has been asking for more marketing from Lotus generally, well this seems to be the chance we’ve been waiting for. If you have a great idea or simply want to go and comment and vote on other people’s thoughts then head on over to the site.

If you already have an IdeaJam username and password then you don’t need to register again, but it’s only a three day event so get in there quick and make the most of the opportunity.

IdeaJam wins 2009 Beacon Award

We were just watching the “Business Partner Leadership Agenda” webcast with Sam Palmisano where he announced the 2009 Beacon Awards winners.

Like the Lotus Awards that we did so well in earlier in the year, these are given to leading IBM Business Partners and as Sam said the Beacon Awards are IBM’s “most prestigious award” so we’re completely blown away that IdeaJam and Elguji has won again.

This time we won the Innovative Collaboration Solution with Lotus Software award. There were 22 different awards given to solutions from over 340 nominations so we really couldn’t be happier.