I’ve had an itch for a while to create my own photoblog site. Flickr is convenient, but it doesn’t feel like your own site, and you can’t style it the way you would like. I’ve tried other photo hosting options, but they have the same kinds of issues. Lately I’ve wanted to host my own stuff in my own way, using — as far as possible — simple frameworks that I understand and can maintain. I have been working on it for a while, but I’ve finally got my Hugo-based static photoblog setup to a presentable state, and made it public. Here’s how it works.
My recent tinkering with Slipstream and micro.blog has been going quite well. The convenience of automatically piping my social media activity elsewhere to Tumblr has certainly resulted in more frequent posting there, which was my main goal. While IFTTT is easy to use, it has its limitations, but I didn’t know of any alternatives. That was until I accidentally came across Huginn.
As I wrote about earlier, I’ve just finished moving this blog from Pelican to Hugo. I was so impressed with Hugo after setting up Slipstream to use it, that I fancied trying it here as well. Not that there’s really anything wrong with Pelican — it’s a great system, with a lot of flexibility. It’s just that Hugo has two big advantages, the first of which is particularly useful to me, as I’ve got such a large site: speed.
I’m going to write more about it later, but I wanted to quickly post about a change to this site. I’ve switched to using Hugo to run this site, and in the process decided it might be time to rationalise my feed address. For various historical reasons, the old address for the feed was very convoluted. I resisted changing it (even though it no longer made sense), because I’ve found that doing anything with feeds is fraught with confusion and difficulty.
Anyway, it’s time for me to bite the bullet and just change it. This may well break things. More than likely you’ll also end up with notifications of new items in your feed or duplicate items, or any number of other configuration horrors. I’m truly sorry about that, but I just don’t know how to avoid it. The new main feed address is this one, but there are also now individual feeds for each tag, if you’d like to follow a particular topic. The URLs for those can be found by clicking the RSS feed icon at the bottom of the tag page you’d like to follow.
It seems like only yesterday that I was converting my neglected Slipstream snippets blog to a Wordpress installation. I originally did it so that I could use IFTTT to provide some of the content automatically by pulling in stuff I had posted elsewhere (like Flickr, Pinboard and so on). That was a good idea, and it worked reasonably well, but two things became apparent quite quickly:
- I am really bad about keeping Wordpress updated, and with all the hackers out there trying to spam Wordpress sites, that’s a dangerous game to play. I hadn’t yet been targeted, but my feeling was that it was only a matter of time. You should be able to hit a button in the Wordpress dashboard to update, but due to my particular set up, that wasn’t working and it had to be done manually, which is to say, never.
- I was never really happy with the styling. Ideally, I wanted to format each of the types of post differently depending on the content. I’m sure if I was better at modifying Wordpress templates, I could have accomplished it, but that was beyond my abilities.
You may remember that I wrote about a month ago about my Hazel workflow to enable me to publish blog posts from my iPad. That has been working well for me, but it was — by my own admission — a rather gaffer-taped together solution. One minor problem was that I my iMac isn’t awake all the time, just most of the time. So the publishing workflow is most vulnerable when I’m away from home (and I most need it), and my iMac is likely to be asleep.
As an update to this post, it predictably didn’t quite work the way it was supposed to. It fell at the building hurdle, but I think I’ve fixed the paths now, so this should work. Fingers crossed!
If everything goes to plan, this post should appear on this blog, after having been written and auto-published from my iPad.
I realised that I could use Dropbox and Hazel to write on any Dropbox connected device and get my home iMac to automatically build the site using Pelican and rsync it to my Linode server. It works like this:
I write the post on my iPhone or iPad using any Dropbox-enabled notes application (I happen to like WriteUp), saving the article in a Dropbox folder called Drafts.
I’ve been pretty busy over the past few weeks for one reason or another. Exam marking and other administration has been very intense, and Mr. Bsag had to go in for planned surgery on his foot, which generated a bit of domestic upheaval. Things have calmed down a bit more now, and I’ve had time to finish my spring clean of this site. If it has worked, things should look a bit different around here.
I had one or two problems with the Atom feed that happened just after I moved from Feedburner recently, but which were actually my own fault and nothing to do with that transition. During a previous update of Octopress, I think I must have forgotten to update the source for the Atom feed. I therefore didn’t have the latest version in which the contents of the feed are surrounded by CDATA blocks.