Now you can add a Facebook “Like” button to any webpage, so I quickly created a plugin to add that to WordPress, it will take a day or 2 to publish to the official plugins site, but in the meantime you can grab it at GitHub. If you don’t have Git, then you can download a zipfile of it.
Tag Archives | plugin
Recently I’ve been spending a lot of time on a new Rails project that deals with photos and it also uses a lot of jQuery. I love the jQuery image lazy load plugin and thought since my blog is pretty image-heavy, it’d benefit from it too. It’s trivial to use this plugin, but since my blog tracks WordPress via Subversion, I wanted to do it as a plugin so I wouldn’t have to touch the WordPress code. After 15 minutes or so I hacked together a plugin for this.
It took a day to get commit rights to the Subversion repo of WordPress, since I use Git and had already pushed to Github, it was a bit of an annoyance to add the empty Subversion repo with git-svn. I won’t go into the steps, but this thread helped a lot. I must say that since it’s a shared Subversion repo, the revision number was 119065 to start with, so git svn fetch took a very long time. I spent almost an hour to get to the point so I could do git svn dcommit. And now every time I do dcommit it takes a while coz it pretty much has to compute the diffs between all the recent commits and apply them to Subversion. After using Git for so long I forgot how painful Subversion was.
Sociable released a WordPress plugin to link up WordPress blogs to Facebook with Facbeook Connect. I just installed it, took about 5 minutes, and it works great. It allows you to link your FB account to this blog, so you can post comments with your FB identity. Your comments are automatically approved if you posted with fbconnect. You also get to use the familiar fb:multi-friend-selector to invite friends to this blog.