Preparing to move to BlogEngine.NET from Typepad
InterOp: Using a .NET based component from a non .NET platform by creating Isolated Application

Converting Typepad Exported Blog format to BlogML

My blog is hosted at Typepad, which in my personal opinion takes the least time to manage than any other blog hosting service. The payment option from typepad has no Paypal support as of the time of my writing and I did not want to spend from my card. So I planned to move from typepad to self hosting. However that situation was resolved with help of typepad and I am still in Typepad,the best managed blog service.

I was planning to use BlogEngine.NET, a .NET based blogging platform to host and it supports importing from BlogML. Typepad is a blog hosting service that is based on MovableType blogging platform. MovableType exports blog contents into a plain text based format. I searched around the internet for a tool that converts typepad format to BlogML. Unfortunately there was none. So I had to write a converter to convert the typepad format.

Gotcha!

After converting the the blog content to BlogML I just found out that there is a click once installer that comes with BlogEngine.NET 1.4.5 and the application do not start. After a little investigation I had figured that the location of the installer is no longer valid. I then had to add support to directly import into BlogEngine by calling their webservice. So if you are converting the typepad blog exported please use the code below.

Download, Source and Usage

Download Typepad2BlogMLBinary
Download Typepad2BlogML

Usage: Typepad2BlogML.exe -i:[input file] -mode:[blogml|service] -o:[output file] -s:[service address] -u:[username] -p:[password]

There are 2 application modes, one for converting into BlogML and another for uploading to BlogEngine via a webservice.

For converting to blog ML you should use something like this:

Typepad2BlogML.exe -i:mytypepadfile.txt -m:blogml -o:out.blogml

For importing into BlogEngine 1.4.5 use command line code like this:

Typepad2BlogML.exe -i:mytypepadfile.txt -m:service -s:http://www.myblog.com/api/BlogImporter.asmx -u:username -p:password

Comments

Dave

Worked very well. Thanks for your hard work and for making it available!

Shafqat Ahmed

Thanks!

Jim

Had a question. When I tried to convert the Typepad export file to BlogML, it seems to lose any comments. The comments appear in the export file but not in the BlogML file. Is this a known limitation?

Shafqat Ahmed

Sorry, it had a bug. Fixed now. Please download again.

Fix: Previously typepad was using -----\n to differentiate sections. Now their format is using -----\r\n.

Thanks
Shafqat

GeneTinsley


Hey, I found your blog in a new directory of blogs. I dont know how your blog came up, must have been a typo, anyway cool blog, I bookmarked you. :)

Shafqat Ahmed

Thanks a lot Gene.

Hosting

Hey, I found your blog in a new directory of blogs.Thanks a lot.......

网站的推广

Stop hack the program!!!

Plus Net

Its awesome!!! thanx for sharing it can save my time a lot. Good work buddy :)

The comments to this entry are closed.