Blogging with WordPress and Word 2007

Microsoft Office 2007 has added the ability to publish blogs as well as the ability to upload images to your blog server. Word works with any blogging software that supports the XMLRPC protocol. Luckily all of the popular blogs have by now implemented this standard. I’ve tested these methods in WordPress and Drupal without any issues. Here is a quick tutorial on getting it setup for WordPress. I am actually publishing this post itself from within Word.

Ok let’s get going. Open word and from the new round Office button choose Publish > Blog. This opens up the blog entry view. Then in the Blog Post ribbon click on Manage Accounts > New > and choose WordPress. Then all you have to do is enter the path to xmlrpc.php which is by default http://www.yourdomain.com/xmlrpc.php and your WordPress account login information.

To setup automated picture uploading, click on the Picture Options button and from the Picture provider drop down choose My own server. In the Upload URL enter your full ftp server URL. The default WordPress upload folder is ftp://user:pass@domain.com/full/path/to/wp-content/uploads and the Source URL is the http path to the upload folder for example http://domain.com/wp-content/uploads.

The Insert ribbon allows you to insert images into the blog. Once you add images you can easily Format them using a preset of choices such as drop shadow and mirror effects. The images are all uploaded to the same directory, but the file names are formatted like date_postid_description.ext. For example this image is called 051007_1339_Bloggingwit1.gif. Word tries to optimize the images before uploading them and at times the resulting gif images can look too lossy. It would be nice to be able to configure the image quality. Also I don’t like having all the images in one folder and it would be nice to be able to configure a directory structure for how those images are stored. Lastly the image tags produced by Word are missing the alt, border, width,  and height attributes.

You can also insert and format tables, shapes, SmartArt, charts, symbols, and WordArt, and format them using the format ribbon.

Use the Insert Category button to associate your story to a specific category, using a nice drop down menu. To add more than one category click on the Insert button again. Although Word says you can add a new category by just typing it, I was unable to get one to be added and could only choose from existing ones.

Once you are done, you can either Publish your post or Publish as Draft for later use. You can also open existing posts for modification.

Although this is not a perfect solution, it is a great start for Microsoft. The code is actually pretty clean as well. Word uses simple <p>, <em> and <strong> tags to format entries, and uses simple inline CSS for other formatting intensive layouts. If you find that you are getting unwanted markup code in your source, click on the Clear Formatting icon in the Basic Text ribbon to clean out the useless gunk.

Overall, if you are a big fan of the WYSIWYG editor in WordPress and or don’t want to bother with writing html code, this might be a good alternative for you. You give up some control as to what you can and can’t do, but you can perhaps cut out some time and add more layout variety to your posts. Personally I’m not 100% sold on using software to blog but would be interested in test driving other appealing blogging tools with innovative features.

11 Comments

  1. I found your tutorial in google and hoped it would help me solve the problems with blogging from Word 2007 to my self-hosted wordpress blog, but alas no such luck, this is really starting to make my teeth grind.

    This feature would have been dead handy for doing sneaky blog posts from work (if I could get it working), but everytime i post it informs me “Word cannot Publish your post” and then gives you the oppurtunity to click on a more information box which takes you straight to the Office online page about Word 2007 blogging, but gives no reason as to why its not working.

    Wondered if anyone else here is having the same problem ?

  2. I tried to set up an account in Microsoft Word 2007 and publish my blogs to WordPress, everything’s fine untill yesterday I tried to pulish a long post after I typed it in Word 2007. Word 2007 told me the post was published successfully. But When I opened my blog I found that there’s only the title left, the content was all empty. I check that post in Post Manage of the Admin, there’s only the title left too, the content was all empty both in Visual and HTML writers.

    I tried to publish several short posts from Word 2007. This time the contents were not empty, but at the begining of the post there was a “p”, and at the end of the post there was a “/p”. I found something wrong with the HTML tags, those “” were lost in the contents during the publishment.

    I reuploaded the xmlrpc.php and cleaned the blog.dotx file, but it didn’t work…

    Please, help me!

  3. Hello,

    MS Office upload the pictures in wp-conten/, but not into wp-conten/upload.

    how can I adjust/change the Value? I don’t use the ftp link.

  4. it’s worth noting that for the graphics upload to work properly, the UPLOAD URL setting should be set to the path which the specified FTP user “sees”.

    On Godaddy accounts, for example, it’s easy to setup an FTP user which would see /full/path/to/wp-content/uploads as its “root” and so you would only specify ftp://user:pass@domain.com and no further path.

    This tripped me up for quite a few minutes since the only error is, “Word cannot publish because folder is read only”.

Leave a Reply

Your email address will not be published. Required fields are marked *

Visited 28094 times, 5 so far today