How to publish blogs to Cnblog and csdn with Windows Live Writer and Word 2013, respectively

Source: Internet
Author: User

Why did you write this?


Recently wrote blog in Cnblog above blog, found that pictures can not copy the direct paste, which for the blog as a handy note of the people are undoubtedly very painful. Turning to the blog park, they let me try it with Windows Live Writer. I checked the next recommendation, except for WLW, which was published directly in Word 2013. So high-end, I really low. So try according to the Great God's tutorial experiment a handful, really good is not a little bit, smart and studious I also extended to the CSDN yonder, the beginning are everyone said 505 errors, and later after the revision also successfully published.

Modestly stressed, here is not original, but summary. Individual tests were successful, and record sharing was done using Windows Live Writer and Word 2013 to publish blogs to Cnblog and CSDN respectively.


The pros and cons of these 2 software


1, the first with Livewriter blog is obviously more professional, post-release effect is closest to the local, but in the editing function is certainly not as big as Word, the other biggest disadvantage is that it is not the local format of Doc.

2, and the advantages of word is self-evident, we use Word every day, Word can send a blog this is a big good news, but with Word published blog post effect and local difference sometimes quite large.

Summary: Personally feel, if you are not particularly tangled in style, can be released after the effect and you imagine the effect of nearly point, then do not hesitate to choose Word!

Because the same tool is similar, I do not divide the four pieces, just follow the Windows Live Writer and Word 2013来 share the operation of Cnblog, and CSDN operation will be marked with red characters.

Let's get started.

Windows Live Writer

The first step is to download the installation:

The latest version of Windows Live Writer 2012, but does not provide a separate installation package, it is with other Microsoft software (including MSN, Window Move Maker, etc.), the software size is 131M, official:/HTTP www.microsoft.com/zh-cn/download/details.aspx?id=8621

or own Baidu "Windows Essentials 2012 Simplified Chinese offline".

Installation is simple, if you do not want to install other built-in software such as MSN, please choose a custom installation, note that only the default on the C drive, do not compete with it.

The third step is to add a log account:

Open Windows Live Writer, the first time you use it, you'll usually get your blog address and your account number and password set up as follows:

Select Other Services:

Set up your blog address and other information:

It then verifies that:

You will then be prompted to publish a temporary log to download the theme, which will be deleted immediately after publishing, so the General option is "Yes":

And then it's basically OK.

CSDN is like this.

First step: Download and install WLW (ibid. 1)

Step two: Add a blog account (ibid. 2)

If you add a blog park and want to add csdn, you can also Live Writer-> Options

Then account-> add


Step three: The type of log you are using, select Metaweblogapi

User name fill in your own.

Fourth step log remote publishing URL, fill in Http://write.blog.csdn.net/xmlrpc/index

(Focus on Http://write.blog.csdn.net/xmlrpc/index, don't fill in)

Fifth step: Click Next, when the following dialog box appears, select "Yes" or "no" can be, select "Yes" when the download fails, can be ignored.

Sixth Step: Setup Complete


Summarize

CSDN is more than a cnblog. Set account type, type select Metaweblogapi

Address: Http://write.blog.csdn.net/xmlrpc/index

There are blogs about the release


This is actually very simple. Pictures of what can be directly pasted, on the right of the publishing button you can choose to publish the blog account, you can also add a management log account here.

Code highlighting

Blog Park official given 2, installation is very simple, after downloading DLL files copied to C:\Program files \ Windows Live\writer\plugins, restart WLW.

1, WindowsLiveWriter.CNBlogs.CodeHighlighter.rar

This plug-in generates the same highlight code as on the Web page, and immediately after inserting it, it appears that it must be networked to show the effect in real time because the blog Park official says it is based on "cloud processing". The installation method is very simple, unzip the above compressed package and then copy the files inside to:

C:\Program Files\Windows Live\writer\plugins, and then restart Writer to see:

The insertion interface is relatively simple:

Timely results are as follows:

/**     * Retrieving unique results from a piece of text     * @param regx Regular expression Statement     * @param text to be retrieved     * @return */public string regx (String regx , String text)    {        Matcher matcher=pattern.compile (REGX). Matcher (text);        if (Matcher.find ())            return Matcher.group ();        Elsereturnnull;    }

2, another plug-in is called: Windows Live Writer Source Code plugin for Syntaxhighlighter, the file is called Sourcecodeplugin_version_1.1.zip, It seems that the official blog Park recommended this plugin, but the individual is not very fond of, the most important is not timely display effect. (Although a netizen has researched the method of the local preview effect, but the individual is not too fond of, want to see the stamp here: http://www.cnblogs.com/huxi/archive/2009/12/13/1623190.html)

Installation method is the same as above, but also copy a DLL file to the plugin directory, blog Park official tutorial:

Http://www.cnblogs.com/cmt/archive/2009/11/27/1611900.html

The interface is as follows:

The immediate effect is as follows (in order to show the effect, this is the editor, can be found not to highlight in time):

Post-publication as follows:

1

2

3

4

5

6

7

8

9

10

11

12

13

14

/**

* 从一段文本中检索出唯一的结果

* @param regx 正则表达式语句

* @param text 要检索的文本

* @return

*/

publicString regx(String regx,String text)

{

Matcher matcher=Pattern.compile(regx).matcher(text);

if(matcher.find())

returnmatcher.group();

else

returnnull;

}

It can be found that the former code style is the same as the first "Insert Code" button in the Web version:

The next plugin is similar to the second one:

Image upload

Default upload if the picture is too large to compress, and all by default with the audio and video effects, the improved method is as follows:

Insert a picture, and then:

Set up category labels summary, EntryName


The following data fields are EntryName (that is, essays or article address aliases).


About typography

Http://www.cnblogs.com/lyj/archive/2008/11/30/1344463.html


Word 2013


First step: Open Word 2013

Step two: Use the necessary configuration for the first time:

Open a Word document, then click "File" in the upper-left corner, select "Share" and "Publish to Blog":

You will usually be asked to create a new blog account by default:

The blog post address is: http://www.cnblogs.com/your blog name/services/metablogapi.aspx

Picture options generally select "My blog provider":

Then Word opens a new window and a blog title must be set up to publish the blog:

You can insert categories:

Click on the "Publish Button", at the top of the document will be prompted to publish whether the success of the information, as follows:

When you create a new account in csdn, be careful to fill in the same way, the other steps are the same.

Fill this address: http://write.blog.csdn.net/xmlrpc/index

The account management is also very convenient in the location.

The content is still a bit cumbersome, but the operation is very simple, we will try to find the very aspect of that. Finally listed below the reference blog

Http://www.cnblogs.com/liuxianan/archive/2013/04/13/3018732.html

Http://group.cnblogs.com/topic/8550.html

http://blog.csdn.net/csdnproduct/article/details/27504397

How to publish blogs to Cnblog and csdn with Windows Live Writer and Word 2013, respectively

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.