News Archive
PhpRiot Newsletter
Your Email Address:

More information

Habari plugins published

Note: This article was originally published at Planet PHP on 17 January 2011.
Planet PHP

I've just committed two new plugins to the habari-extras Subversion. Firstly, there's the 'share' plugin, which adds the Facebook OpenGraph metadata to pages so that the Like button works, and also adds Facebook and Twitter widgets to the bottom of posts. Secondly, there's a bitly plugin, that pings's API when every post is published and generates a short URL. This URL is then stored in the post info, and it provides a template to add it to the head of each page using the shortlink markup. I'd be interested in feedback from anyone more familar with Habari in case there's a better way to do what I'm doing.