More fun with php-gtk. April 13, 2008

Filed under: PHP — thepet (Follow on twitter) @ 2:50 pm

Can’t stop fooling with this.  GTK is a funny funny system.  You have to know all the tricks to get things to layout right and capture the right events.  Wish it was more intuitive.

This new cut of phpitter is much cooler.  It looks better, updates the timeline every so often, saves/loads timeline data, will keep a history of 40 tweets deep (configurable actually), and has a couple of plugin hooks.

There are two plugins with it to show how the plugin hooks can work.  One will turn the tweet entry text red if you go over 140 characters.  The other is a sample notification plugin.  All it does is output to the cmd line who tweeted what to you.  Would be really easy to hook it in to a gtk window pop up, or the libnotify system.

Here’s the code.  And the screenshot:

 

Leave a Reply