LlamaBlog

Lazy Llama (Nigel Hardy)
  • rss
  • Home
  • Photo Gallery
  • Archives
  • About Lazyllama
  • Contact

Same Same But Different

Mon 27th June, 2005 | 10:48 am

Finally getting things sorted with the new blog software I switched for two main reasons:

  • MovableType version 3 had increased licensing restrictions so that the free version would only support one blog (pretty much)
  • The comment spam problem had caused me to close off all comments on the blog and there were a couple of good Captcha-based plugins for Wordpress

I started off by exporting the stuff from my MovableType blog, and then set up a local copy of Wordpress on my Powerbook. With that in place I could import the MovableType export. That worked well with a slight problem related to the Textile 2 post formatting plugin for WP which didn’t use the same syntax for images as the version for MT. WP and its plugins are written in PHP whereas MT is written in Perl. With a bit of fiddling I managed to make Textile 2 for WP handle the images in my old blog posts.

After that it was just a case of getting the templates and style-sheets right and installing one of the Captcha comment plugins.

It was easy to get the style-sheets working nicely with Firefox and Safari as both are pretty close to the standards regarding CSS, but Internet Explorer proves to be more of a challenge. It has a problem with the Box Model of layout that CSS uses and plays fast and loose with positioning and margins. Even better than that, the Mac implementation of IE (version 5) reacts very differently to way Windows IE 6 treats the same code.

Offline I only have a Mac to test stuff on, but have Virtual PC with Windows XP running inside that. VPC has an issue with OS X Tiger so that it won’t run in Virtual Switched Network mode, only shared network mode, so I can’t reach the web server running on the Mac from the virtual PC also running on the Mac. Instead to test the layout I have to save a copy of the page tothe shared directory using Firefox on the Mac, then open it using IE on the PC. All a bit tedious. I also don’t have access to all the info on the IE bugs which are available online.

I do have a spidered copy of most of the WP documentation which has proved very useful. Having all the documentation online is great for making sure that its all current etc, but does cause a problem if, like me, you have to pay for internet time. Maybe an automated daily package could be compiled for people who want to read the docs offline?

I’ve used some Apache rewrite rules to redirect links to my old MT pages to the equivalent WP entries so that Google etc should still find them.

I had the devil’s own trouble getting either of the two Captcha comment plugins to work. One required PHP to be compiled with GDlib and FreeType, the other needed ImageMagick with FreeType. Neither the PHP I had built nor the ImageMagick were suitable. I rebuilt PHP with the required modules but still didn’t get AuthImage to work, so have now (I hope) built ImageMagick as required by SecureImage instead. I left the compilation going on yesterday when I left the Internet cafe so we’ll see how it is when I get back there to upload this blog entry.
Update: It didn’t work, but a bit of tweaking means that comments are now working. Woohoo!

Some pros and cons for WordPress vs MovableType…

Pros:

  • Built-in link handling
  • Fully Open Source
  • Easily extendable
  • Well documented and commented code.

Cons:

  • Every page generated dynamically so slower than the static pages used by MT.
  • Some built-in tags are a bit restrictive.
  • Documentation only online
Categories
Blogging
Comments RSS
Comments RSS
Trackback
Trackback

« Sorry if you’re using IE Holed Up In Haad Rin »

3 responses

Hi Nigel - hope you and Vic are well. Glad

Jag | Sun 10th July, 2005 | 9:00 am

Hi Nigel - hope you and Vic are well. Glad your migration to WP worked in the the end. I like you captcha! Very contemporarily arty! :-)
Funny you should list the speed issue re dynamic page generation as a con. I was disappointed by this too - but apparently there is a way to configure WP to build statics - but I haven’t foud it yet - and you’re right about the documentation - it’s pretty hard to navigate through.

Ps - your captcha codes are really quite hard to

Jag | Sun 10th July, 2005 | 9:02 am

Ps - your captcha codes are really quite hard to interpret. (In other words - it’s too good!) Took me three attempts (page reloads) to get one that I could transcribe successfully. You might want to relax some of “bendiness” - and also perhaps not use the letter “O” - as this is hard to differentiate with the number zero sometimes.

Hi Jag, The WP-Cache plugin speeds things up (http://mnm.uib.es/gallir/wp-cache-2/) and I

Nigel | Mon 11th July, 2005 | 8:39 am

Hi Jag,

The WP-Cache plugin speeds things up (http://mnm.uib.es/gallir/wp-cache-2/) and I also use Turck mmcache for PHP which caches PHP pages.

Will look at tuning SecureImage a bit too.

Leave a comment

You can use these tags : <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Recent Posts

  • The Big Chill 2008
  • View on the walk to work
  • Aldeburgh, Sizewell and Orford
  • Jake and Dinos Chapman exhibition
  • Cleethorpes and Grimsby

Photos (view gallery)

The Sirens' ship from Sirens of Treasure IslandThe Fountains at The BellagioThe Flamingo,m Las VegasThe Fountains at The BellagioBally's, The Paris and a reflection of The FlamingoFigurehead of the Sirens' shipThe Fountains at The BellagioThe Ventian Hotel form the pool deckThe Flamingo

Search

Blogs

  • Beermat
  • Dodgybint
  • Exoskeleton
  • Haunting Thunder
  • Method Photoblog
  • Route 79
  • Rumbugger

Friends

  • Boum!
  • Comedy at The Castle
  • Maison Famille
  • The Sigilhouse

General

  • Charles Booth Online Archive
  • East London Life

LazyLlama Links

  • CD Collection
  • DVD Collection
  • LazyLlama DockCam
  • Misc Odds’n'Ends
  • Photos 1999-2003
  • Photos 2003-2007
  • Tech Llama

Music

  • Mark Stewart
  • Pigbag
  • Shriekback
  • Sigue Sigue Sputnik
  • Voice of the Beehive
  • Was (Not Was)

Read

  • Carl Hiaasen
  • Christopher Brookmyre
  • Douglas Lindsay
  • Indra Sinha
  • Lindsey Davis
  • Mark Chadbourn
  • Martin Millar
  • Peter Robinson

Watch

  • David Lynch
  • Futurama
rss Comments RSS valid xhtml 1.1 design by jide powered by Wordpress get firefox