First off, I'd like to make things perfectly clear, I use both my blog and twitter as a place to test technologies. There's always a possibility that something I do will cause a minor explosion. It happens rarely, but every now and then it's going to and I apologize in advance for this. This is a bit of a playground for me.
As is painfully obvious to my twitter-peeps last night there was a bit of a mishap involving twitter and my blog. In a period of a minute I basically retweeted my last hundred tweets or so. I'm posting what happened here so folks having similar issues can see what went on and how I'm handing it in the future and possibly some changes I'm making to the drupal modules in question.
So... on to my story. A few days ago I posted an entry about making my blog the center of my web presence basically adding friendfeed style features into my blog and using seanreiser.com as hub to access my online content.. While doing some research I found a drupal module named activity stream which grabs content from a number of services, creates drupal nodes for them and creates a stream for your site. It also accepts RSS and has a plugin system that allows you to create interfaces for services that it currently doesn't support. So, last night, being the curious person I am, I decide to install the module on seanreiser.com's drupal install and check it out.
A couple of minutes after the update I realize that something has gone terribly wrong I start getting twitter DMs and @s like mad (and by upset folks). It appears that I'm tweeting my entire activity stream for the past few days including tweets that I had already sent out. I shut stuff off.
A while back I had installed the twitter module onto my blog. It sends a tweet whenever I add a new story to seanreiser.com. It's a nice little module that I don't give much thought to. I always assumed that it sends a tweet when a front page node of type story was created, this is not the case, anytime a node is created, regardless of whether it's a front pager or not; a tweet is sent. As it just works I've never needed to look at the code to see what it was doing, my bad. So as activity stream is creating all these nodes for my past tweets, photos, bookmarks, etc they are being tweeted.
In addition, it seems that activity stream doesn't work fully, yet. For some reason most of my activity was dated 12/31/1969 (I assume that's a plug date for content it can't figure out a date for). So, here is my todo for these modules to get things working
As I get these thing done I'll post them over at the lab and submit patches to the module owners.
Sean Reiser, 40, is a developer, technologist, and amateur photographer. Sean has spent the past 20 years as a programmer, system architect and development manager. He is a life long New York resident.
Sean currently serves as the President and Chief Geek Officer of Repair Sense, Inc.. Please go to that site with any professional inquiries.
Sean can be found using a number of social networks. These are the ones he's most active on:
Have you figured out a solution for the date bug in Activity Stream? I came across the same problem and I wonder if you have a solution before I look for one myself.
Have you figured out a solution for the date bug in Activity Stream? I came across the same problem and I wonder if you have a solution before I look for one myself.
Oh, sorry for the double post. Seconds after posting my question, I found a solution:
http://finbardivine.livejournal.com/59992.html?mode=reply
It seems to be working well!
Took care of the double post.
There is still a bit of a timezone issue that you should be aware of. RSS feeds give time in their local time but timestamps are stored in GMT. You might want to be aware of that as you muck around with this module
I see. Thank you for the fix!