Blog

Migrating from Typo3 to WordPress

November 5th, 2008 at 10:00am | 9 Comments

One of the sites I currenty help maintain at work is a private community site for employees of one of the largest restaurant franchises in the world.  For the first year, our resident copy writer was the blogger.  But recently, the client decided to hold a competition among it’s restaurant employees to become the next blogger.

Now, this community site was developed before I came on board.  It was developed by several different developers, under a ridiculous timeline, around a CMS that turned out to be horrible.  At the risk of pissing off an entire community, I am comfortable saying that Typo3 is one of the worst CMSs I’ve ever come across.  The code is absolutely atrocious.  I know WordPress’ abuse of global variables is bad, but that’s nothing compared to Typo3′s globals.  You should see this thing eat through the memory on a dedicated server with only a handful of concurrent users and caching turned on.  A few months ago, I picked on Textpattern and how it invented another templating language.  That was such a minor offense compared to the scripting language that Typo3′s developers decided to come up with.  These “Typoscripts” are modified in the backend, are stored in the database, are parsed and loaded into a global array, then used at run time.  It kind of resembles Javascript but as the Typo3 docs repeatly say, it isn’t a programming language.  It doesn’t have any of the control structures that Javascript does.  I could go on and on about Typo3′s bewildering features, but the main point here is that the backend is not user friendly; especially for blogging.

So, naturally being the resident “WordPress expert” (a title I’ve been given) I was tasked with getting the Typo3 backend ready for the new blogger.  I started exploring my options.  I had discussions with my office mates about migrating the data to WordPress, but we decided that it would be too much work because we would also have to create WordPress templates and migrate the design.  This was just not possible given the timeline.  So, I started exploring Typo3 to see if it could be used to allow the user to easily upload files and write posts as easily as WordPress.  No luck.  I then decided to start adding a custom piece to the Typo3 Task Center, using TinyMCE and adding an upload utility, much like WordPress.  But as I rebuilt a big piece of WordPress’ backend under a tight deadline, I realized there was a way to use WordPress itself.

A blog post is a pretty generic data structure.  It turns out that Typo3′s blog post data structure is pretty much identical to that of WordPress.  I could write a WordPress plugin that would push the blog post data to the Typo3 database when a user saves a post in WordPress.  Then, because the post is in the Typo3 database, it would just simply show up on the Typo3 blog.  We wouldn’t have to create templates and migrate the design just yet.

So that’s what I did.  I wrote a WordPress plugin that would push the data from WordPress to the Typo3 database when a WordPress post was saved.  Rather than also creating a plugin for Typo3 to push data from Typo3 to WordPress and dealing with merging, I decided to make a policy whereby we only manage posts on the WordPress backend and lock down the Typo3 backend.  So now, all I had to do was write a script to do a one-time import of all the posts from the Typo3 database into WordPress and I was done.  In the end it was a simple, elegant solution that got us a little closer to abandoning Typo3.

Although this plugin is specific to our implementation, was written for WordPress MU, and is a bit of a mess, I’m sharing it anyways.  At the very least, it is a good reference for someone wanting to take a first step away from Typo3.

Typo3 to WordPress migration pluginViewDownload

Ingo

Well, just consider how old TYPO3 is (10 years already!) compared to WP… Another thing: Did you try the newest version, they polished quite some things in the backend. I also know that they’re concentrating on performance and memory consumption for the next version.

November 5th, 2008 at 5:47pm

Dmitry Dulepov

Well, there are many people who would disagree with you.

You just could not learn it. Nothing more. You did not have necessary skilsl to uncover full power of this CMS. It happens sometimes… But this is not a reason to blame CMS. You can only blame yourself.

November 6th, 2008 at 11:21am

Migrating from Typo3 to WordPress :: WPLover

[...] wonder if anyone’s still using Typo3? This could be useful if you’re planning to migrate to WP. You can get a MU-specific plugin there, too, which may / may not work on plain vanilla WP, but at [...]

November 6th, 2008 at 4:33pm

Michael Cannon

Getting started with TYPO3 can be a bit of a pain, especially when there’s been several different developers and no cohesion between what they’ve been doing.

However, if all you really need is a blogging tool and a system running out of the box, then Word Press is indeed a better tool than TYPO3. However, when you want to start involving more than 1 writer, multiple editors, multiple languages, automatic graphic generation, thousands of plugins, and a multiple tier structure; then TYPO3 is better than Word Press.

A blanket statement of X is better than Y, without Z reasons can be construed as an uneducated response.

In the end, use the right tool for the job.

February 4th, 2009 at 4:11am

bradt

@Michael I certainly don’t recommend WordPress for every situation. In fact, I’ve just recently finished a project in which SilverStripe was used and it would have been a lot more work to use WordPress. You may want to check out SilverStripe. Thanks for your input!

February 4th, 2009 at 4:44am

Michael Cannon

The SilverStripe URL should probably be http://silverstripe.org/silverstripe-cms. The other is the company website. SilverStripe definitely looks slick.

For Acqal, most of our clients are coming to us specifically for TYPO3 as the tools they’ve been using are too limited or want better qualified TYPO3 support.

I do keep an eye out for frameworks and CMSs to use as I do have my own “I dislike TYPO3 days”. However, with our enterprise needs clients, it’s rare when TYPO3 isn’t the right fit.

February 4th, 2009 at 4:52am

Virgil Huston

There is the right tool for every job. TYPO3 has a big learning curve, one reason many people get frustrated with it. All enterprise level content management systems, open source or not, have steep learning curves.

I use both TYPO3 and WordPress. I settled on TYPO3 after months of research and kept concluding that it was the best in terms of feature sets, expandability, and enterprise capability. As for performance, many things can be done to MySQL, Apache, and TYPO3 to ensure optimum response. There are some huge sites using TYPO3 with great success.

February 4th, 2009 at 7:01am

Beiträge von Typo3 in WordPress importieren - Beitrag - Schweizer WordPress Magazin

[...] auseinandergesetzt hat sich im letzten November Brad Touesnard, der sich zum Schluss mit einem selbstgeschriebenen Plugin zurecht fand. Zwar muss gesagt werden, dass das Plugin für WordPress MU erstellt wurde, es [...]

February 5th, 2009 at 7:48am

Joshua Parker

Typo3 is a great piece of software. However, it is a framework, which is a different beast from WordPress, Joomla, etc. Trying to turn Typo3 into a blogging tool is like trying to turn a tiger into a kitty cat.

April 11th, 2009 at 5:59am

Leave a comment

XHTML: 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>