Attention: open in a new window. PDFPrint

Joomla and Windows Live Writer

Some days ago, I started blogging on a Microsoft SharePoint infrastructure. As the WYSWYG capabilities of the SharePoint system did not fit my needs, I started using the Live Writer on that SharePoint blog and I have to admit that I really liked it. So I started googling to find out, if it is possible to use that piece of software on my private Joomla! system as it provides a comfortable way of blogging.

One of the biggest pros is that you can write your blog entries offline. That does not mean, that I terminate my internet connection before I start writing new blog entries, but it is possible to write blog entries and store them on a local hard disk until the time has come to publish them.

To be able to connect to Joomla! using the Live Writer you have to install the MovableType XML-RPC Plugin you can find at http://extensions.joomla.org/extensions/3831/details. Just download the plugin and install it from the within the extension installer of the Joomla! admin pages by uploading the .tar.gz archive. Afterwards, just browse to the plugins section and activate the following plugins:

  1. XML-RPC-MovableType API
  2. XML-RPC-Joomla
  3. XML-RPC-Blogger API

You also need to activate the webservices on the Site->Configuration->System page.

Now you should be ready to use your Live Writer by setting it up to use a MovableType blog. Enter the adding wizard for a new blog and go ahead:

  1. Select other blog service
  2. Enter the base URL of your blog and a valid username and password
  3. Select Movable Type as your blogtype
  4. Enter http:// / /xmlrpc/index.php as your remote publication url

Afterwards you should be able to publish entries using the Live Writer to your Joomla! system.

At my place, I had some trouble with the latest Live Writer while reading the bloglayout and the categories of my blog. I found out that is used the /xmlrpc directory as base url of my blog. So I just added a rewrite rule to my apache configuration looking like this:

RewriteCond %{REQUEST_URI} ^/xml-rpc\.php.*$
RewriteRule ^/xml-rpc\.php(.*)$ /xmlrpc/index.php$1 [L]

This rule forwards the alias /xml-rpc.php to /xmlrpc/index.php on my page. So the remote publication url changes to http:// /xml-rpc.php which works great.