Skin of Stars

Icon

Kevin Carmody on machines, media and miscellanea.

One Day Blog Hack

Hey All,

I’ve decided to do a blog hack in a day and here you see the result. I was struggling with Drupal as a blogging platform, and frankly an anything platform, so I decided to move to the decidedly easier WordPress. I’m not saying there is anything wrong with Drupal, it’s a great platform. The problem is that it’s built for so many tricks that you have to give it a real shove when you want something simple. For example, handling images. On a content sytem one would have thought that would be an obvious feature, but with drupal you have to go get a plugin. Madness I tell you! Not that getting WordPress means I’ll be bloggin frantically, but it makes life a lot easier.

So here is how I got from Drupal 6 to WordPress 2.7 in a day:

1. Backup the Drupal database & import the data into WordPress

Moving around between platforms is quite common, so you’ll often find a script to aid you in moving database info from one structure to another. WordPress has many such scripts built in for many platforms, but for Drupal I got my assistance from Mike Smullin. I had to make some minor changes, for example I added this SQL statement to change my Drupal post_type ‘story’ to WordPress’s ‘post’

UPDATE wp_posts SET post_type = REPLACE(post_type,’story’,’post’);

Pretty easy stuff really. If you’re going to do it yourself, make sure you do it locally on backup copies. I hosed a few before I got it right.

2.Theme Hack

Ahh yes, the inevitable theme quandry. I had thought about what I wanted Skinofstars.com to look like for a while, but I wanted to do it reasonably quickly as I hate it when these things hang around. My layout plan was simple enough. Only one or two blog posts on the front page with info on my other nettyness, like tweets. I also knew that I’d want access to other pages (as you find in the Further section.. not sure on that name). So I searched some WordPress themes and came across Grid Focus. It seemed to have the right level of minimalism that I was looking for as well as reasonably suitable layout. In order for it to work for me though I had to make a few hacks including some JQuery magic to include my further section (hope you like the transitions) and some layout hacks for the differences between a narrow and wide content column (you’ll see if you view this in single/comments mode).

3. Content Update

Probably one of the most time consuming parts. Much of my old content was Uncategorised for no reason and lacked any tags. Many posts from back in the Blogger days didn’t even have a title. I went through almost all of them (I’ve taken a break from the 1996 stuff) and finally managed to put these years of outpourings into some kind of order.

4. Update to server

Well, that’s just a bit of FTP and MySQL. Job done.

So long Blogger, it’s been swell

It’s taken me some time and a little soul searching if ones being honest, but I have finally decided to leave blogger behind me. Blogspot has served me well enough but struggled with the resrictions I always feel when someone else is hosting my webbyness, so I felt it was time we parted ways. Now I get the freedom to improve or make a mess of my own site. Though I’m sure I’ll lose a bit of traffic like this, I don’t think it really matters much these days.

Thankfully, and to make life extra easy, it is stupidly simple to transfer all your posts and comments over.

Boy Projects

I’m back in Oxford now and to be honest I’m glad. It was nice to be in Thanet, see old friends, that sort of thing but I’m eager to get on with learning. I didn’t really do much more than drink and watch TV in Thanet, being home makes me instantly lazy. I had three boy projects that I wanted to do in my month off…

1. Re-build the Manston Garden Club website. I knocked a really shaky one together a year or so ago and I was never impressed in the slightest with it. I always thought it looked like one of those ‘welcome to my webpage’ sites (google it). This project I did based on wordpress and its kinda ok now. If you like you can see it at manstongardenclub.co.uk

2. Re-skin and re-organise oonagi. It looks awful at the moment; cluttered, not very user friendly and lots of pointless pages. I have now done most of the design on a test site but I’m still some way from sorting it enough to go live. It will still be based on the e107 system with changes being almost entirely cosmetic. This should give the least jolt to the users who have already been through many changes on the site over the past seven years.

3. Develop Thanet Blog List Build a geographically specific collectively edited news site. Basically a reddit/digg/newsvine for Thanet, as well as being portable to other areas. This will probably be based on a system like Pligg but unfortunately I can’t get it to work on my current webhost (they are a little backwards on the technology side) and am going to have to buy more webspace elsewhere. I don’t have enough money till February so you’ll have to wait I’m afraid. The idea came out of some brainstorming for the new Blog List build. As there were so many new blogs popping up I thought that the current approach, just posting them as blog entries, was restrictive. My ‘vision’ was that everyone adds new blogs and every gets to vote on whether its and good or not This should help filter out the one-post-wonders as well as letting the average reader quickly find the authoritative blogs. Even better, I wanted the user to have the possibility of having their own account where they can have feeds from their favourites, a little like netvibes, thus saving time from visiting all blogs as well as being able to see at a glance whether there are any new posts. Alas, I couldn’t really get it together and quite frankly its not my project any more anyway. I think its current new design is pretty cool and it wouldn’t be difficult to get a latest entry feed page on it with all the blogs listed.

So I managed about one and a half out of three projects. Thats not a very good ratio in my eyes. Lots of thoughts, lots of talk but not enough action. At least I’m more productive here in Oxford so hopefully we’ll see some more results shortly.

My Twitterings....

Powered by Twitter Tools

About

My name is Kevin Carmody and I live in Oxford, United Kingdom. I am a web developer with a penchant for community sites and a pedantry for open standards.

This here is a collection of my thoughts and musings, a spot for pooling a little of what's rattling around. Thanks for taking the time to visit and I hope you enjoy your stay.