将Windows Live Writer草稿同步到云(Dropbox)和其他错误修复

I still use Windows Live Writer (http://www.windowslivewriter.com) to post to this blog. It remains the best little blogging app out there. It has a nice plugin ecosystem, great WYSIWYG editor (using IE) even though it hasn't been updated since 2012. A bunch of us are working to get it open sourced, and I'll let you know the second I know something.

我仍然使用Windows Live Writer ( http://www.windowslivewriter.com )发布到此博客。 它仍然是最好的小博客应用程序。 它具有良好的插件生态系统,出色的WYSIWYG编辑器(使用IE),即使自2012年以来未进行过更新。我们中的许多人都在努力使其开源,第二,我会让您知道。

But for now, let me fix two things about Windows Live Writer that have been bugging me.

但是现在,让我修复有关Windows Live Writer的两件事,这些问题困扰着我。

清除缓存的博客主题 (Clearing Cached Blog Themes)

First, a small bug. My HTML Styles look like this, and have for a while. See how the background is black? Annoying. I always assumed it was a GDI or graphics bug. In exploring the Windows Live Writer code I learned a few things.

首先,是一个小错误。 我HTML样式看起来像这样,有一段时间了。 看看背景是黑色的吗? 烦死了我一直以为这是GDI或图形错误。 在探索Windows Live Writer代码时,我学到了一些东西。

将Windows Live Writer草稿同步到云(Dropbox)和其他错误修复

It turns out that Windows Live Writer is trying to render your styles by using your download blog theme's CSS inside those little boxes! My blog (and others, I've heard) doesn't render nicely.

事实证明,Windows Live Writer试图通过在这些小盒子内使用下载博客主题CSS来呈现您的样式! 我的博客(和其他一些我听说过的)效果不好。

The downloaded them is stored in %AppData%\Windows Live Writer\blogtemplates and you can easily fix this annoyance by simply deleting the folders below blogtemplates.

下载的文件存储在%AppData%\ Windows Live Writer \ blogtemplates中,您只需删除blogtemplates下面的文件夹即可轻松解决此烦恼。

将Windows Live Writer草稿同步到云(Dropbox)和其他错误修复

Ah, much nicer.

啊,好多了。

将Windows Live Writer草稿与OneDrive或Dropbox同步 (Syncing your Windows Live Writer Drafts with OneDrive or Dropbox)

I've seen some blog posts with folks suggesting junction or reparse points (symbolic links) to hack together a way to "roam your draft blog posts" with Windows Live Writer. It's much easier than that, in fact. You can just set a registry key with your preferred Drafts folder. I put mine in my Dropbox, but you could also use OneDrive or Box. This means your local draft blog posts will "roam" to all your machines. If you're someone who works on a blog post for a few days you'll appreciate this new ability. You can start a post at work and finish it at home. Even the images will roam.

我见过一些博客文章,其中有人建议接合点或重新解析点(符号链接)一起使用Windows Live Writer来“漫游您的博客文章草稿”。 实际上,这要容易得多。 您可以仅使用首选的Drafts文件夹设置注册表项。 我将我的邮件放到了Dropbox中,但您也可以使用OneDrive或Box。 这意味着您本地的博客草稿帖子将“漫游”到您的所有计算机上。 如果您是几天从事博客文章工作的人,那么您将不胜感激这种新功能。 您可以在工作中开始发布,然后在家完成。 即使图像也会漫游。

Head over to HKCU\SOFTWARE\Microsoft\Windows Live\Writer in your registry (via Regedit.exe) and make a new String Value called "Posts Directory."

转到注册表中的HKCU \ SOFTWARE \ Microsoft \ Windows Live \ Writer(通过Regedit.exe),并创建一个名为“ Posts Directory”的新字符串值。

将Windows Live Writer草稿同步到云(Dropbox)和其他错误修复

Windows Live Writer will make new Drafts and Recent Posts folders in the location you specify. I set this registry key on all my machines that I have Dropbox installed and now all my blog post drafts are there too!

Windows Live Writer将在您指定的位置创建新的“草稿”和“最近的帖子”文件夹。 我在安装了Dropbox的所有计算机上设置了此注册表项,现在我的所有博客文章草稿也都存在!

I'm in a meeting right now talking about a possible future for Windows Live Writer. I think 20k RTs of this would help.

— Scott Hanselman (@shanselman)

我现在正在开会,讨论Windows Live Writer的可能未来。 我认为2万次RT会有所帮助。

— Scott Hanselman(@shanselman) June 12, 2014 2014年6月12日

I hope this helps you out! And I'll be sure to let you know about our plans with Windows Live Writer as soon as I know more. ;)

我希望这可以帮助你! 我一定会尽快通知您有关Windows Live Writer的计划的信息。 ;)



Sponsor: Big thanks to Atalasoft for sponsoring the blog and feed this week! If your company works with documents, definitely check out Atalasoft's developer tools for web & mobile viewing, capture, and transformation. They've got free trials and a remarkable support team, too.

赞助商:非常感谢Atalasoft赞助了本周的博客和feed! 如果您的公司使用文档,则一定要使用Atalasoft的开发人员工具来进行Web和移动查看,捕获和转换。 他们也有免费试用版和出色的支持团队。

关于斯科特 (About Scott)

Scott Hanselman is a former professor, former Chief Architect in finance, now speaker, consultant, father, diabetic, and Microsoft employee. He is a failed stand-up comic, a cornrower, and a book author.

斯科特·汉塞尔曼(Scott Hanselman)是前教授,前金融首席架构师,现在是演讲者,顾问,父亲,糖尿病患者和Microsoft员工。 他是一位失败的单口相声漫画家,一个玉米种植者和一本书的作者。

将Windows Live Writer草稿同步到云(Dropbox)和其他错误修复
将Windows Live Writer草稿同步到云(Dropbox)和其他错误修复
将Windows Live Writer草稿同步到云(Dropbox)和其他错误修复
About   关于 Newsletter 时事通讯
Hosting By 主持人
将Windows Live Writer草稿同步到云(Dropbox)和其他错误修复

翻译自: https://www.hanselman.com/blog/syncing-windows-live-writer-drafts-to-the-cloud-dropbox-and-other-bug-fixes