Tag Archives: windows live writer

Migrating from Serendipity to WordPress Using Windows Live Writer

After months of inactivity, myGUIDE is now back with a new look and running on a different weblog platform. Yes, you read it right, I changed my blog platform from Serendipity to WordPress. This means that although I have migrated all my previous posts to WordPress, previous links will no longer work since Serendipity and WordPress have different link structure. Now if you’re looking for a particular post, you can still find it here. Just use the search box to locate it.

How did I do it? It was quite easy. Thanks to Windows Live Writer (WLW). But before taking this approach, be warned that this may not be appropriate for your case. This worked for me because myGUIDE is relatively new and has only a small number of blog entries and I’ve been using WLW to post entries to this blog. A Serendipity importer plugin is already available for WordPress. So maybe you’re better off using the plugin. But if you want an alternative approach, you can try this one.

The first thing to do is to create a weblog account in WLW to access your Serendipity-based blog, if you have not done it yet. Then setup another account in WLW to access your WordPress blog. After doing this, you’re ready to go. Simply read your blog entries, one at a time, from your old blog using WLW, then switch to your new blog, and click the Publish button to publish the entry you just retrieved. It is that easy! You can also use WLW to create the relevant categories in your new blog. You can even set the published date so that you can keep the original date of your posts.

But there are limitations to this approach. First, you will lose all your comments. WLW will not read the comments associated to each post.  Second, WLW sometimes will not download the images in the post. Instead it will just get the link of the image from your original blog and use this link in the new one. Thus if you’ll remove your old blog, the images will also disappear. Finally, if you have many entries, transferring all of them can take some time since you have to manually repeat the process of reading your previous posts from Serendipity then publishing it to WordPress. Luckily for me, I have only 15 entries so this was not an issue. ūüėČ

And that’s it!

Windows live writer’s "Invalid response document" error

In my previous post, I outlined my unsuccessful attempt to use windows live writer (WLW) to connect to the XmlRpc server of PhpWebsite‘s article manager module. I experimented using both the Metaweblog API and the Movable Type API but with no success. When attempting to post an entry, WLW always returned the following error message “The response to the metaWeblog.newPost method received from the weblog server was invalid: Invalid response document returned from XmlRpc server.” However, the entry did get posted. Republishing the same entry would create a new post instead of replacing the one posted earlier. And each time, WLW gave the same error.¬†

I searched the Internet for possible solutions. I found out that the problem is quite common and not unique to PhpWebsite (PWS).  The same problem has also been observed in other blogging platforms such as wordpress. Luckily for wordpress users, there are already solutions posted in several blogs for some of the problems with WLW. Unfortunately for me, the solutions were not applicable for PWS. I could not even find other sites or blogs talking about PWS and WLW except this one. It seems I am the only soul trying to do this in the entire world wide web.

Since most of the websites I’m maintaining are powered by PWS, I thought it is worth the time and effort to figure out the cause of the problem. I am also in need of a good editing application that I can use with PWS. The provided text editor is only good for basic editing and not for more advanced formatting. For instance, using tables in entries can really take a lot of time. Anyway, since I am using WLW in my other blogs, I thought it would be great if I could also use it in my PWS-based websites.

Using Windows Live Writer in PhpWebsite

Anyone using Windows Live Writer (WLW) in PhpWebsite (PWS)? I searched the web but got no relevant result. I asked the question in phpwsforums, and am still waiting for replies.  So I tried it myself.

PWS has a third party module called article manager, which has an XML-RPC capability. This should enable PWS users to post entries to a PWS-based website with the article manager module installed using offline blogging tools such as WLW. But I wonder why nobody has tried doing this yet. So using a local test installation of PWS, I configured my WLW to connect to the article manager’s XML-RPC server. This can be done by simply pointing WLW to http://localhost/index.php?module=article&xmlrcp=1 (NOTE: replace "localhost" with the actual domain name of your PWS installation.) First, I used the metaweblog API.

Blogging Made Easy Using Windows Live Writer

I just discovered that Microsoft has released Windows Live Writer Beta 2 a couple of weeks ago. Windows Live Writer (WLW) is a desktop application that makes blogging easier. It allows you to compose rich blog content from your desktop and publish it to your blog with a single click. Fortunately, WLW works well with Serendipity, the weblog application I am currently using.

Windows Live Writer Beta 2

Compared to the previous release, WLW Beta 2 has more features. It is now very easy to insert and format tables with the new insert table plugin. The thing I like most is the ability to split a given post, which is now supported. This is very useful if you have a long entry and would like to divide it so that it will not occupy most of the front page.

Another feature I like is the ability to post draft versions of your entries directly to your weblog. This is very handy if you are editing your blog at different places. You can just access the draft version of your entry from your weblog and continue working on it, wherever you are. WLW does the synchronization for you.

One advantage of a desktop blog application like WLW as compared to web-based applications is that it will allow you to compose entries even without an Internet connection. You don’t have to be online all the time. So even if you’re on the go, you can still write something for your blog. You can then publish the draft to your blog when an Internet connection becomes available. This is very handy when you’re travelling.¬†

I have just started exploring the capabilities of WLW Beta 2. In fact, this is my first post using the new version. Upgrading to this version did not introduce any problem at all. After downloading, the upgrade went smoothly. It even detected my previous weblog settings.

Till next post.