Posts Tagged ‘windows-live-writer’

How to work around flat flush-left nested lists in Windows Live Writer

  1. Windows Live Writer (2012), in WYSIWYG  mode under the “edit” tab, conveniently interprets “tab” keys, when issued within an <ol>/<ul>, as, i.e. converts them into nested lists.
  2. However, Windows Live Writer does not horizontally indent the nested lists. Rather the lists appear “flat” flush left –(restart in ) only numbering and vertical  indentation, like so: image
  3. The underlying source code feature is that <li> get immediately closed, before the nested <ol> gets even opened, as you can see here: image
  4. You can force the indented view by wrapping the <li></li> around the nested <ol></ol?, like so: image
  5. The resulting look with horizontal indentation: image
  6. Unfortunately, to make matters worse, certain work with lists in the “edit” mode make them revert back to the default “flat”view. So you often have to redo your work under the source code tab.

How to work around broken links and visible “Machine generated alternative text”issues with images from MS-OneNote in Windows Live Writer

  1. Problem: Sometimes when you use Windows Live Writer (2012) to post images copied from MS-OneNote (2010, 2013), the result (on WordPress) can get messed up, like so (post has since been fixed as described below): clip_image001
    1. The image is missing (“src=” link broken).
    2. The “alt=” text is visible instead (and you did not want to post this “alt=”text anyway. (MS-OneNote OCRs images to make the text therein searchable; this text is put into the “alt”when pasting from MS-OneNote).
  2. Root cause:
    1. Windows Live Writer converts the pasted content by
      1. removing the “alt=”Machine generated alternative text: [deleted for brevity]”
      2. creating from the pasted content thumbnail images
      3. which it links in the “src=” tag, and links the thumbnail image to the full-size original image.
    2. If something – unclear what – prevents this conversion, Unfortunately, this is not obvious from the “edit” tab view or elsewhere within Windows Live Writer. But when posted, will result in “Machine generated alternative text” from MS-OneNote in place, but even  break the image src link: image.
    3. What exactly triggers (and would allow you to force) a successful conversion within Windows Live Writer I do not know. However, there is a simple:
  3. Workaround:
  1. After pasting your images, be patient : The trick seems to be to give Windows Live Writer enough time (more apparently if you have pasted multiple images) to finish
  2. Things you can look for in Windows Live Writer to make sure the conversion is finished:
      1. edit tab: you can tell the difference by the resizing of the image on the edit tab:
        1. before: image
        2. after (= conversion finished): image
      2. source code  tab: A somewhat radical solution, but here beneficial  is that the conversion removes the imported “alt” text of the image.
        1. before: alt=”Machine generated alternative text: [deleted for brevity]” src=”$clip_image006.jpg”
        2. after: alt=”clip_image006″ src=”$clip_image006_thumb.jpg”

Windows Live Writer can once again load more than 500 WordPress posts without “Invalid Server Response”



Version (recently updated – thank you! This bug bugged me a lot, I am chatty):Version 2012 (Build 16.4.3522.110). Not sure it is not server-related, but consider upgrading on if you still see this error on the metaWeblog.getRecentPosts from XmlRpc server: image

PostEditorStorageException when publishing from Windows Live Writer on new DELL

Not always, but more and more often – anybody else seeing this?

Version: 16.4.3508.205

OS Version: Microsoft Windows NT 6.1.7601 Service Pack 1
Runtime version: 2.0.50727.5466
Shutdown started: False
Program: "C:\Program Files (x86)\Windows Live\Writer\WindowsLiveWriter.exe"

Memory Load: 83%
Total Physical: 8146 MB
Available Physical: 1375 MB
Total Page File: 16291 MB
Available Page File: 9137 MB
Total Virtual: 2047 MB
Available Virtual: 1618 MB
Available Extented Virtual: 0 MB

Unexpected Error Occurred
An unexpected error has occurred within the application.

WindowsLive.Writer.PostEditor.PostEditorStorageException: Error Accessing Local Post – Unexpected error occurred while accessing local post (-2147287008)

Share violation–storage may already be opened.
   at WindowsLive.Writer.PostEditor.PostEditorFile.SaveCore(IBlogPostEditingContext editingContext, PostEditorFile autoSaveSourceFile, String filePath)
   at WindowsLive.Writer.PostEditor.PostEditorFile.SaveBlogPost(IBlogPostEditingContext editingContext)
   at WindowsLive.Writer.PostEditor.BlogPostEditingManager.PrePublishHooks(Object sender, PublishEventArgs args)
   at WindowsLive.Writer.PostEditor.UpdateWeblogProgressForm.OnShown(EventArgs e)
   at System.Windows.Forms.Form.CallShownEvent()
   at System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)
   at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
   at System.Threading.ExecutionContext.runTryCode(Object userData)
   at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
   at System.Windows.Forms.Control.InvokeMarshaledCallbacks()

How to redirect Windows Live Writer “My Weblog Posts” to SkyDrive using Symbolic Links

  1. UPDATE: Using Junctions and Symbolic Links has limitations, e.g. I have not found a way to point a network share location of to my Skydrive folder. A solution using a secret windows live writer supported key in the registry is explained here  seems simpler and better (assuming support for this key will not vanish in a new release of windows live writer).
  2. Benefits:
    1. Recently, the documentation and training materials I do with windows Live Writer have become somewhat more evolved, and my Live writer posts both big and live documents.
    2. With this method, I can access and edit your posts and drafts from different computers. Possibly also save drive space on the drive where the “My weblog Posts”points to be default.
  3. Prerequisites:
    1. MS-SkyDrive account and app.
    2. Here we are using the Link Shell Extension, but you can use the mklink command built-into Windows.
    3. To create Symlinks, you need to have admin rights.
  4. Steps:
    1. After closing Live Writer, go to “My Weblog Posts” in your “My Documents” folder, move it to your SkyDrive folder.
    2. In the new location, right-click on the folder “My Weblog Posts”, choose “Pick link source”.
    3. image
    4. Right-click on the “My documents”folder in the original location and choose Drop link / Symbolic Link. image
    5. The original location is now only a link (see folder icon), but Live Writer still opens. image
    6. Final step: Blog this from Live Writer, then check the location of your weblog post. Smile