[WordPress-Mu] Community Tag Cloud

Par défaut

A new and better plugin, MuTags by MrHenry, is now available on WordPress Mu forums

Because the last version of WordPress-mu is quite new, there is no proper plugin to start using new tag system available with WordPress 2.3 system.

Here is a quick hack I’ve put in wpmu-functions.php to display a proper tag cloud of all blogs, please send me feedback and tell me if you find any bugs:

Code for get_community_tag_cloud()

Copy this funtion in your /wp-include/wpmu-functions.php and then add to your theme:


get_community_tag_cloud($display=true);

For more updates, please follow the Mu Forum thread about this hack.

[Ruby] RFeedFinder and RFeedReader

Par défaut

In the refactoring process of Feevy.com (mostly to remove dirty spaghetti code), I’ve write my first 2 ruby gems, with some time to learn and practice with new toys for ruby.

Rubyforge

http://www.rubyforge.org

That’s the place that hosted most of rubygems and is the most useful to deploy your own, it comes with all you need to start and deploy a project: svn, webspace, bug tracker, forum…
But it would be a pain to deploy everything by hand, a gem is available to do it quicker.

New Gem

http://newgem.rubyforge.org/

It’s a simple gem that would generate for you an environment where to build your gem, with a few rake tasks to easily deploy it locally and on rubyforge.

Configuration is simple, just replace ‘FIXME‘ in code with what is needed and start coding your new gem.

To deploy on Rubyforge, don’t forget to setup your access on your local machine.

RFeedFinder

http://rfeedfinder.rubyforge.org/

Main purpose of RFeedFinder is to locate the feed url inside a webpage. It can be really tricky, sometimes using recursion or lucky guesses, but it should work 95% of the time.

RFeedReader

http://rfeedreader.rubyforge.org/

Once we’ve got a feed to parse on Feevy, we want to read its first item. That the purpose of this gem.

Another purpose is to use this gem to update Feevy posts from external clients. Feevy server was doing all the job when a feed was updated, now updater clients can parse the feeds too, and return the complete info to Feevy server, so we’ve another performance boost on the central server.