使用 word 在 oschina 上写博客

步骤:

  1. 打开word

  2. 点击左上角office图标

                </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>,点击下拉菜单,选择其他
    

  3. 选择API,点击下拉菜单,选择MetaWebLog,而非Atom
  4. 博客文章 URL(U) 填写 http://my.oschina.net/action/xmlrpc
  5. 输入账户信息,这里为OSC上的用户名和密码
  6. 确定,如果成功,会提示你注册成功;否则验证你的用户名和密码
  7. 可以自由写你的Blog了

Test Code:

int main(void)

        </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上,缺点是不能传图,无法高亮代码:( 。

PS2:关于高亮代码,可以试着用 这里 给出的宏格式化C代码。

你可能感兴趣的:(使用 word 在 oschina 上写博客)