使用LiveWriter进行博客-Blogging with LiveWriter
While Orchard provides a simple way to write blog posts using the built-in features of the admin panel, many people prefer to author posts using a client application, such as Open Live Writer. These clients use an XML-RPC interface to publish posts remotely, and offer additional capabilities like saving offline drafts (for example, to write your blog posts on an airplane and sync-up your site later).
虽然Orchard提供了一种使用管理面板的内置功能编写博客文章的简单方法,但许多人更喜欢使用客户端应用程序创建帖子,例如[Open Live Writer](http://openlivewriter.org/)。这些客户端使用XML-RPC接口远程发布帖子,并提供其他功能,例如保存脱机草稿(例如,在飞机上写博客帖子以及稍后同步您的站点)。
To enable Remote Blog Publishing, click Features in the Orchard admin panel.
要启用远程博客发布,请单击Orchard管理面板中的功能。
To use Open Live Writer with Orchard, you need to enable the Remote Blog Publishing feature. To enable Remote Blog Publishing click the Enable link on the feature box. Note that if you haven't already created a blog on your site, you'll want to do so.
要在Orchard中使用Open Live Writer,您需要启用远程博客发布功能。要启用远程博客发布,请单击功能框上的启用链接。请注意,如果您尚未在自己的网站上创建博客,则需要执行此操作。
Now, launch Live Writer from your Start menu in Windows.
现在,从Windows中的 Start 菜单启动Live Writer。
Choose Add blog account... from the Blogs menu.
从 Blogs 菜单中选择添加博客帐户... 。
Choose Other blog service from the available options and click Next.
从可用选项中选择其他博客服务,然后单击下一步。
Type the URL to your Orchard blog, along with the admin user name and password that you defined when you set-up Orchard for the first time.
键入您的Orchard博客的URL,以及您第一次设置Orchard时定义的管理员用户名和密码。
Note
!注意
It is possible to publish using other XML-RPC aware client applications, but you might have to provide the URL of the XML-RPC endpoint rather than the blog URL.
For example, http://myimaginaryorchardsite.com/xmlrpc.
Live Writer will connect to your blog in order to read the XML-RPC capabilities that Orchard supports and download the current Theme (for previewing posts before publishing). If you are prompted to create a temporary post during this step, select "Yes" in the dialog.
Live Writer将连接到您的博客,以便阅读Orchard支持的XML-RPC功能并下载当前主题(用于在发布前预览帖子)。如果在此步骤中提示您创建临时帖子,请在对话框中选择“是”。
After Live Writer is configured, click Finish.
配置Live Writer后,单击完成。
Write a title and some content for your blog post in the Live Writer editor area.
在Live Writer编辑器区域为您的博客文章写一个标题和一些内容。
You can also insert pictures to your post using the Insert Picture button on the toolbar.
您还可以使用工具栏上的插入图片按钮将图片插入到帖子中。
To edit the URL for your post, select View / Properties in the Live Writer menu.
要编辑帖子的URL,请在Live Writer菜单中选择 View / Properties 。
The Slug input appears at the bottom of the editor, where you can type the portion of the URL that refers to this post.
Slug 输入显示在编辑器的底部,您可以在其中键入引用此帖子的URL部分。
To preview your post in the context of the currently applied Theme in Orchard, select the Preview tab in Live Writer. When you are satisfied with the way your post looks, click the Publish button.
要在Orchard中当前应用的主题的上下文中预览帖子,请选择Live Writer中的 Preview 选项卡。如果您对帖子的外观感到满意,请单击发布按钮。
Live Writer publishes your post, and will automatically load the URL for the post in your browser for viewing.
Live Writer发布您的帖子,并会自动在浏览器中加载帖子的URL以供查看。