TwitterPad Plugin

It wasn't so much a holiday treat this time (as with my other plugin developments), more a couple of weekend 'hobbyist' coding sessions, but here it is, TwitterPad.

TwitterPad is a WordPress plugin which allows twitter users to collect tweets using custom search strings. The results are automatically added to user specified pages.

Click here to download TwitterPad

Description

TwitterPad is an automatic RSS-to-page plugin designed to integrate with twitter. This plugin allows the user to add a number of custom search strings from search.twitter.com specifying which page (or a new post) new tweets should be added to.

For example, using 'from:{yourtwittername} #tp' you can collect all of your tweets which have been tagged #tp. You are also not just limited to collecting your own tweets, any search string will work.

The plugin was designed to automatically collect tweets I wanted to save for future reference (a tweet pad) and the page you collect tweets to doesn't have to be public. The plugin allows you to update any page in your blog, even if it is private.

Tweets are collected once a day the newest appears to the top of the page. Here is an example of TwitterPad in use.

NEW - TwitterPad v1.3.1 now has the option of manipulating twitter RSS feeds with other services like Yahoo Pipes.

NEW - TwitterPad v1.3 now has the option of digesting tweets as a new post.

If you have any feature requests either add as a comment or tweet using #twpadreq (results collected on this page using TwitterPad ;-)

The screenshot below shows the div class tags generated by the plugin, which you can use to control the layout using custom css. For example, on my own site I include .twPadItm { height:60px;}.

screenshot-1

leonardipaolo - Profile Pic
@leonardipaolo: sta provando un plugin che sembra essere molto interessante, vediamo se funge #twpadreq - 13 Jan 10 22:34
scotmacdonald - Profile Pic
@scotmacdonald: @mhawksey relative time format (an hour ago) #twpadreq - 05 Nov 09 17:14
scotmacdonald - Profile Pic
@scotmacdonald: @mhawksey limit posts per page #twpadreq - 05 Nov 09 17:11
mhawksey - Profile Pic
@mhawksey: ability to edit existing feeds #twpadreq - 03 Nov 09 10:11

32 thoughts on “TwitterPad Plugin

    1. Martin Hawksey

      Post author

      In version 1.0 the feeds were automatically refreshed every 24 hours. Just pushed out version 1.1 which allows you to control the frequency to every : 1h, 4h, 12h or 24h

      Reply
    1. Martin Hawksey

      Post author

      Hi Scot – I’ve added a screenshot outlining the styling blocks genterated by the plugin. The only additional styling I added to my blog template was .twPadItm { height:60px;}

      Reply
    1. Martin Hawksey

      Post author

      I chose not to limit the number because the original idea behind the plugin was to archive tweets (mainly your personal ones). If you are looking to archive higher volumes there are other web services for that, and if you are looking to display a twitter timeline there are other plugins which do that.

      Relative timestamps are a good idea. I can work that into the next version.

      Thanks for your suggestions,
      Martin

      Reply
  1. Syl Arena

    Martin -

    Tried to activate into 2.8.6. No joy. Crash reported at line 171 (not sure what that means).

    I would love a way collect all my Tweets for a weekly post on my blog. I’ve had no luck with TwitterTools. That developer seems frustrated with mounting complaints over problems. I’ve given up on it.

    Hope you’ll come up with a solution for this need as well. There are many who want to post a weekly digest.

    Thx. Syl

    Reply
  2. Martin Hawksey

    Post author

    Just upgraded to WP2.8.6 and seems to be fine? I have some time off coming up so I can look at this again. Like the idea of a weekly digest post so will incorporate it as part of the update.
    Martin

    Reply
  3. S2009

    I was able to install on WP 2.8.6, but got a similar line 171 error when it first tried to update. Tried deleting the plugin and reinstalling, but reinstalling reported a crash.

    Really liked it while it worked though :) Hopefully you can get it sorted out

    Reply
    1. Martin Hawksey

      Post author

      Running version 2.9. Deactivated plugin, removed saved options, reinstalled and all worked fine. Looking at line 171 and can’t see what the problem is. If someone could send the full error code that would be great.

      Reply
  4. S2009

    Also, in terms of feature requests – a good one would be to limit the number of tweets stored. For the purposes of space, at some point the number of tweets shown are just too many!

    Reply
  5. Lionel

    Hello and thanks for your TwitterPad plugin!

    How can I filter the @replies so as they won’t show up in the digest post? — I’d like to keep the tweets having @username mentions, though…

    Reply
  6. Martin Hawksey

    Post author

    @Lionel made a small update to the plugin [v1.3.1] which now allows twitter feeds to first be manipulated by Yahoo Pipes (the updated version includes a link to a pipe I’ve created which filters out @replies ;)

    Reply
  7. kevin Z

    Hi Martin, we used twitterpad on our blog for several days, but It recently crashed our webpage! I had to delete the plugin. Here are the circumstances.

    I noticed it was creating several drafts, between 5-7 draft posts. Yesterday afternoon I had tried to log in my site and got a database error message. I figured it was twitterpad since it was the only new thing we had installed. Deleting it restored my website.

    Any ideas? We’d love to keep using it if possible. Why does it publish multiple drafts for the same day?

    Thanks in advance for our help. I’m willing to reinstall the plugin if it helps diagnose any problems. Here is the last posting on our webpage if you are curious how we are using it. We aggregate posts with hashtag #DSN for news about the Deep Sea. http://deepseanews.com/2010/01/summary-of-tweets-for-january-26th-2010-8/

    Reply
  8. J Martin

    just for info, installing this plugin seems to break SourcedFrom. Other than that, works beautifully. Once I deactivate Twitterpad, SourcedFrom starts to work again.

    Reply
    1. Martin Hawksey

      Post author

      Hi J Martin – I think it is something to do with a conflict with an extension application used by both plugins called simplepie. You can get TwitterPad and SourcedForm to work together by commenting out lines 34 and 35 of twpad.php like this:

      // if(! class_exists('SimplePie'))
      // require_once(dirname(__FILE__).'/simplepie.php');

      Martin

      Reply
  9. Per Axbom

    You post design is one of the best I’ve seen. Nice work! Is there any chance you will be adding the possibility of a weekly digest for this plugin? Daily posts are a bit much in the context of my content.

    Reply
  10. Mark Sample

    I’ve been experimenting around with TwitterPad to archive Twitter streams from my class’s backchannel. Right now I have it configured to update a single page every four hours. It works well for a day or two, and then suddenly all of the tweets disappear. I visit the page and nothing’s there. If I run “reset” the page will repopulate, though only with the most recent tweets. I lose the earlier ones I had there. Any ideas?

    Reply
        1. Martin Hawksey

          Post author

          More than this http://mashe.hawksey.info/rsc-mashe-twitter-referrals/? (the code looks for a div tag if it’s not there thinks it starting a new archive overwitting the page with it’s template. If the page is too big it might not detect the tag).

          A more stable way to do this might be to use my Twitter Archiving Google Spreadsheet then embed the spreadsheet in the page. I’ve also got something that converts a spreadsheet of status update urls into a formatted page. If you are also feeling brave I could help you set something up to automatically monitor the sentiment of the tweets

          Martin

          Reply
  11. Amir Esmann

    Realy wounderfull plugin if not the best i have seen so far specialy the yahoo pipe option make it very dynamic and adaptable. The only minus i see so far is that all tweets get into one singel page /post. It would be more interesting to archive singel tweets in a singel post. did i miss something or would it need some line of codes more ? Thanks a lot for all your gorugous posts and shares.

    Reply
    1. Martin Hawksey

      Post author

      Hi – that option isn’t in the plugin. Not planning any more development on this plugin but because Twitter search results can be extracted using rss feeds you might try another plugin (like feedwordpress)
      Martin

      Reply
  12. Pingback:

    Google Spreadsheets and floating point errors aka when is 65078736491511804 + 1 = 65078736491511808 (and automatically archiving your Twitter Status Updates) JISC CETIS MASHe

Leave a Reply