Newer Post
« Independence Day
Older Post
Perfection paralysis cured »

twitter.gifTwitter allows you to keep your friends - and the world - updated on what you’re up to from the comfort of your own mobile device.


There’s lots of living to be done, so my time and ambition to craft well-considered blog entries has grown thin. To tide over my thirst to shout it out, I bring you my Twitter feed. I’ve also syndicated my latest twits to my blog using Magpie RSS, and a little script I wrote, which you can download here for your own use.

Keep in mind, I’m not exactly a hardcore “developer” so it’s probably not the most perfect script. Feel free to improve it, and let me know at david (at) kadavy (dot) net. It would be cool if it could say “5 hours ago” etc. like it does on the Twitter site. It would also be cool if the times of my twits weren’t completely wrong…I’m working on that.

Yeah, I could have used the Twitter badge, but c’mon, we design types need a little more control.

UPDATE; March 25, 2008: TwitBlog has been updated.

11 People have spoken up »

  1. grum said,

    November 25, 2006 @ 11:49 am

    about the time issue, have you tried using the twitter callback function?

    eg: http://twitter.com/t/status/user_timeline/8520?callback=twitterCallback&count=50

    change the 50 for the number of post you need.

    I cant script very well in php, but I’m sure you can work n stripping that output file and reformatting it prettylike :)

  2. kadavy said,

    November 26, 2006 @ 3:51 pm

    Thanks, grum. That looks like it would do the trick. Hopefully I’ll get around to trying it out. Twitter support tells me the incorrect time is a bug though, so little hope for fixing that just yet.

  3. Roonie said,

    December 18, 2006 @ 9:55 pm

    Hmm, yes, because of you, I use Twitter.

  4. Robert Day said,

    January 5, 2007 @ 5:21 am

    Nice Script!

    I’ve styled it a bit over at rswday.com, although could you tell me how it updates? Or how often?

  5. BrianR said,

    January 11, 2007 @ 12:20 pm

    Thanks for writing this script!

  6. Peter Parkes said,

    March 3, 2007 @ 4:27 pm

    Thanks for this. I’m using a modified version in the sidebar of my blog.

  7. www.tapgoogle.net said,

    April 10, 2007 @ 9:16 pm

    Best Twitter PHP script i have found.
    Keep up your cool work.

    http://twitter.tapgoogle.com - Twitter custom search engine

  8. Simon said,

    April 16, 2007 @ 7:48 pm

    Very interesting plugin. I shall get a few hours sleep and then rewrite it for you so you don’t requrire the Magpie RSS and also get the time since :) Email me or comment via my blog to get the update… which should appear on my blog soon anyways.

    Your code is really well written by the way!

  9. dotcom624 said,

    May 23, 2007 @ 8:47 pm

    Great little script. I did a little bit of cleaning up of it for my site, and I put the “time since” part in, up to 3 hours. I also fixed the time, although it would have to manually be set for each timezone, and the date resets itself so it shows the correct date too when it is close to midnight. Worked great the first time!

  10. Brigitte said,

    August 29, 2007 @ 4:12 pm

    I’m getting this error when I tried using TwitBlog:

    Fatal error: Cannot redeclare class Snoopy in C:\xampp\htdocs\wordpress\magpierss\extlib\Snoopy.class.inc on line 39

    Alright, that’s on my PC, but when I tried it on my blog, same problem.

  11. kadavy said,

    August 29, 2007 @ 5:17 pm

    If you’re using WordPress, you may as well use Twitter Tools.

RSS feed for comments on this post · TrackBack URI

Say Something!