Windows Live Writer and Drupal 6

These instructions are now outdated. I have moved the latest version of these instructions to our development site on Tribute Media. Please check them out there.

Using Drupal as a blogging platform is pretty powerful. The challenge is that many blogging tools, like Windows Live Writer, don't seem to support it very well. It was okay with support on Drupal 5, but then it got broken. A few people have found some ways to hack the Drupal core, but that is not reasonable.

content types drupalSo, we built a WLW Module for Drupal 6. It is in beta right now, but we have some cool things we are doing on it. If you have some features you want to see, let us know now while we are developing. If you run Drupal (or if I have built a site for you... which is done in Drupal), you can use this module to manage your blogging.

You'll need to go to http://drupal.org/project/wlw_blogapi and download the latest version of the module.  After you install it, you'll need to make sure that your permissions are set right for your user to access it and you'll need to make sure that the content types that you want to manage are set on www.example.com/admin/settings/blogapi.

Once you have configured your instance of Drupal to support Windows Live Writer, you'll need to download Live Writer from live.com. After you install it, you'll need to add a weblog account. Here are the steps you'll need to be able to manage your content types the way you want.

Step 1

Select "another weblog service". windows live writer step 1

Step 2

Add your homepage url like this. Your username and password... make sure that you have rights to manage content from Drupal. wlw add weblog account

Step 3

Since WLW is not designed to manage Drupal in this way, you'll need to choose something else. We designed this to work with the Movable Type API. Enter your xmlrpc.php path. Unless you have changed your Drupal instance, it will be the same as mine below. wlw select a provider

Step 4

You should have the option to select the content types that you are authorized to manage. If you don't see your content type, then you should check your Drupal installation and make sure that you are set with the right permissions. wlw select your content type

Step 5

WLW will ask to detect your weblog settings. On the current version of the module, this does not work, so you'll have to select no. image

Step 6

Your weblog configuration is complete and now you can use WLW to add this content type. You can change the weblog name to anything you like (you could change it to the blog name and content type if you like) wlw weblog configuration complete

Step 7

If you want to manage another content type, just go through the same process but select a different type in step 4.

Future

We want this to be a fully featured option for Windows Live Writer and Drupal 6, so there are a few things that we are going to add to make this more viable. If you have other ideas, please let me know. Here are some features we want to add.

  • Keywords field will apply to meta tags if you have the nodewords module installed
  • If you have taxonomy configured, you'll be able to add categories to the vocabulary
  • You'll be able to apply a custom URL alias is the path module is turned on
  • You'll be able to have it default to a menu location. This way, if you are adding many pages, you can just go to your menu configuration and organize them.
  • The theme detection will work. Currently works in Drupal 5, but does not work in Drupal 6.

As we add these features, we'll update these instructions.




Corey Smith is the president of Tribute Media a web development firm providing high performing, industry specific websites. He is a businessman, writer, technology fanatic, graphic designer and web developer. His greatest passion is teaching, consulting and speaking.

You can find him on Twitter, FaceBook, FriendFeed, and LinkedIn.


You love this post, right? Don't be afraid, Share it with someone...

Is there a way to support images from Live Writer? Thanks

Live Writer has great image support. You can set up your blog to post to the default folder in Drupal or you can set to a separate FTP site. I just leave on the default setting. You can insert and image, drag and drop an image or past an image. I just use my screen snippit tool to copy any image (could be a pic on my desktop or from the web) then hit paste. With the image selected, you can edit the size, alt tag and margins. When you post, the image is automatically uploaded for you. If you are still struggling, let me know and I'll create a little tutorial.

Hey Corey, Thanks a lot for this module! Myself and (unfortunately) many of my customers find the available web editors (e.g. TinyMCE etc.) lacking real WYSIWYG capabilities hence I think that WLW is the way to go (at least until we have a reasonable remote solution). Specifically I am trying to pull up a link from WLW to a Drupal 5.x site (without using the above module). It's working fine except for one thing: When trying to 'Update Weblog Style' of any content type except of the blog - I get a message saying that the style template used by this weblog could not be downloaded. Do you have any idea how to fix that? (tried different users, sites, content types and protocols) Thanks!

Udi, Thanks for the comment. I am using WLW on a Drupal 5 instance and don't have any problems with pulling the style. I didn't do anything special, so, I am sorry to say, I don't know how to fix it. Hopefully soon, however, we'll be able to do that with the WLW module for D6. As far as Rich Text Editors for Drupal, I think that FCK Editor is significantly better, but it still doesn't handle pasting from Word as well as you'd like. WLW cleans out all the "gunk" code from Word pretty well.

Hey Corey - thanks. I found a workaround to my problem on the following post: http://seanbuscay.com/series/how-post-drupal-using-windows-live-writer I wonder howcome you do not experience the same phenomena on D5. Anyway, thanks.

[...] posted a couple of days ago on Windows Live Writer for Drupal 6. You can follow the instructions there to set up your WLW instance on your Windows [...]
Powered by Tribute Media, a Boise SEO company.