In this post we’ll set up Windows Live Writer 14 (WLW) so that you can author your HTML content for Drupal in wonderful WYSIWYG style and publish it to any content type (be it a blog, page, or other node).
Update 6/27/2010: I recommend you upgrade to Windows Live Writer Wave 4 Beta (build 15) and follow my more recent post, Setting up Windows Live Writer Wave 4 Beta to Work Really Well with Drupal.
Configuring Windows Live Writer 14 for Drupal
- Make sure you’ve got Windows Live Writer 14 installed. Here’s the About dialog from my version for reference.
- Go to the “Add blog account…” command in the Blogs menu (or if you don’t have a blog configured, Writer will do this for you when you start the program).
- Enter the URL to your remote Drupal installation (as entered, mine is at http://localhost:82 – yours may be at http://www.example.com) and append “/node/add” resulting in http://localhost:82/node/add in my case. Enter a Drupal username and password for a user in the WLW user role you created in Section 1 of the Drupal setup blog post mentioned at the top of this post.
- The /node/add we appended in the last step “tricks” WLW into asking us what type of blog we are. This is necessary to get WLW to acknowledge that we have multiple content types available to it. Choose Movable Type API and enter the URL to your Drupal installation followed by /xmlrpc.php. This is the Drupal code that WLW interacts with so it needs to know where to find it! In my case this is http://localhost:82/xmlrpc.php.
- If you have multiple content types set up, you’ll be prompted to choose one. WLW treats each content type as its own “blog”.
- Now WLW will detect your blog theme. If you get a warning dialog telling you this isn’t possible, then you probably didn’t follow Section 1 of the Drupal setup blog post, specifically ensuring that the content type you selected is set to be automatically promoted to your “front page”. See Sections 4 and 5 of the Drupal setup blog post for more information.
- Give your “blog” a name and you’re done!
If you have multiple content types, repeat these steps, but choose a content type you haven’t yet added as a “blog”. Again, it doesn’t actually have to be a blog, just a content type designed for HTML content as described in Setting up Drupal 6 to Work Really Well with Windows Live Writer.
I hope this has been helpful. Please let me know if it was and anything I can do to make this post better. Thanks!