Quick post to point out a tiny tool that I’ve found useful while hacking together various webby thing that use and expose open graph meta tags and microformats.

It’s a VERY simple tool, that when passed a URL, will mine the page for Open Graph and Microformat data (using my Open Graph library, and Barnaby Walter’s fantastic MF2 parser). You can even execute it from the command line if you have the CLI version on your path, which I find handy.

Anyway, code on github, and you can see it running on skunk.

» See it running on skunk…

» Visit the project on Github...

opengraphlogo So, I needed a simple open graph library for a project. There are other libraries, but I just needed something simple and quick, so I bashed this library together.

The library contains a class with a single static function, you pass it some page contents, and it’ll spit back a key => value array containing any open graph entries in the page.

This was handy for me, it might be for you 🙂

» Visit the project on Github…

opengraphlogoThe Open Graph protocol is a way of providing rich content information for pages when shared on social networks.

This is quite powerful, and there’s a lot you can do with it, but at the basic level it provides a way for content creators to control how the share stub looks when shared on networks like Facebook or Google+. Support for this has been missing from Elgg for a while, so I dusted off some old code and built a plugin to add support!

The Elgg Open Graph plugin adds Open Graph meta headers to your Elgg site (with reasonable defaults), and provides a framework for you to add specific open graph headers to object pages and specific URLS.

» Visit the project on Github…