Subscribe to my RSS feed RSS
May 4, 2008

Integrating Twitter Tools into Wordpress

Twitter Tools Auto Tweet

I updated MostlyGeek with the Twitter Tools plugin by Alex King. Previously the site used Twitter’s JavaScript badge to display my latest tweets. There are a number of advantages to using Twitter Tools over the simple badge: 

  1. Automatically tweet a new blog entry
  2. Automatic downloading of my latest tweets
  3. Automatically blog tweets
Also while adding the plug in I noticed that my server clock had drifted off by about 3 hours. The server has been up for 679 days and drifted by about 0.66 seconds a day. I was surprised because the ntpd daemon was running to keep the clock in sync. 
Turns out I didn’t create a ntp.conf file 2 years ago and the server has slowly been drifting. Fixing the problem was straight forward:  
  1. Created /etc/ntp.conf, reference: Clock Synchronization with NTP
  2. kill the running ntp daemon 
  3. use: sudo ntpdate ntp.domain.com to force resync the clock. When the clock is really out of sync this is preferable to waiting for ntpd to gradually adjust the time. My 3 hour difference would have taken a very long time to finally sync up. A pull the band-aid off fast approach.  
  4. restart the ntpd daemon 
Feed for this Entry | Trackback Address

No comments yet

There are no comments yet, be the first!

Leave a Comment

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>