Migrated from dasBlog to BlogEngine.NET
Posted by merill | Filed under BlogEngine.NET
After 5 years, starting from the humble BlogX that ChrisAn wrote to Clemens and then ScottH's dasBlog, I finally moved over to BlogEngine.NET today. My main reasons for moving over included a brand new codebase, more features, better themes and frequent releases.
The other platforms that I had in mind were WordPress and Grafitti CMS, I gave up on WordPress due to my hoster being on Windows and didn't want to go through the trouble of figuring out how to get url rewrites for PHP working on IIS under my hoster's limitations.
Grafitti would have been my choice but it choked when I tried to import my blog posts. I opened a ticket with Telligent Systems and the really good guys mailed me today that the fix would be out in the next release this Friday. But in the end I thought it best to go with an open source platform and one that focused solely on blogging.
Okay now to the gory details of migrating my blog over. Which actually took a total of less than 10 minutes to setup on my machine and less than 30 minutes to upload everything to my hoster.
This is what I did to get my posts over to BlogEngine.NET
1. Setup BlogEngine locally on my machine. This just involved unzipping the file and pointing IIS to the folder.
2. Exported dasBlog to BlogML
The next version of dasBlog is scheduled to include this tool out of the box but right now you'll need to download the zip that Paul Van Brenk has made available. You'll need to run the code from Visual Studio and it exports all your posts into the handy BlogML format (If anyone want's this in a nice UI let me know and I can upload it). Edit: I've released this now, see http://merill.net/post/2008/03/DasBlog-to-BlogML-Converter.aspx
3. Import BlogML into BlogEngine.NET
BlogEngine starts up a fancy ClickOnce app when you click the Import button, just feed it the BlogML file and presto all your posts and comments are migrated over.
I went with the Files and Images Moved Manually option which meant that I didn't have to mess around with moving any of the images or changing the paths.
4. Upload content
I simply deleted all the folders on my host server except for the ones that had the images and uploaded files which would usually be the content folder. Even here you could all the xml files that hold the posts.
Next I uploaded the whole BlogEngine folder that I had locally and remember to get your hosting provider to allow write permission on the App_Data folder.
That's all!
5. Configure settings
Obviously you'll want to play around in the control panel of the new blog and do things like put in your Google Analytics and other tracking script (which you had to edit by hand manually), redirect to the feedburner url so that your readers get your messages.
There are some disadvantages though like the incoming links being broken but since I don't have anything noteworthy that people link to this isn't going to be a problem for me.
February 15th, 2008 at 12:59 pm
Does the BlogML export preserve your URLs? I have a lot of trackbacks to my blog, and I want to make sure that when I move to BlogEngine.NET the URLs remain the same for my existing posts. Thanks!
February 15th, 2008 at 10:45 pm
The Url’s don’t have anything to do with BlogML it simply a format for storing your posts.
BlogEngine.NET on the other hand can be configured to rewrite the urls to the format it was in your old blog (with certain limitations though).
If your hosting on IIS 7 then rewriting urls is going to be no problem.
February 22nd, 2008 at 3:14 am
I love a good success story.
March 20th, 2008 at 2:12 am
Merrill,
Would it possible for you to upload the UI you mentioned for the BlogML importer/exporter?
March 20th, 2008 at 7:53 am
@Carlos, You can find it at http://code.msdn.microsoft.com/DasBlogML
March 28th, 2008 at 7:07 am
Unfortunately Steve to get the exact same dasblog urls you might need to get the dasBlog source for re-writing and plug that in as a module so that the old urls keep working.
April 2nd, 2008 at 3:46 am
My website is working with php and mysql.
Como migraria de wordpress mu a BlogEngineNET?
thx for your answers!
April 2nd, 2008 at 5:32 am
Thanks for letting me know!
April 6th, 2008 at 5:44 am
Could someone explain how BlogML import is supposed to work (or direct me to a link that will explain this)? I understand how to export a BlogML.xml file from BlogEngine. That makes sense. But something keeps going wrong with the import.
When I click import, I don’t get the ClickOnce application I can feed the xml, I’m told to download the blog.importer.application. So I download the application. I run the application. The application attempts to verify application requirements. Then it fails and gives a message: "Cannot download the application. The application is missing required files. Contact application vendor for assistance." What is going wrong? I feel like I’m missing some important piece of information…
I’ve taken a look through the help forums but it seems like I’m the only person to encounter this specific problem ? Thanks for any help or assistance.
April 6th, 2008 at 2:47 pm
Hi Merill,
When I originally commented I clicked the "Notify me when new comments are added" checkbox and now each time a comment is added I get four emails with the same comment.
Is there any way you can remove me from that service?
Thanks!
May 8th, 2008 at 10:06 pm
Hi,
I use both: dasBlog and BlogEngine.NET – like em both, but both have their bugs. Nevertheless: BlogEngine has a woderful theming that just rocks!
September 20th, 2008 at 6:42 pm
Great post.. Thanks
I have posted about it on the BlogEngine Forums
http://www.blogengineforum.net
January 23rd, 2009 at 6:43 am
[...] Yet another migration post, feels like just yesterday I migrated from dasBlog to BlogEngine.NET. [...]
May 19th, 2009 at 3:55 am
Same here! great engine.. have customized it too http://www.psychosnail.com/blog, for the boat calculator site.
Easy to customize and integrate if you know ASP.NET.
September 15th, 2009 at 3:04 am
Hi again Merill,
With dasblog seemingly on it’s last legs I’m revisiting moving to BlogEngine.NET and to that end I’ve written a provider that reads/writes dasblog posts and comments. Details are here:
http://www.stevetrefethen.com/blog/dasBlogProviderForUseWithBlogEngineNET.aspx
I thought comment again as we had a few exchanges on the subject and I felt this was worth mentioning as your post helped me when I first started looking into switching.
Hope all is well.
November 25th, 2009 at 11:38 pm
I feel blogengine is better than word press.