WPMu Sitewide Tags, Feeds, & Archives! Oh, My!

Image from The Wizard of Oz

So….so so so so so so, it’s time for a little walk down WPMu history lane. Last year at this time I was desparately scrambling for a way to have sitewide tags for UMW Blogs. I found the solution in Dr. Mike’s hack shared on the WordPress forums here, but it was a kind of a mess even then. Yet, the concept was brilliant, a separate site that allows you to archive, search, and create a tag cloud for categories through a good ol’ spamming plugin. —DIY ingenuity at work given the limitations of WPMu at the time. The set up ran on a separate single install of WordPress that was pulling in the sitwewide feed from WPMu (thanks to It Damager –who has disappeared along with his Sitwewide feed plugin) and running it through the outdated Wp-Autoblog plugin, as well as a plugin for re-directing the permalink to the original blog it was fed in from (a process I detailed here). Moreover, once I got this hacked concept straight in my head and installed it, the WP-Autoblog plugin and the Sitewide feed plugin had to be further modified to work. Add to that the fact that when I updated UMW Blogs from 1.2.x to 1.3.3 the category were no longer pulled into the separate WP site properly, effectively breaking the tag cloud. Making the whole thing at least a partial bust right around February. In short, it was an extremely smart hack on Dr. Mike’s part, but in the long run it became more of a nightmare than an asset.

So, as soon as I saw the MuTags plugin for WPMu sitewide tags from Mr. Henry I jumped on that, and made that the default tag cloud for UMW Blogs, and used Dr. Mike’s hack as an archive for posts throughout the environment (sans categories). But Mr. Henry’s MuTags had two problems: it had no sitewide feed for each tag, and it couldn’t incorporate categories into the tag cloud. Moreover, when we bought the $50 extension for the plugin which allowed feeds for each tag, I found the feeds to be pretty poorly parsed and ugly ( But I was hopeful enough to blog it, and when Stephen Downes took issue with our paying $50 bucks for this functionality I wore all black for weeks and couldn’t sleep at night (this was before he discovered and broadcasted the beauty that is EDUPUNK —welcome back Stephen ) ).

So, that kind of brings us up to date, and it is also when a new era begins for WPMu. Because all the functionality I needed at least three plugins for, a separate WordPress installation, a brain surgeon, and a hammer to make work have all been bundled into one little WPMu plugin developed and shared by the inimitable Donncha: Sitewide Tags Pages for WPMu. This plugin gives you all the functionality that the original hack did, namely a searchable archive of posts and sitewide categories with feeds, but adds a few as well such as sitewide tags (which are really tags not categories called tags –we have figured out the difference, right?) and sitewide feeds for tags, a built-in “spamming tool” that just republishes the post from throughout the environment onto one blog in your WPMu environment at the URL http://tags.yourblog.com. And more than that, the permalink points to the original blog and the author is immediately populated in the tags blog making the whole process seamless and clean. Not to mention the fact that given it is a blog within your WPMu environment you don’t have the overhead of a separate install with outdated versioning because you don;t want to surrender the archiving functionality all together.

So, how to use this? First off, keep in mind Donncha has made it backward compatible for older versions of WPMu, but I would recommend using it on 2.6 only, for it seems there are still some glitches on older versions (at least WPMu 1.3.3). Here is how I am thinking about using it on UMW Blogs. As a sitewide category/tag cloud with feeds galore, which will actually be useful for syndicating class content as I talked about in the e-portfolios post here—not to mention a few other ways of thinking about course blog -but more on that soon. And given all the posts with both their tags and categories are in one blog, I can actually use Simple Tags to display the tag cloud, make categories show up as tags, and get a consistent feed with some related tags and posts contextual goodness. Laying Simple Tags over this blog and playing with it will make all the difference in my opinion. I have started this process as an experiment here.

Image of sitewide tag cloud on WPMu

Moreover, we can starting thinking creatively about archiving the posts on UMW Blogs with little or no hassle. We could actually archive a whole semesters worth of posts, or year’s, by simply exporting the XML file for the tags blog, or dumping the database. In effect, starting fresh every semester, while creating a separate space for the large, searchable archive of all the posts in UMW Blogs. This plugin has the potential to solve so many problems all in one fell swoop, I’m excited about it, and will be keep you updated with the process as UMW Blogs makes the transition to WPMu 2.6.

P.S>–After just checking my sandbox version linked to above, it seems like this plugin also pulls in pages from around the environment, which is fascinating. And I will have to think about the implications of this, i I am, indeed, correct.


This entry was posted in , wpmu, wpmu development. Bookmark the permalink.

3 Responses to WPMu Sitewide Tags, Feeds, & Archives! Oh, My!

  1. Paul H says:

    Having updated to 2.6 (once we had recovered from watching your hilarious screencast) we were very excited to try out the sitewide feeds plugin. It seems to work great on the main domain of your MU install but we have a several domains mapped onto ours and when you (try to) post onto another domain many hundreds (if not thousands) of posts are attempted to be written. This has happened with external clients (Scribefire & Flock) and the normal webinterface. Remove the plugin from mu-plugins and the problem stops.

    Sadly there doesn’t seem to be a way of getting this working by not putting it in the mu-plugins folder as if you try to put it in the normal plugins folder and activate it on a per domain basis, the links in the sitewide blog don’t resolve to the original posts 🙁

    Hey ho, we await the update from Donncha with bated breath…

  2. John says:

    Very good post. Thank you. mu-sitewide-tags is perfect

  3. Reverend says:

    My pleasure John.

    One caveat, it has been my experience that when running mu-sitewide-tags with FeedWordPress all kinds of ugly things happen. FeedWP has been balking on my, and not all the post in the sitewide tags blog are getting picked up. It has kind of thrown me off this semester to tell you the truth.

Leave a Reply

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