Welcome to MSDN Blogs Sign in | Join | Help

Donkblog

Adventures into the world of amateurgramming. I'll leave the programming to the professionals.
Broken theme in Windows Live Writer? You can fix it!

One of the nice things about Windows Live Writer is that lets you edit your blog in the same style your readers will actually see.  However, often times, Windows Live Writer cannot detect a blog theme or it incorrectly detects a user’s theme.  These problems can make users angry, and rightfully so.

If you have fallen victim to this problem, I have good news for you!

I have created a tiny application to help you create a theme file for Writer. 

Download the Windows Live Writer Theme Fixer

Step 1: Open the ThemeFixer.exe and select the blog you want to fix in the top left corner. 

ss1

Step 2: Navigate to a single blog post on your blog by clicking a link or entering a URL in the textbox and clicking ‘navigate’.

ss2

Step 3: Click ‘pick title’ and hover your mouse over the title of your blog post.  When you see the element selected, click on it.

ss3

Step 4: Click ‘pick body’ and hover over the body of your post, make sure all of your post is highlighted.  Your post title might also be in the selected range, that is fine.

ss4

Step 5: Click ‘save’ button and wait while it downloads all the html and images for your template.ss5

If you still have problems after using this application, you can click the ‘Open template folder’ button where you can edit the HTML file yourself.

Posted: Sunday, August 16, 2009 4:03 PM by Brandon Turner
Filed under:

Comments

technogran said:

Brandon, I know that this is 'off topic' to this post, but I have used the tables in Writer to create a newsletter. (see my post) however, once I begin inputting text, and formatting that text into each column (two column set up) the table width becomes unstable and begins widening from it set width.

The same thing occurs to each column, so if I have them set to 350 say, then slowly creep past that to 360, 370 etc. Eventually the table widens. I wan't it to be stable and remain at the width that I set it to no matter what I place in each column.

For now, I have found a work around is to place a picture inside each column set at the width I desire. This then helps to 'hold' the column at a fixed width.

Also I wish that I could save the whole set up as an empty template for future use, so I didn't have to construct it all again each time I want to publish my newsletter.

Why does the table and columns do this? Why doesn't it stay at the width that I set?

The titles are formatted central and the body text left.

TG

# August 26, 2009 3:30 AM

Stephanie said:

Brandon, Hi. Can you write a fix for the "unable to download theme" error. This version does not fix that error.

# August 31, 2009 7:44 PM

Rishi said:

Hi,

Thanks for the tool but it throws an error on my setup stating -

Unhandled exception has occurred in the application ...

************** Exception Text **************

System.IO.IOException: The filename, directory name, or volume label syntax is incorrect.

  at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)

etc.

# September 1, 2009 3:43 AM

Marco said:

Exactly the same error message like Rishi :-( After the 250 error messages, I can click "ignore" and then it's stuck with "Downloading all the images for your template... please wait" message. Images all exist, servers are all online.

# September 8, 2009 2:57 AM

Marco said:

ps: there is no .html file inside the folder. Just hundreds of images and several .css files.

# September 8, 2009 3:02 AM

Joss said:

Hey, I've been trying to do this, but am receiving the same error as Marco.

I've created my wordpress theme using Artisteer and have all of the html and images for the theme, but cannot get WLW or your theme fixer to make it work.

Is there a simple way to fix this?

# September 21, 2009 2:57 AM

MC said:

It doesn't work. Even the Open the HTML Folder doesn't work. Just error messages. I think we need to wait for the next version of the Theme Fixer.

# October 4, 2009 2:17 PM

sabertoothvsx23 said:

TG. I had the same problem when I first started using tables in Writer. I noticed the creep factor aswell so what I did was just set the table to be just a bit smaller then it should be. This allowes for some creep but if for instance you did't get creep, it would'nt be noticed when published.

I'm glad you realised that it was the text formatting that pushed the margins out a little. Placing a picture inside the table can push the margins out aswell if you make it too big.

Having said all that, the table is the best way to ensure that your blog stays the size you want it to be.

Sean.

# October 5, 2009 5:36 PM

Aquaricat said:

For those of you getting the unhandled exception error (at least in Windows 7 RC x64 bit, though similar steps should work for other versions of Windows) - look at the dialog that pops up.  If you're lucky, you'll see a path in the first three or four lines similar to C:\users\{YOUR-USER-NAME}\AppData\Roaming\Windows Live Writer\blogthemes\{LONG-NUMBER/LETTER-SEQUENCE}\{FILENAME}

If you navigate to this folder - you can take a shortcut to it by opening a Windows Explorer window and entering '%APPDATA%' without the quotes in its address box - you can manually create the needed folder.  Just open the blogthemes directory, create a new folder, and copy the portion marked {LONG-NUMBER/LETTER-SEQUENCE} above EXACTLY.  Note that there's only Zero's in this sequence, and no capitol Oh's to confuse, and you do want to match letter casing.

Once the folder is created, you can open up Windows Live Writer, go to the View menu item, and select Refresh Theme, then wait for WLW to do its thing.  If it all works, you'll see your blog theme appearing in the directory you created above, and it'll work properly in the Preview tab or Edit tab too.

It looks like the problem is that the folder proper isn't being correctly created when you go to download the theme.  It could be a permissions issue, the path information might not being correctly passed, there's any number of reasons why.  For now, though, this method will help WLW to work properly, even though the ThemeFixer 'doesn't work.'

# October 22, 2009 10:12 AM

Julie said:

I would like to use it but even with administrator rights I have some error saying that it can't open the jpg files. An ideo on who to fix it ?

# October 29, 2009 8:58 AM
Leave a Comment

(required) 

(required) 

(optional)

(required) 

  
Enter Code Here: Required

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Page view tracker