December 27th, 2011 by Marcus Povey
Another itch scratched, I would like to introduce a really simple Open Graph plugin for WordPress.
This plugin adds open graph headers to posts and pages on a per post basis.
It has no native interface, instead it listens out for og:* headers as input in the Custom Fields section of WordPress’ edit page and adds the ones it recognises to the page header as meta tags.
Once installed you will be able to add the following tags to posts:
- og:title (defaults to page title)
- og:type (defaults to “article”)
- og:image (URL, no default)
- og:url is also used, but this is automatically filled in
I wrote this in about an hour so it isn’t all that fancy, and was designed to solve a specific problem for me. Hopefully it’ll be useful to someone else out there.
Feel free to leave comments and send in any patches!
» Plugin page on Github
July 24th, 2009 by Marcus Povey
On this blog, I use the Friendfeed Activity Widget plugin developed by Evan Sims to display my friendfeed (eyes right).
This plugin appears to have a bug whereby items with thumbnails (flickr, youtube etc) will not display correctly. This may possibly be just on my site as nobody else seems to have reported the issue.
The issue seems to be a miss-detection of the entity type in the code, incorrectly assigning flickr and youtube types to the default “list” type. I have hacked together a quick patch which seems to be working for me (but crucially doesn’t fix the underlying problem).
Normally I wouldn’t post this sort of thing here, however it would appear that Evan is no longer maintaining the plugin and has turned off comments. Hopefully, if you are having the same issue as I was, this might be useful to you.
» friendfeed-activity-widget-mp.zip – My modification of 1.1.3
Image from Friendfeed.com