Twitter on Campus

North Carolina State University has really made an impressive case for using Twitter more extensively on campus.  A wide range of departments, organizations, and clubs at NCSU are using Twitter to get announcements, events, and relevant links out to the campus community, and they created a slick aggregation space that brings all of this together cleanly.  They’ve even made the source code for the application they developed freely available to anyone who wants to use it—-major kudos to the NCSU development team.

Now we have been playing around with this idea for a while now, and it seems like we are starting to see a wide range of departments, groups, and affiliated organizations here at UMW are interested in using Twitter for announcements and the like, so—if I can convince Martha—-we are going to hack around in UMW Blogs to try and get our own aggregation point for UMW Tweets that feature news and announcements that are relevant to campus.  The site will be, and as I see it now, we will be using the Add Link widget to have people drop off their Twitter info, and then pull it all into FeedWordPress so that we can both aggregate and publish the various Twitter streams into one site on UMW Blogs.

You may be thinking to yourself at this point, why not just use the code NCSU so graciously made available? That actually a good question, and my only response is I know nothing about PHP libraries, and rather than setting up a new instance, I’d rather see if we can’t quickly hack together a similar model using the tools we have, a space a large part of our community already is familiar with and regularly visits. If it doesn’t work out, we can always play with the code and PHP libraries I’ve been trying to avoid.

The only issue with the Add Link/FeedWordPress setting is getting the Twitter avatar to appear. I think we can hack the P2 theme to get us most of the way there, but the avatar will be looking for a Gravatar associated with an email, or an Avatar created when a user starts their UMW Blogs account. So what we need to do is make sure anyone who adds their Twitter account to has a UMW Blogs account. I think we can do this by putting a hacked version of the Add Users/Add Link widget that requires both their UMW email (they will need to be a member of UMW Blogs to add this) as well as their Twitter URL. This will allow us to map the RSS feed in FeedWordPress from their Twitter account onto their UMW Blogs user account. Once this happens, the avatar associated with their account on UMW Blogs (either through Gravatar or the built-in avatar function in BuddyPress) will be associated with their tweets on, and their tweets will actually link back to their Twitter account.

The more I think through this the more I see it may be better to just figure out NCSU’s setup using their source code and go from there, but I guess I’m a glutton for bad hacks.  We’ll see, but in the mean time is their anyone out their at UMW interested in experimenting on this with us? If so, add your twitter URL here, and let’s get this party started right.

This entry was posted in , twitter, twitter. devwpmued, UMW Blogs, umwblogs, Wordpress, wordpress multi-user, wpmu, wpmu development, wpmued. Bookmark the permalink.

1 Response to Twitter on Campus

  1. Neva says:

    Awesome, Rev! I can’t wait. You are Martha are my heroes.

Leave a Reply

Your email address will not be published. Required fields are marked *