{"id":137,"date":"2011-12-12T09:49:41","date_gmt":"2011-12-12T09:49:41","guid":{"rendered":"http:\/\/christopher.murtagh.name\/?p=137"},"modified":"2011-12-12T09:49:41","modified_gmt":"2011-12-12T09:49:41","slug":"simplerssembed-my-first-plugin","status":"publish","type":"post","link":"https:\/\/philoxopher.com\/2011\/12\/12\/simplerssembed-my-first-plugin\/","title":{"rendered":"SimpleRSSEmbed – my first WordPress plugin"},"content":{"rendered":"

Ok, I’ve been doing all sorts of things with WordPress for a while now, but oddly enough, I never actually wrote a plugin (although, in retrospect, I did a lot of template hacks that probably would have been easier to do as plugins). Anyway, I needed a plugin for a blog I was working on that would allow me to display the summary of N number of blog posts from another blog. There seem to be plenty of existing plugins that do this, however most of them are either horrible code (both HTML and PHP), or they don’t work with Atom feeds that don’t have descriptions. I wanted something very simple, with very clean output that would ‘just work’\u2122. So, after trying about a dozen of them, I decided to just write my own (which turned out to be insanely easy). If I would have started down that path at first, I probably would have been done sooner.<\/p> \n

So, if anyone is interested in this very simple plugin, here it is<\/a>. Of course, it’s GPL<\/a>. I expect I’ll be adding more features to it as I need, but for now this does exactly what I want with very little code to maintain.<\/p>\n\n

Documentation<\/h2>\n

Download<\/h2>\n

You can get the current version from here: simplerssembed.zip<\/a><\/p>\n

Installation<\/h3>\n

Put the contents of simpleressembed.zip into your wp-contents\/plugins directory, and unzip it. This should give you a directory called ‘simpleressembed’ which has 3 things in it: <\/p>\n