source code bean

27 Nov, 2011

Migrating from WordPress to Orchard CMS

Posted by: Peter In: ASP.NET

I have been working on migrating one of my WordPress sites to a .NET CMS called Orchard. WordPress is great for blogging, but when it comes to extending the functionality, i much rather work with a .NET based CMS then WordPress. Orchard CMS is based on ASP.NET MVC3, Razor, NHibernate and a lot of other .NET goodies.

I was surprised to find that there was no import from WordPress import functionality in Orchard, so I created a module that will read the wordpress export xml and create blog posts in Orchard. The module can be found on GitHub:

https://github.com/moberg/WordpressImport

To use it, first create an export file from WordPress:

Then browse WordPress Import in the OrchardAdmin interface, select which blog you want to import the posts to and pick the export xml file:

The URLs for the posts will be kept. WordPress categories are converted to tags in Orchard.

Let me know if you run into any issues.



5 Responses to "Migrating from WordPress to Orchard CMS"

1 | Bertrand Le Roy

November 28th, 2011 at 8:39 pm

Avatar

You could also have used BlogML.

2 | Peter

November 28th, 2011 at 9:43 pm

Avatar

From what I know there is no straight forward way to export BlogML from WordPress? Or if it is, i am not aware of it.

3 | thereverandnd

November 29th, 2011 at 7:47 pm

Avatar

Does it just do Blog Posts?

4 | Peter

November 29th, 2011 at 8:09 pm

Avatar

Yes, for now it only migrates blog posts and comments

5 | Martin

November 29th, 2011 at 11:18 pm

Avatar

As far as the Export button via WordPress, there is no BlogML. There is a BlogML Importer plugin though…

Comment Form


  • Joe: It looks like IceCoffee Script may provide the 'await' keyword to JavaScript. http://maxtaco.github.com/coffee-script/
  • Florian: Dealing with events has two primary fashions: imperative (synchronous) code, and callback (asynchronous) code. Both are legitimate styles, for some
  • Joe: I think we haven't seen true PaaS offering yet in Azure. If you use a webrole you're still running on your own VM. This is still not true multi-tena

About

Welcome to source code bean! On this site I post stuff that I encounter in my job and spare time. The content is mostly related to .NET development, but my interest in techonology is very broad, so often you will find posts on totally different subjects!