Archive
How to work around flat flush-left nested lists in Windows Live Writer
- 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.
- 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:
- The underlying source code feature is that <li> get immediately closed, before the nested <ol> gets even opened, as you can see here:
- You can force the indented view by wrapping the <li></li> around the nested <ol></ol?, like so:
- The resulting look with horizontal indentation:
- 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
- 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):
- The image is missing (“src=” link broken).
- 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).
- Root cause:
- Windows Live Writer converts the pasted content by
- removing the “alt=”Machine generated alternative text: [deleted for brevity]”
- creating from the pasted content thumbnail images
- which it links in the “src=” tag, and links the thumbnail image to the full-size original image.
- 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:
.
- 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:
- Windows Live Writer converts the pasted content by
- Workaround:
- 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
- Things you can look for in Windows Live Writer to make sure the conversion is finished:
- edit tab: you can tell the difference by the resizing of the image on the edit tab:
- source code tab: A somewhat radical solution, but here beneficial is that the conversion removes the imported “alt” text of the image.
- before: alt=”Machine generated alternative text: [deleted for brevity]” src=”$clip_image006.jpg”
- 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”
Evidence:
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 download.live.com if you still see this error on the metaWeblog.getRecentPosts from XmlRpc server:
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
- 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).
- Benefits:
- 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.
- 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.
- Prerequisites:
- MS-SkyDrive account and app.
- Here we are using the Link Shell Extension, but you can use the mklink command built-into Windows.
- To create Symlinks, you need to have admin rights.
- Steps:
- After closing Live Writer, go to “My Weblog Posts” in your “My Documents” folder, move it to your SkyDrive folder.
- In the new location, right-click on the folder “My Weblog Posts”, choose “Pick link source”.
- Right-click on the “My documents”folder in the original location and choose Drop link / Symbolic Link.
- The original location is now only a link (see folder icon), but Live Writer still opens.
- Final step: Blog this from Live Writer, then check the location of your weblog post.