Dynamic Easy cms SEO optimization to get the article content before 200 words

Source: Internet
Author: User
Keywords SEO

Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall

Hello everyone! The first time to write articles, the purpose is that I for everyone, everyone for me, thank the network to share so much knowledge to me, I will be a little bit of my experience to share with you!

We all know, the Web page descrption description of the weight is not high, but can make each article descrption are different, is an important means of SEO optimization, to use dynamic friends to share, how to get the first 200 words to do descrption description!

First look at the effect! My Baby net www.bpbbs.com find an article http://www.bpbbs.com/Baobao/mianyi/200711/40.html

Let's check the source file.

the following references:


<meta name= "Description" content= "Two kinds of baby can not be inoculated BCG vaccination program, the baby will be vaccinated after the birth of BCG, will also be enhanced vaccination." Before inoculation must pay attention to some children can not be inoculated BCG. Can not vaccinate the baby has the following two kinds:  1, immunodeficiency baby can not be inoculated BCG, the two kinds of baby can not be inoculated BCG, baby nets, is for expectant parents to provide a comprehensive childcare manual, the healthy growth of the baby related to his life, So it's important to really focus on the baby's initiation education! >

It is the combination of the first 100 words and other descriptions of the content of the article! You can look at the other pages! Descriptions are different!

Read the article before someone mentioned this method! But the man didn't tell me what to do! We have to find him to get the results! I didn't ask him! I'll come out when I think about it!

The first thing to use dynamic tag, in the "Custom Label" where a dynamic tag "my_ first 200 words." About the basics look at the easy help!

Second, select Pe_article table, field selection content

Thus, the following SQL statement becomes the select top Content from Pe_article

In fact, plainly or thinking! Because I thought, each fill in an article, his articleid will add 1, then, we can let this table in the ArticleID descending order, and takes the content of the first piece of data to be possible! OK, the statement is as follows:

Select top 1 Content from pe_article ORDER BY ArticleID Desc

The core content is here, some people say to use where articleid= $ArticleID thinking is right! But the SQL statement is not easy to use tags!!

OK, now the next step, here is to control the content of the word, do not need to use SQL statements to control

Click Content will display: Field Name: Content Output Type: Text output length: 200 filter Processing: Any other also arbitrary.

Just insert it.

{Loop} {Infobegin} {$Field (0,text,200,2,1)} {Infoend} {/loop}

You can save it now.

In the Content page template add My_ the first 200 words to generate the article is OK!

But! Please pay attention! This method has a disadvantage! Only the latest article such a method to apply, if you want to change the previous article to be added to the new article! Because his principle is to extract the content of the latest article.

OK, flops an article, hope for everyone a little help! Can add me q:12290018 to make a friend! Together to explore SEO and net earn!

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.