Windows Live writer Article plug-in

Source: Internet
Author: User
Document directory
  • Related posts

Windows Live writer Article plug-in

 

By Liu weipeng (pongba)

C ++'s Luo Yun (http://blog.csdn.net/pongba)

1. Why write this plug-in?

The reason is as follows:

  • Many blogs do not include related document systems.
  • Even if it comes with the relevant article system, it is also in Webpage mode; it is not output to RSS feed.
  • I have previously written a javascript blog-related article plug-in (see here), but unfortunately
    • Due to the restrictions on the JSON interface opened by Del. icio. us, the number of articles is limited to 100. Over one hundred articles are either difficult or impossible.
    • Many blogs do not support the arbitrary insertion of JavaScript code in the background.
    • It is in Webpage mode and does not output to RSS feed. That is to say, if the subscriber reads your blog articles in the RSS reader, the "related articles" column still does not appear.

2. What is this plug-in?

Click here to see the Javascript plug-in version.

This live writer plug-in implements roughly the same functions as it, but it can output the "related articles" list directly to the article, so it can be output to the full-text feed; there is no limit on the number of articles; no dependency on any specific Blog system; no additives or side effects: P

3. How can I install this plug-in?

3.1 system requirements

  • Install Windows Live writer as follows:

    • Install Windows Update agent (Click here to download)
    • Install Windows Live writer (Click here to download)
    • NOTE: For the configuration of Windows Live writer, see here.
  • . NET Framework 3.5 (Click here to download)
    • Note: because it was written in vs2008, I thought it could be compiled into a. NET 2.0 compatible module, but later I found that it could not. I used several. Net 3.5 modules (such as system. LINQ), so don't expect them to run on. NET 2.0. Sorry :)

3.2 Installation and Use

  • For installation, you only need to relatedpostsplugin. copy the DLL to the Plugins subdirectory under your live writer installation directory (generally C:/program files/Windows Live writer/plugins or C: /program files/Windows Live/Writer/plugins ). Open live writer and you will find a "insert related posts" option in the plug-in column on the right ".
  • It is easy to use:
    • First, add the article link on your blog to a Del. icio. us account. Don't forget to add a tag.
    • Click "insert related posts" on the right side of live writer. the pop-up window is displayed:

 

  • Enter your Del. icio. US user name and password, and specify the number of output articles (because you need to access Del. icio. it usually takes about 10 seconds for us to obtain the data. However, if you write a blog offline, you can check the "use local cached posts XML file" option, in this way, the plug-in will not try to connect to the network to obtain Del. icio. US latest updates. Similarly, if you know that there are no recent updates to Del. icio. you can also check this option to prevent the plug-in from checking for updates, which wastes time. However, the premise is that at least the first use must be connected to the network, because the plug-in needs to download Del. icio. data on us. In the future, if you need to let the plug-in know that you have added a blog article to Del. icio. if you want to update the local cache XML file, you also need to have the plug-in check online for updates .)

4. Download

The Installation File is here:

The source file is here:

 

5. to-do list

The current function is enough for me. However, you can modify the source code adding function if you want. The modifications that I can think of include:

  • Incremental update: Currently, every time you add a new link to Del. icio. if your account is us, the plug-in will download del again. icio. this is because Del. icio. open API of us only supports full update, but does not support incremental update (Click here to see Del. icio. open API description of US); on the other hand, I am also lazy, because the average data volume of 100 blogs is 30 K. If there is not a pile of descriptive text added to the favorites, it is estimated that there is only half of the data volume. Therefore, if it is 500 posts, it will be less than kb. For the broadband network, it will soon be obtained (and the main access speed bottleneck seems to be the user permission verification ). However, if you want to, you can also implement an incremental update option by yourself.
  • Latest Post: It's easy to add a most recent posts. parse the RSS output of your blog and extract the latest article title and link.
  • Recommended articles: Actually, this function does not need to be added. You only need to add it in Del. icio. add a special tag (name as you like, for example, my toppost) to the recommended articles on us, and then add the toppost tag when the plug-in is used to insert the related posts.
  • Top articles: If the comments API is enabled in your blog system, this is easy to handle. See the implementation here.

If there are other things, just use your imagination ..

Related postsfrom tag webdev
  • Blog plug-in: Stick the article
  • Blog plug-in: popular articles and navigation bar
  • Blog plug-in: Use del. icio. us to implement "intra-site related articles"

From tag blog

  • Csdn blog atypical Equipment

(More ..)

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.