Archive for August, 2009

Twitter-widget, modified for speed

I found this widget for Wordpress which displays Twitter updates at http://seanys.com/2007/10/12/twitter-wordpress-widget/ . Simple and easy to understand it really applies the “Keep It Simple, Stupid”-rule.

I like it but according to Twitter there is an optimization you preferably should do. If the twitter servers are overloaded, this widget might halt the loading of ones blog since it tries to fetch the twitter status in the middle of the page building.

So, in a few minutes I read and understood the basics of wordpress plugins (that’s an achievement of Wordpress, making it that simple) and modified the widget. All in all I think I added 5 lines of code.

Twitter widget modified for speed

This plugin is installed by putting it in the usual plugins directory and adding it as a widget.

Addendum: I haven’t tried this widget for Wordpress 3.x. Has anyone else tried?

Sommaren snart slut…

Sommaren går nu mot sitt slut, precis som sommarjobbet. Om tre veckor flyger jag till Hong kong för att börja året utomlands genom Chalmers utbytesprogram. För någon dag sen fick jag mitt studentvisum och klartecken för boendet. Flygbiljetten är klar sedan maj. Spänningen stiger :) .

Hong KongJuli har visst varit den mest solfattiga julimånaden på 50 år i sverige så det ska bli skönt att landa i Hong Kong med 30-35 grader värme vanligtvis i slutet av augusti. Under vintern blir det som lägst +10 sägs det.

Med 9 miljoner invånare i Hong Kong lär det bli en smärre förändring mot Göteborg och det ska bli otroligt spännande!