Zblog Implementation content page Description field for each article page

Source: Internet
Author: User
Keywords Nbsp; blog tags we

Zblog a good site template, at present our company has two sites ("Chat robot" http://im.abot.cn and "mail Mass" http://qunfa.abot.cn) are used this template, maintenance and modification are very convenient. However, to use Zblog to obtain a better SEO effect, targeted modification is necessary. As for how to put the title of the article before the skills, we do not repeat here, a lot of online, Baidu can be, of course, if you do not understand, you can consult our company's seoer. Here's what I've done. By modifying, the Description field of each article page of the content page automatically reads the tips of the article.

We know that the article in Zblog is an introduction to HTML tags, you can define the text color, size, and so on, or even define a table, this information if placed in the meta description tag, will have disastrous consequences, so the first step, Filter out the labels first. This is not difficult, Zblog provides a ready-made function transferhtml, as long as the call can be.

Again is to control the length of description content, the general search engine optimization recommended this article not more than 200, we can set to 190. That is, the contents of the transferhtml after the interception, VBScript has ready-made functions, compared to everyone knows, is left.

The final step is to put the good content into the template, where we need to add a new tag, I set the Article/intro_text. So in the single.html file in the template directory, the head joins:

<meta name= "description" content= "< #article/intro_text#>"/>

So far, the optimization is complete. The first and second steps are to modify the Function\c_system_lib.asp code as follows:

Arytemplatetagsname = "Article/intro_text"
Arytemplatetagsvalue (=left) (Transferhtml (Htmlintro, "[nohtml]"), 190)

As for the effect, we can go to the "mail mass" this site to see.

It should be noted that similar issues have been mentioned before in the Forum, the general solution is mainly two kinds:

Add the following code to the single.html file

<meta name= "description" content= "< #BlogTitle #>" >

This generated Web page description and text title, as SEO, this effect is certainly unacceptable.

Second, that the control of the content of the article, to ensure that no HTML tags, or in the single.html file to add the following code, just to change the label.

<meta name= "description" content= "< #article/intro#>" >

If there is a fckediter automatically added HTML tags, for a Web page, is also a disastrous effect, we should be careful to use.

Zblog

Z-blog is an open, efficient, robust, practical and beautiful blog publishing program based on ASP platform. Has the following excellent features: the generation of static files, fully compliant with web standards, highly configurable templates, display logic and operational logic complete separation, WAP browsing/commenting/publishing/management functions, supporting Third-party WYSIWYG (WYSIWYG) editor, TAGs, better classify your article, Can define the static file name, atom format XML database backup, automatically replace the keyword in the article for the preset link, the unified permission control, the station full text search.

See the format syntax instructions to understand the wiki syntax and make sure you can improve the page before you edit it.

The practice area and our user page can be edited without registration.

Latest Version Z-blog 1.8 Arwen Build 81206

New theme management system, automatic online installation theme. The new plug-in mechanism and plug-in management interface, richer plug-in support.

Software Licensing Protocol:

Please read the Z-blog Software End User License Agreement carefully

You begin using licensed software to indicate that you have accepted the above licensing agreement.

System configuration:

Server: Windows 2000 and IIS5.0 above, need ADO database, FSO, XMLDOM and other system components support and space read and write permission, recommend the use of 92 rental network host, perfect support z-blog. Please check the Network service provider or view the local configuration.

Client: Mozilla FireFox 1.0, IE6.0, Opear 8.0 and later browsers are supported. The client browser needs to enable JavaScript scripting support.

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.