转载:使用Windows Live Writer发布日志
注:上次介紹的 菊子曰http://blog.sina.com.cn/s/blog_48aa915f0100gine.html可能知道的人很少,但是Windows Live Write可能知道的就比較多了,這兒列出了一些基本的使用方法和常用的插件。
原文網(wǎng)址:http://blog.csdn.net/sinojelly/archive/2009/11/02/4759571.aspx 前言
Windows Live Writer是非常不錯的一個日志發(fā)布工具,支持本地寫文章,然后通過點擊一個按鈕就發(fā)布到網(wǎng)站上,如果借助插件,還可以同時發(fā)布到多個博客網(wǎng)站,功能非常強大,很多博友認識她之后都有相見恨晚的感覺,有些Mac的用戶為了使用她才裝上了Windows。 Windows Live Writer提供了很方便的插件編寫工具,可以自己增加一些希望的功能,網(wǎng)上也有大量的插件下載,很多都非常不錯。 本書根據(jù)新手入門使用Windows Live Writer可能遇到的一些問題進行詳細的闡述,讓新手也能很快駕馭這個工具,更高效的記錄日志和發(fā)布日志,體驗更多網(wǎng)絡的樂趣。 本書還附帶了很多博客官方關于Live Writer使用的介紹,和其它一些很好的Live Writer相關的文章,以及筆者親自實踐/精心挑選的一系列優(yōu)秀插件的安裝文件,非常實用,歡迎參考。 所有插件在Windows Vista, Windows Live Writer 14.0.8089.726 下安裝使用正常。 使用手冊和全套工具附件下載地址:http://down.51cto.com/data/51174
基礎問題
1 Live Writer最新版本下載地址是什么? http://download.live.com/writer
2 下載安裝Live Writer之后應該做什么? 應該嘗試根據(jù)一些博客上的關于Live Writer發(fā)布文章的介紹,配置一個帳號,體驗一下本地寫日志/快速發(fā)布的感覺, 特別是發(fā)布多圖的文章,是非常方便的,而且任何文章本地留下備份這也是很好的,即使網(wǎng)絡斷了,還可以繼續(xù)寫文章。 如果希望體驗更多樂趣,那就安裝一些插件,他們提供了很多非常有用的功能,在本文后面有介紹。
2 Live Writer的日志在電腦里面保存在什么地方的呢? 答案:我的文檔中的My Weblog Posts目錄下,具體參見下面的描述。 D://Users//Jelly//Documents//My Weblog Posts//Drafts//CppUnit用例訪問被測類私有&保護成員的解決方案.wpost D://Users//Jelly//Documents//My Weblog Posts//Recent Posts//CppUnit用例訪問被測類私有&保護成員的解決方案.wpost
3 從網(wǎng)絡備份日志之后,本地之前發(fā)布的日志被刪除。通過什么判斷本地日志與網(wǎng)絡日志是同一個日志呢? 有興趣的再研究下吧,歡迎弄清楚了郵件告訴我:sinojelly@163.com,也歡迎交流相關問題。 4 日志圖片和日志附件上傳到哪里了呢? 都上傳到你的SkyDrive的“日志圖像”目錄了,比如我的是: https://cid-756740869b27f5f2.skydrive.live.com/browse.aspx/.BlogImages 似乎有少量重復圖片,只是大小不同,可能需要注意,第一次上傳日志前,就要把圖片大小調(diào)整合適,否則可能調(diào)整之后再上傳會產(chǎn)生重復圖片(待確認?)。
各種常用博客空間的Live Writer配置。
注:把sinojelly改為你的帳號。
(1) LiveSpace
最簡單,選擇Live Space服務類型就可以了。
其它幾種博客,要選擇“其它日志服務”。
(2) 51CTO
日志主頁URL:http://sinojelly.blog.51cto.com/
日志類型:Metaweblog API
遠程發(fā)布URL: http://sinojelly.blog.51cto.com/xmlrpc.php
參考:http://51ctoblog.blog.51cto.com/26414/95155
(3) CSDN
日志主頁URL:http://blog.csdn.net/sinojelly
日志類型:Metaweblog API
遠程發(fā)布URL: http://blog.csdn.net/sinojelly/services/MetaBlogApi.aspx
參考:http://blog.csdn.net/blogdevteam/archive/2009/09/04/4519285.aspx
(4) ChinaUnix
似乎不能用Live Writer.
http://blog.chinaunix.net/u3/104013/
(5) LUPA
似乎不能用Live Writer.
(6) blogbus
日志主頁URL:http://sinojelly.blogbus.com/
日志類型:Atom Publishing Protocol
遠程發(fā)布URL: http://blogbus.blogbus.com/api
參考:http://riverbird.blogbus.com/logs/35937634.html
(7) 百度HI空間
似乎不能用Live Writer.
(8) 網(wǎng)易163博客
日志主頁URL:http://sinojelly.blog.163bus.com/
日志類型:無須選擇
遠程發(fā)布URL: 無須選擇 用戶名:sinojelly
參考:http://amigoce.blog.163.com/blog/static/3002200841510285348/
插件
Windows Live Writer 14.0.8089.726 版本本身已支持的功能:
字數(shù)統(tǒng)計
安裝插件的過程中,不用關閉Windows Live Writer。
有些插件,把dll文件放到“C://Program Files//Windows Live//Writer//Plugins”目錄即可。
有些插件,提供的msi安裝文件,雙擊安裝即可。
如果發(fā)現(xiàn)新安裝的插件沒出現(xiàn),就重啟Live Writer。
LiveBlogTransfer
Current version:1.2.0 Last update: 2008-12-12
LiveBlogTransfer備份的是您個人博客的所有發(fā)布的頁面和日志,您進行數(shù)據(jù)恢復的時候可以恢復到您Live Writer設置博客上的任意一個,因此如果您擁有多個博客,LiveBlogTransfer可能是您絕佳的博客搬家和同步工具。下載鏈接:
If you have only one blog space, you could use LiveBlogTransfer to backup and restore your blog entries, if you have multiple blog spaces, LiveBlogTransfer could let you exchange blog entires between these blog spaces. Download links:
For WLW 14.0.8089.726 (New!)
EzMultiPost
Current version:1.0.0 Last update: 2008-12-3
EzMultiPost用于將你的博客日志同步發(fā)步到多個博客空間。 需要先發(fā)送到一個博客,然后再MultiPost。注意類似51CTO博客必須寫原創(chuàng)/轉(zhuǎn)載類型的,必須先設置類型,然后再MultiPost。 下載鏈接:
EzMultiPost is a tool for you to post your blog to multiple blog spaces.Download links:
For WLW 14.0.8089.726 (New!)
參考: http://www.niuray.com/develop/wlw-plugin/my-wlw-plugins/ 通知 Twitter 新日志發(fā)布
把Twitter.WriterPlugin.dll放到“C://Program Files//Windows Live//Writer//Plugins”目錄, 然后關閉Live Writer重新打開。 打開 Windows Live Writer –>? 工具 Tools –> 選項 Options –> 插件 Plug-ins –> Twitter Notify,并且輸入 Twitter 用戶名,密碼 屏幕截取插件
把ScreenCapturePlugin.dll放到Plugins目錄,重啟Live Writer即可。
添加 Digg This 按鈕
把DiggThis.WriterPlugin.dll放到Plugins目錄,重啟Live Writer即可。(它好像不會在右邊欄顯示出來) 在工具->選項->插件中可以設置Digg的類型,禁用JavaScript的網(wǎng)站只能用兩種按鈕樣式: Button 和 Guy (不支持會自動替換為按鈕樣式)。
插入代碼樣式
安裝CodeSnippetSetup.msi,然后重啟Live Writer即可。
如果代碼外面的框框總是出現(xiàn)討厭的滾動條,那么可以點擊“Use Container”去掉容器。
Text Template V1.2.3.3下載:http://gallery.live.com/liveItemDetail.aspx?li=9c8097b3-05f5-4e50-a968-dec6da6aea72&bt=9 網(wǎng)上的介紹: 這個插件對于那些在博文中使用重復的文本或者 html 的人,比如標語、簽名或者給讀者留言的邀請,這是必須的插件。使用 Text Template 你可以創(chuàng)建和保存包含文本和/或 html 的模板以后使用,然后快速簡便的插入你的文章中。創(chuàng)建的模板可以放入分類,如果你保存了很多的話就可以比較容易的找到。 相關參考: http://www.codeplex.com/wikipage?ProjectName=wlwTextTemplate V1.2.4下載: http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=wlwTextTemplate&DownloadId=3099&FileTime=128050080314630000&Build=15896 類似的,還有一個: Dynamic Template Plugin for Windows Live Writer http://www.joecheng.com/code/DynamicTemplate/ Insert File Plugin 不錯,能夠把文檔插入博客文章的任何位置。
酷表情 安裝CNCoolEmotion.msi即可。 非常不錯。 拷貝VS.NET的代碼(強烈推薦) 把VSPaste.dll拷貝到C://Program Files//Windows Live//Writer//Plugins即可。 效果如下: 插入標簽 參見下圖,無須另外安裝插件。 可以自己再添加tag提供商, 我添加了Windows Live: {tag} 參見: http://malkside.spaces.live.com/blog/cns!BE2C70F6E8FD6095!467.entry http://windowslive.com/Connect/Post/2cd5986f-4c18-436e-a94d-7c6079ffb842 注: Windows Live標簽不是很好用,點擊標簽能搜索出帶有該標簽的文章,但沒看到我的文章。 Technorati 標簽則鏈接打不開,它被墻了,如果打開了的話,它能搜索帶有某種標簽的文章。不過暫時我也沒看到我的文章。
不怎么好或者暫時未使用的插件
Clipboard Capture(暫時未使用) 把剪貼板的圖片粘貼到博客文章中,可以給圖片命名。(它能支持選擇jpg還是png,不過我更希望能設置jpg的質(zhì)量。)
參考:
http://gallery.live.com/liveItemDetail.aspx?li=665e9d1b-ab5c-4772-80de-ac4e69d66dae&bt=9&pl=8
xPollinate - Cross Post Plugin(未使用)
比Multiple Poster功能多些,但還是不能發(fā)送到51CTO博客,它提示沒有選擇原創(chuàng)類型。
下載次數(shù):1207 發(fā)布時間:2009/3/31
免費
xPollinate is a Live Writer plugin that enables you to cross post full or summarized blog entries to other blogs, as well as social networking sites such as Twitter, Facebook, MySpace and more via Ping.FM. More info: http://xpollinate.codeplex.com
Sharper Photo (未使用) 直接在Writer中編輯圖片非常方便,可能很有用。
注:它可以調(diào)用外部編輯器編輯圖片,但也沒覺得方便多少,也沒太多別的功能。 Paste As Visual Studio Code v1.5 上次更新時間: 2009/10/15 從VS中復制代碼到Writer中,可能很有用。 安裝LavernockEnterprises.PasteAsVSCode.msi 效果如下,還可以,但也并不是很好。
Tag4Writer
這個插件沒有找到可下載的地方,似乎3年前出現(xiàn)過,后來就不見了。
Related Posts
安裝RelatedPostsPluginSetup.msi,然后重啟Live Writer即可。 需要在http://delicious.com/注冊。還沒怎么用:)
SyntaxHighlighter插件(建議不要用) 它在我的Vista電腦上運行時異常。
1: System.NullReferenceException: 未將對象引用設置到對象的實例。 2: 在 Katamari.WriterPlugin.PropertiesPanelEditor.PropertiesPanelEditor_Load(Object sender, EventArgs e) 3: 在 System.Windows.Forms.UserControl.OnLoad(EventArgs e) 4: 在 System.Windows.Forms.UserControl.OnCreateControl() 5: 在 WindowsLive.Writer.Api.SmartContentEditor.OnCreateControl() 6: 在 System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible) 7: 在 System.Windows.Forms.Control.CreateControl() 8: 在 System.Windows.Forms.Control.ControlCollection.Add(Control value) 9: 在 WindowsLive.Writer.PostEditor.PostHtmlEditing.Sidebar.ContentSourceSidebarControl.UpdateView(Object htmlSelection, Boolean force) 10: 在 WindowsLive.Writer.PostEditor.PostHtmlEditing.Sidebar.HtmlEditorSidebarHost.UpdateSidebarState(Boolean force) 11: 在 WindowsLive.Writer.PostEditor.PostHtmlEditing.Sidebar.HtmlEditorSidebarHost._editorContext_SelectionChanged(Object sender, EventArgs e) 12: 在 System.EventHandler.Invoke(Object sender, EventArgs e) 13: 在 WindowsLive.Writer.HtmlEditor.HtmlEditorControl.OnSelectionChanged(EventArgs e, IHtmlEditorSelection newSelection) 14: 在 WindowsLive.Writer.HtmlEditor.HtmlEditorControl.FireSelectionChanged() 15: 在 WindowsLive.Writer.HtmlEditor.HtmlEditorControl.WindowsLive.Writer.HtmlEditor.IHtmlEditorComponentContext.EndSelectionChange() 16: 在 WindowsLive.Writer.PostEditor.PostHtmlEditing.SmartContentSelection.SelectElement(IHtmlEditorComponentContext editorComponentContext, IHTMLElement e, SmartContentState contentState) 17: 在 WindowsLive.Writer.PostEditor.PostHtmlEditing.SmartContentSelection.SelectIfSmartContentElement(IHtmlEditorComponentContext editorComponentContext, IHTMLElement e, SmartContentState contentState) 18: 在 WindowsLive.Writer.PostEditor.PostHtmlEditing.BlogPostHtmlEditorControl.OnInsertHtml(MarkupRange newContentRange) 19: 在 WindowsLive.Writer.HtmlEditor.HtmlEditorControl.InsertHtml(String html, Boolean moveSelectionRight) 20: 在 WindowsLive.Writer.PostEditor.PostHtmlEditing.BlogPostHtmlEditor.InsertHtml(String content, Boolean moveSelectionRight) 21: 在 WindowsLive.Writer.PostEditor.PostHtmlEditing.BlogPostHtmlEditor.InsertContentBlock(String contentSourceId, String content, IExtensionData extensionData) 22: 在 WindowsLive.Writer.PostEditor.PostHtmlEditing.BlogPostHtmlEditor.WindowsLive.Writer.PostEditor.ContentSources.IContentSourceSite.InsertContent(String contentSourceId, String content, IExtensionData extensionData) 23: 在 WindowsLive.Writer.PostEditor.ContentSources.ContentSourceManager.PerformInsertion(IContentSourceSite sourceSite, ContentSourceInfo contentSource)
它顯示的代碼格式如下:
view plaincopy to clipboardprint?
Insert MSN, Yahoo and Custom Smileys(不推薦) 在我的電腦上沒法用,缺少SmileyInfo.txt,但沒地方可下載。 Tag Generator(不推薦) 安裝TagCreator.WriterPlugin.msi,但我也遇到生成tag時Live Writer死掉。 下載地址:http://gallery.live.com/liveItemDetail.aspx?li=bbb14b2a-0250-4513-a942-cb99a3459ab9&bt=9&pl=8Ta Amazon Book Lookup Plugin(不推薦) 使用時出現(xiàn)HTTP 503錯誤。 下載地址:http://gallery.live.com/liveItemDetail.aspx?li=41954338-69de-47d5-b15e-ca0d770146b6&bt=9&pl=8 還未嘗試的插件: Code Prettify for Windows Live Writer 需要鏈接Google Code Prettify才能使插入的代碼高亮,不支持js的博客可能不好用。 參考: http://gallery.live.com/liveItemDetail.aspx?li=c7ff63d8-d435-4349-a26e-d601f3151319&bt=9&pl=8 http://google-code-prettify.googlecode.com/svn/trunk/README.html Attach File Plugin for Windows Live Writer 跟Insert File的功能差不多,沒有具體嘗試。 參考: http://gallery.live.com/liveItemDetail.aspx?li=3554b280-8ea4-453a-ada7-d567348aab97&bt=9&pl=8 Contacts Plug-in 暫時沒覺得它很有用,沒嘗試它。 參考: http://gallery.live.com/liveItemDetail.aspx?li=6388f05f-b3d7-481a-ad55-924686598856&bt=9&pl=8 http://www.codeplex.com/Wikipage?ProjectName=Oomph http://visitmix.com/lab/#oomph Import and Export Wizard for Windows Live Writer 發(fā)布時間: 2009/10/31 備份/還原Live Writer的插件/配置/本地文件等信息,應該非常有用。 參考: http://gallery.live.com/liveItemDetail.aspx?li=6f6a26f3-8797-41c9-9530-1a7c8baef154&bt=9&pl=8 Insert Links Smartly 為了插入鏈接方便,它可能比較有用。
Syntax Higlighter 2.0 for Windows Live Writer
創(chuàng)建者:
下載次數(shù):467 發(fā)布時間:2009/7/6
免費
Add smart content editor syntax higlighter 2.0 support for Windows Live Writer. 插件列表: http://gallery.live.com/results.aspx?bt=9&pl=8&ds=1&la=en&tier=0&st=2&p=1&c=0 制作Windows Live Writer綠色版 1 安裝Windows Live Writer最新版本。(最好不運行,避免產(chǎn)生很多配置文件) 2 下載WLWPortable3.rar。(地址:http://www.box.net/shared/i97ftfzvya,可能被墻了) 3 解壓縮WLWPortable3.rar,把C://Program Files//Windows Live//Writer里面的內(nèi)容全部復制到WLWPortable3//WindowsLiveWriterPortable//App//WindowsLiveWriter目錄下。 4 另外兩個插件RelatedPostsPlugin.dll和WLWTextTemplates.dll被安裝到C://Program Files//Windows Live Writer//Plugins,把它們所在的Plugins里面的內(nèi)容都復制到WindowsLiveWriterPortable//App//WindowsLiveWriter//Plugins目錄下。(注意:正是這個操作,RelatedPostsPlugin.dll使得配置客戶端完成后,Live Writer啟動后自動退出,后來把它刪掉就OK了。) 5 最后發(fā)現(xiàn)還缺少一個插件Insert File。用Everything搜索InsertFile,發(fā)現(xiàn)它的路徑為C://Program Files//Braunweb Solutions//Insert File Plugin for Windows Live Writer//InsertFilePlugin.dll 6 把InsertFilePlugin.dll復制到WindowsLiveWriterPortable//App//WindowsLiveWriter//Plugins目錄下。 制作綠色版發(fā)現(xiàn)的現(xiàn)象: 1 發(fā)布的文章和草稿都在我的文檔/My Weblog Posts目錄,并且必須啟動Windows Live Writer它才會出現(xiàn),關閉時它又會消失。不過文章不會丟失,目錄出現(xiàn)時,里面的文章也會出現(xiàn)。 2 每次啟動Writer,都需要配置一遍博客的信息。觀察Data/Registry.reg,它每次啟動Writer都會更新,它保存了博客帳號信息。但為什么每次啟動都需要配置呢?而且運行注冊表文件也不行。Data//Settings//Dir3.dat//Windows Live Writer.log有日志信息。 經(jīng)過嘗試,發(fā)現(xiàn)用2.0版本的WindowsLiveWriterPortable.exe,不會有每次啟動都要注冊的問題。(把該exe文件替換為2.0版本的即可) 3 可以在電腦里面保存兩份完整的Windows Live Writer,分別注冊/登錄不同的博客,它們互不干擾,用這種方法可以解決51CTO和Live Space等不能放在一起的問題。
總結(jié)
以上是生活随笔為你收集整理的转载:使用Windows Live Writer发布日志的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: matlab compiler使用,安装
- 下一篇: 基于JAVA和Oracle数据库实现的项