I've been developing andrewj.com for about 15 years, and although I'm
not that prolific I've built up quite a lot of content.
I recently converted my blog from an old bespoke (= "custom", for my
American friends) solution to one based on WordPress. However, this
created a problem, in that the WordPress model is to hold all content in
the database, and that wasn't the right model for me.
Firstly, I have a number of articles which are very long for a blog
post, and I had no interest in restructuring them. I also didn't want to
break external links to the existing articles.
Next, I decided that I wanted the freedom to continue to write in
that style. Some of my writing takes several weeks, and it works for me
to draft it as separate HTML pages. I also sometimes want to include
active content or multiple images, and I don't want to create a large
and unwieldy WordPress database full of such stuff.
Finally, my online photo galleries are managed and generated using
Jalbum, and I wanted to find a way of neatly integrating single images
into my blog, complete with the watermarks and metadata extraction which
Jalbum manages so well, without duplicating that functionality in
This is probably typical of many older web sites, but WordPress
doesn't really embrace the integration of external content. This article
describes how I solved this problem, and a WordPress plugin I have
developed to make my solution reusable.
My requirements for "integrating external content" derived from what
I'd done with my bespoke blog, and can be summarised as:
Essentially the solution is as follows:
I've wrapped my solution up into a WordPress plugin. To use this
you'll have to be willing to edit your theme files, a couple of
general-purpose include files and, if you're linking into Jalbum, the
slide template for your Jalbum skin.
The plugin is designed and tested to work with WordPress 3.0, but it
should work with 2.9 which also supports the required metadata
Detailed instructions for using the plugin are on
The Instructions Page.
If you'd like to comment on this article, with ideas, examples, or just to
praise it to the skies then I'd love to hear from you.
© Questa Computing Ltd. 2010
Page last updated
22 March, 2013 08:30
How many subscribers?
About my feeds