<p style="background: white"><span style="color:#333333; font-family:微软雅黑; font-size:10pt">步骤: </span></p><ol><li><div style="background: white"><span style="color:#333333; font-family:微软雅黑; font-size:10pt">打开word </span></div></li><li><div style="background: white"><span style="color:#333333; font-family:微软雅黑; font-size:10pt">点击左上角<strong>office图标</strong> </span></div></li><li><div style="background: white"><span style="color:#333333; font-family:微软雅黑; font-size:10pt">点击<strong>新建(<span style="text-decoration:underline">N</span>)</strong>,右侧有空白文档、新建博客文章、书法字帖等三个选项,选择<strong>新建博客文章</strong>,点击右下角<strong>创建</strong> </span></div></li><li><div style="background: white"><span style="color:#333333; font-family:微软雅黑; font-size:10pt">第一次使用,会让我们注册,点击<strong>开始注册</strong> </span></div></li><li><div style="background: white"><span style="color:#333333; font-family:微软雅黑; font-size:10pt"><strong>选择博客提供商</strong>,点击下拉菜单,选择其他 </span></div></li><li><div style="background: white"><span style="color:#333333; font-family:微软雅黑; font-size:10pt"><strong>选择API</strong>,点击下拉菜单,选择<strong>MetaWebLog</strong>,而非Atom </span></div></li><li><div style="background: white"><span style="color:#333333; font-family:微软雅黑; font-size:10pt"><strong>博客文章 URL(<span style="text-decoration:underline">U</span>)</strong> 填写 http://my.oschina.net/action/xmlrpc </span></div></li><li><div style="background: white"><span style="color:#333333; font-family:微软雅黑; font-size:10pt"><strong>输入账户信息</strong>,这里为OSC上的用户名和密码 </span></div></li><li><div style="background: white"><span style="color:#333333; font-family:微软雅黑; font-size:10pt"><strong>确定</strong>,如果成功,会提示你注册成功;否则验证你的用户名和密码 </span></div></li><li><div style="background: white"><span style="color:#333333; font-family:微软雅黑; font-size:10pt">可以自由写你的Blog了 </span></div></li></ol><p style="background: white"><span style="color:#333333; font-family:微软雅黑; font-size:10pt">Test Code: </span></p><p style="background: white"><span style="color:#333333; font-size:10pt"><span style="font-family:Courier New">int main(void)</span><span style="font-family:微软雅黑"> </span></span></p><p style="background: white"><span style="color:#333333; font-size:10pt"><span style="font-family:Courier New">{</span><span style="font-family:微软雅黑"> </span></span></p><p style="background: white"><span style="color:#333333; font-size:10pt"><span style="font-family:Courier New"> int a = 123;</span><span style="font-family:微软雅黑"> </span></span></p><p style="background: white"><span style="color:#333333; font-size:10pt"><span style="font-family:Courier New"> printf("hallo, world! <%d>\n", %a);</span><span style="font-family:微软雅黑"> </span></span></p><p style="background: white"><span style="color:#333333; font-size:10pt"><span style="font-family:Courier New"> return 0;</span><span style="font-family:微软雅黑"> </span></span></p><p style="background: white"><span style="color:#333333; font-size:10pt"><span style="font-family:Courier New">}</span><span style="font-family:微软雅黑"> </span></span></p><p style="background: white"><span style="color:#333333; font-family:微软雅黑; font-size:10pt">PS:本篇即使用word完成编辑及发布过程,优点是发布速度快,编辑本地博客文章后重新发布可迅速同步到OSC上,缺点是不能传图,无法高亮代码:( 。 </span></p><p style="background: white"><span style="color:#333333; font-family:微软雅黑; font-size:10pt">PS2:关于高亮代码,可以试着用 <a href="http://blog.chinaunix.net/uid-20672257-id-3323617.html" target="_blank"><span style="color:#4466bb; text-decoration:underline">这里</span></a> 给出的宏格式化C代码。 </span></p>
转载于:https://my.oschina.net/kyo153/blog/158217