About PoliticalWarez

PoliticalWarez is Politics 2.0. Our mission is to identify, profile, test and even help develop the technologies, applications, services and devices that will define the next generation of political activism through application of technology and community.
More about Sanford
More about PoliticalWarez.

PoliTech Blogs

Britt Blaser
Greater Democracy
IPDI blog
Micah Sifry
New Politics Institute
Mobile Democracy Blog
Personal Democracy
Political Gastronomica
Politics and Technology
Politics Online

« List of Video Aggregators | Main | Google Calendar...extending the framework »

March 22, 2007

Twitter loading problems....solved!

Posted by Sanford Dickert | Discussion: 0 Comments

twitter.jpgI know - been a while since I have written a post on PoliticalWarez - and things have been busy. But wanted to share the love in terms of things that can help the campaign out as you move forward. On Political Gastronomica, I left a post for people to understand how to improve their search engine ranking though do-it-yourself SEO/SEM efforts. Today, from my experiences with Goodnight Burbank, I wanted to help in terms of twitter use.

"Twitter?", I hear you cry. Yes, twitter - the new microblogging service that the digerati and others are now using - which combines SMS and blogging into a simple 140+ character message that you can post anywhere and send to all who have subscribed to your twitter feed. You can use your mobile phone, your IM client or your web browser to microblog.

Recently, we have taken to using twitter for Gordon Winston-Smythe to put up his witticisms on the site no matter where he is and when the mood strikes him. The challenge we faced was keeping within the style/design elements - which twitter graciously offers a JavaScript version of their "embed" code - to allow you to modify the style. But, recently, with the increased growth of twitter, we have been finding that the page it is located on gets held up in terms of loading, which could potentially impact our revenue and/or customer satisfaction.

The Solution: iframes
iframes - that little feature kind of like AJAX, but not. Essentially we used a small bit of iframe magic and our own file for the twitter script to take care of the loading problem. Now, instead of waiting for the script to finish, we let the page load around the iframe, and the script finishes and fills in when the twitter server can.

It's that simple. Take a look at Goodnight Burbank to see what we mean. Twitter script found here.


TrackBack URL for this entry: