"Super-Detailed tutorial" uses Windows Live Writer 2012 and Office Word 2013 to publish articles to the blog Park Comprehensive Summary

Source: Internet
Author: User
Tags blog layout

Last year knew this function, but did not go into the summary, recently had the desire to write online blog, and then picked up this thing again.

Specifically is the use of Windows Live Writer or Word, personally feel personally, because these 2 software each has advantages, each has shortcomings .

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!

Here's the first blog post with Windows Live Writer 2012:

First, software preparation:

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://g.live.com/ 1rewlive5-all/zh-cn/wlsetup-all.exe

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

Second, installation:

Installation is very simple, if you do not want to install MSN and other built-in software, please select a custom installation, note can not choose the installation path, this is very painful, the default is installed in the C drive.

Third, use:

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.

Iv. Code Highlighting plugin:

Blog Park official gave 2, one an introduction.

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 (x86) \ 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 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 ();        else            return null;    }

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:

1234567891011121314 /** * 从一段文本中检索出唯一的结果 * @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:

Personally feel that in the area of Code insertion Blog Park does not csdn do well, although the web version after inserting the code has a copy of the button:

But after the click also want us to manually press CTRL + C to copy, and after the copy has been the state of the text box, can not be restored to a highlighted code style, so many people use blog park, how no one feedback this opinion???

Five, picture upload notes:

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:

Vi. setting up categories, labels, abstracts, EntryName:

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

Seven, typesetting skills

See the article written on this webpage:

Cnblogs Blog Layout Tips

Let's talk about Word2013 's detailed method of publishing a blog to a blog park.

First, software preparation.

Word who has, so software preparation This step can almost be omitted. Specifically which version starts with the blog post feature I don't know, anyway I'm using word 2013.

Second, 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:

Third, the code highlighting:

Generally you direct eclipse or vs copy code to Word will remain highlighted by default, I generally like to insert the code into a row of a column of the table, as follows:

But after the release of the code line spacing widened, depressed!

In addition, the eclipse code directly copied and pasted into Windows Live writer will not remain highlighted, so this is still better for word.

If you want to post the code to look a bit better, it is recommended to use a word code highlighting plug-ins, is a Chinese writing, the function may be somewhat lacking, the main problem is style conflict, although you can set the "CSS custom style" to solve, but once you change the blog skin, This code shows that it may not be normal.

Refer to the original author's blog for Specific usage methods:

Using the code highlighting plugin in Word

For example, I use the theme of coffee, according to the settings given by this author, the blog post has become this way:

The normal should be this:

It is also recommended to turn on alternating row color function, look good:

style when inserting:

Style after inserting into Word:

Post-release styles are given above.

Well, very simple thing unexpectedly voluminous wrote so long, alas, I this person is has such a bad problem: is what thing once must do the best that must do! All right, dinner's gone, starving!

Hope to have some help for the people who have not used!

"Super-Detailed tutorial" uses Windows Live Writer 2012 and Office Word 2013 to publish articles to the blog Park Comprehensive Summary

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.