Upgrading my blog from Wordpress to Orchard 0.5

Tags: Orchard

Well, I have done it!! Nick Mayne is no longer a word press member, instead I have bought in to this new CMS system called Orchard. The Orchard system however is not that new to me as I have been working with it since December of 2009.

So what exactly needed to be done in order for me to move my blog over to Orchard?

  • Download the latest Build which in this case is Orchard 0.5

  • Next create a theme directory called themayneissue underneath Orchard.Web\Themes\

  • Create my theme, in this instance I copied the Contoso theme and used this as a basis.

  • I then build my solution using the instruction found here: http://orchardproject.net/docs/Building-and-deploying-Orchard-from-a-source-code-drop.ashx

  • Using FileZilla I then upload to my new shiny site to my new host Discountasp.net (Don't forget to repoint your domain if you have one)

  • Next thing to do is fire up the site, My site is running on SqlCe and so far works fantastic.

  • Head to your Admin Area and select your new theme.

Okay, So now my site is empty but looking quite sexy… next is to create my blog…. wait I already have a blog don’t I? Okay so time to get that blog and move it across.. I decided to use a BlogML module that I have written and published to the Orchard Gallery Feed so anyone can use it.

Getting my blog out of wordpress was easy, but getting it in to an acceptable format was a nightmare, but I refused to write a wordpress plugin for Orchard, instead I asked my self Is there a wordpress to BlogML converter?? YES!!! found one here.. http://www.visualsoftware.net/Blog/post/2009/10/27/WordPress-eXtended-RSS-to-BlogMl-converter-WXR-2-BlogML.aspx So lets continue,

  • Export your wordpress blog out in to a xml format.

  • Fire up WXR2BlogML and you will end up with a file with the same name except you have *_BlogML attached to the end.

So now I have my blog in a BlogML format, lets import it.

Note: If you haven't already installed the NGM.BlogML module please do that before continuing

  • Open up the admin area and click ‘import’ under the Blogs Section. (Remember: that all details of your blog can be changed later, the main this in that you get your data in!) Choose your blog and click upload.
  • Hey presto.. after modifying some setting on my blog – mainly a rename, I have my website.

2 Comments

  • Jon said

    Hi Nick, Think I may be bothering you in the future! I'm a .Net developer(Winforms, ASP.Net, ASP.Net MVC) and am now about to create a site. I have already written a CMS in MVC for my clients but I want to look at third party ones. I have looked at both Wordpress and Orchard but at the moment am a bit tentative because Orchard is changing the theming aspect and although I could do a basic Wordpress theme I'm not sure it has the flexibility for what I want. My first attempt was to work out what pages appear in Nav menus but couldnt see that anywhere for Wordpress. I would like to try Orchard. How easy was it to design your own theme?

  • admin said

    Hi Jon, Designing your own theme is really easy... Basically a theme in orchard consists of a couple things. 1. A folder. i.e. themes\themayneissue. 2. Orchard require you have a file called 'Theme.txt' (if you view a current theme you will be able to see the layout of this theme) 3. Optional, but a theme.png file.. this will get displayed in your theme chooser in the admin area. So by the end of that point you have a theme... Easy huh! Granted the site now has no style. So the next thing I would do is copy a current theme i.e. the contoso theme and copy all that lovely theme stuff in to the folder so you at least have something to start with. Also, if you don't have firebug installed... install it.. It will be your best friend. One of the main things to know about orchard themes is that a theme can override any default view that is defaulted in orchard. So for example, if in the module users you have a view called LogOn but in your theme you want LogOn to look different i.e. less fields or more fields, then in your views folder create the folder 'Orchard.Users', then under that folder create a folder called 'Account' (this is the controller name), next user Account create a new partial view called LogOn.ascx and that is how to override partial views in other controller. The style I have for this blog took no longer than half a day to knock up so its really easy. I know Orchard are changing there theme engine, but at the moment I think that 0.5 still has quite a good base to start and will allow you to get more involved with it s a whole. If you are an MVC developer, then you will REALLY love orchard and they way they have done things. Hope that helps!!! Cheers, Nick

Leave a Comment

Yay! You've decided to leave a comment. That's fantastic! Please keep in mind that comments are moderated and rel="nofollow" is in use. So, please do not use a spammy keyword or a domain as your name, or it will be deleted. Let's have a personal and meaningful conversation instead. Thanks for dropping by!