I had been thinking for sometime that the blog was due a makeover, but just couldn’t be bothered to sort it out. Then last week I needed to move LibDemBlogs over to a new server, I planned to move the blog with it, but at some point in the future when I had some free time. Turned out that the old server needed renewing now, so the plan to leave the blog for a bit was turned into a Bank Holiday of coding.
Then with the blog on the new server I just got a white page. I had modified my old template over the years with some random pieces of code and one of them was causing an issue, hours of attempting to fix it resulted in no luck. In the end I decided to re-install WordPress from scratch (whilst keeping the old database) and from here I installed this new theme.
After all this I then discovered I had quiet a few duplicate comments in my database (possiblily from when I moved from Blogger to WordPress, or from Haloscan to WordPress). I deleted all of these, but then discovered around 70 comments weren’t attached to any post. Unfortunatly there doesn’t seem to be any way in WordPress to move comments from one post to another so I had to manual edit the database using mySQL queries as well as trying to work out which post from 2004-2006 people were on about.
Hopefully the backend to the blog won’t need much more work, and I can focus on making a few tweeks to the template in the coming days.
Tag Archives: wordpress
Twitter fun
This weekend I have been mostly playing about with Twitter.
First I created a CNPS (Consecutive Number Plate Spotting) TwitterBot. The bot watches for @ and d messages to it, it then adds the plates to my database. Anyone with a Twitter account AND and Artesea account can get it to work, just visit the mashup page here for more info.
Next I managed to exceed the weekly allowance for tweets to my mobile. Think it was something to do with a large number of followers at Conference.
And just now I’ve installed a New Post -> Twitter plugin. This one seems to be one of the best as it’s run from my webserver (doesn’t require frequent polling of the rss feed), and it has the option to enable/disable tweets for draft, edits or new posts, so unlike other who have similar plugins you should only get a tweet from my blog when I hit Publish.