Simply Jonathan

Merge

The day has arrived at last; I have merged Simply Jonathan and holst.notes at the simplyjonathan.com domain. The reasons for this are many, but the primary is that it seemed unnecessary to have them separated. So, starting some time last week, I began redesigning Simply Jonathan to accommodate for new, shorter entries.

I had a long time ago planned to redesign Simply Jonathan, and move it to WordPress. The things I said back then still are true; I just realised that it did not really matter. No, blog systems are still not geared towards the longer entries I want to write, but they are not hostile either, and so it seemed strange to keep on to a publishing engine that did not really cut it. The problem was, after I had launched it, I did not really want to do anymore. This left me with a raw Django admin that, albeit pretty, lacked all the automatic processes I need to write efficiently. WordPress had those, and then the horrible code throughout the system, and the stupid template system was of less importance. I still do not like WordPress, but it does as labelled, and that is fine for me at the moment.

In the midst of it, I also decided to merge my del.icio.us postings into the blog, to emulate a Gruber-esque Linked List approach. A, shall we say, interesting experience. More on that in a bit.

So, after I realised that I would move it into one WordPress installation, I did as follows:

  1. I manually entered the three Simply Jonathan entries into the system. It seemed like too much work to write a conversion script from a custom format to WordPress, since it was only about three entries. Copy/paste in all its glory.
  2. I then wanted to import all the 100-something notes into the system. Now, suffice it to say, this was too much manual labour. And since they were both WordPress, I figured I could just export the holst.notes posts table, and import it into the Simply Jonathan one. Not so. Apparently, I had used ISO-8859-1 with holst.notes, but I opted for UTF-8 on Simply Jonathan. Oh well, this is not really anything I can blame the WordPress team for, this was my own fault.

    So I decided to investigate the ex-/import possibilities I had discovered in the Simply Jonathan interface. However, holst.notes was running an ancient version of WordPress, one from before the time they realised that this sort of behaviour could happen. Bugger. Oh well, I would just have to use the WordPress-to-Wordpress plugin. So I did. But when time came and I had to upload it, WordPress was giving me an error. Turns up, upon code investigation, that WordPress believes it can safely write onto whatever location PHP stores its temporary upload files. Turns out, it could not on my host. So I had to FTP it to the server, and then hardcode the location to that file. Not pretty, but at least it worked. Then I did a bit of hacking regarding categories, as I decided to slightly change formats, and holst.notes was done.

  3. Importing del.icio.us posts proved to be quite tricky, although that was to be expected, given the quite custom format I wanted. I wound up writing a hacked up parsing mechanism for the bookmark format del.icio.us exports into (which seems to be a browser parseable format). Using WordPress’ quite excellent custom fields, I managed to hack up a solution that works quite well.

So now I have a new style blog with three different types of content: links, notes and essays. I hope it will be great.

This is Simply Jonathan, a blog written by Jonathan Holst. It's mostly about technical topics (and mainly the Web at that), but an occasional post on clothing, sports, and general personal life topics can be found.

Jonathan Holst is a programmer, language enthusiast, sports fan, and appreciator of good design, living in Copenhagen, Denmark, Europe. He is also someone pretentious enough to call himself the 'author' of a blog. And talk about himself in the third person.