The Journey of the Browncoat Cat
No, the title of this article is not a spelling mistake. It is that time of year again. The end of January, and I decided to have a spring clean of the Web Log. You cannot failed to have notice that I am now using version2.0 of Ed Merritt’s Ocean Mist theme, with a customisable colour scheme, giving my web log a pleasant green all over look. The most important change is the fact that the URL of this web log is now http://www.gardd-lelog.org.uk/browncoatcat. So, if you have The Journal of the Browncoat Cat bookmarked in your Favourites, you need to up date the link. Two years ago, I moved the of Vorcampbel’s View web log from 20six.co.uk’s increasingly erratic services to a Wordpress Web Log hosted by http://wordpress.com, renaming it The Journal of the Browncoat Cat in the process. With a change in web hosting for my domain, I decided to be adventurous, and host my own Wordpress installation on the domain. This is how I did it.
The move was an interesting process. First of all, I tried installing the Wordpress MU installation that is an option with my new hosting service Netfirms. I decided that this was too much like staying on wordpress.com, as it was very safe and secure. So I decided to install a completely independant version of the software. Now in order to do this, I needed to establish a MySQL database somewhere. This was one Netfirms service I decide to avail myself of, as the whole MySQL thingy appeared to be complicated one step too many, best to walk before you run. Also, Netfirms will make a regular back-up of this database, which in addition to the regular back-up that I will be storing on my desktop PC should give my data some extra security.
So with database established I downloaded the Filezilla FTP Client and the Wordpress Software from http://wordpress.org and followed the Five Minutes Installation Guide and sure enough, after five minutes my brand new web log was up and running. However, I now had to start the process of transfering nearly half a decade’s worth of contents to its new home. This took considerably longer. Under the Tools Menu on the Dashboard of my wordpress.com web log, there is an “Export” option available. I downloaded and saved the Wordpress Extended RSS file this generated, a rather ungainly .WXR format file that was over 4.5Mb in size. This should not have been a problem, as the “Import” option found under the Tools Menu of the new Web Log said that I could import a .WXR files upto a maximum of 8Mb. I selected the downloaded file and clicked on the “Import and Upload” button. My browser chugged away for a few minutes before the screen changed and it asked me who I wanted to assign as the author of the entries to be uploaded and did I want to copy over the attached files? I assigned the articles to “admin” and confirmed that I wanted to upload the attachments, then clicked on the “Import” button. Once again the browser chugged away and eventually a list of imported files appeared and stopped somewhere in November 2003, nowhere near a complete import. So I hit F5 on the keyboard and the web browser chugged away again, more files were uploaded, but this time it stopped at somewhere in February 2004. Again I hit F5 and a page informed me that I needed to re-install the wordpress software. On checking, I discovered that the MySQL database had thrown a hissy fit and in my panic I deleted the damned thing and started again. After the third or fourth attempt, I reasoned that maybe if I cut the file down into a number of smaller, more manageable .WXR format files then I the database not be so highly strung.
Looking at the structure of the .WXR file in the Bluefish HTML editor, I worked out how and where to edit the file. The first thousand lines of code were related to various catagories and tags that are used by search engines to make the web log visible to the outside world. This was followed by the actual contents. Each Item whether it be an article, or a comment or a multimedia file was nested within a pair of <ITEM></ITEM> HTML tags, so if I created a file with a header consisting of all the “tag” code and ended the file with the HTML tag </Channel> as a footer, I could create fifteen or so bitesized .WXR files containing about 300Mb of nested <ITEM> tagged items. This took the good part of the day, and I was ready to start uploading to the new home.
Unfortunately once I got as far as May 2006, the MySQL database threw another hissy-fit. I decided to call it a night and go to bed. The following day, when I switched on my PC and fired up Firefox, to my delight I discovered that the database had calmed down and I was now told that Wordpress was already installed. I discovered that if I left the importation process and did something like surf The Doctor Who Forum for half an hour, then I could go back to the web log once the database had been calmed down, as that did not have to be re-installed every time.
So that was it, the web log was more or less imported. There are still a few problems, most noticably that the files were imported “as is” so the <IMG> tags still point towards the Media Library of the old web log at Wordpress.com. This is not a bad thing, as the majority of multi-media files have not transfered over to the Media Library of the new web log. The error message “remote server not responding” would appear after the file name during the importation process, and the process would move along to the next file. In total, only 210 of the 417 JPEG files have moved, none of the video or audio files are sitting on the server of my new web log. It looks as if I will have to do this manually.
So with the contents migrated to the new location, time to get some plugins to make the instalation work more smoothly, and a theme to make it look attractive. So Mr. Mullenweg or anyone else from Wordpress’ parent company Automattic happen to be reading this, can you please add an automated way of adding themes to wordpress.org blogs, in a similar fashion to the “Add New” function under the “Plugins” Menu will load and activate new plugins from the .zip file that is downloaded from the Internet.
So away we go, a new chapter in my web logging begins.
Flicking through the Daily Mirror yesterday morning, I noticed an advert for a set of three Wharfedale Orb DECT phones being sold by Argos at half their usual retail price. As soon as I got home, I hit the Argos web site, and sure enough the Aberdare shop had one pack left in stock. Quick as a flash I reserved them, and after lunch headed off to pick them up.


