China webmaster station For Dede4.0 collection rules

Source: Internet
Author: User

Reprint please indicate out of im286.com, this post address: http://www.im286.com/viewthread.php? Tid = 1991813
The acquisition rule For Dede4.0 on the Chinese webmaster station is outdated in just two minutes. I hope you will be able to support me. Thank you !!!

The following rules are website operations> Search optimized collection rules, for the rules of other topics, you only need to change the "source Website" and "article website need to include" to the website and directory of the topics you want to collect.

To collect the webmaster online> recommend this topic, you only need to make the following changes:
Source url: [url] http://www.chinaz.com/webmaster/recsite/index.html#/url]
The article URL must include:/RecSite/0
Others do not need to be changed!

========================= Collection rules ==========================
{! -- Basic node information --}

{Dede: item name = 'search engine'
Imgurl = '/upimg' imgdir = '../upimg' language = 'gb2312'
Isref = 'no' refurl = ''' exptime = '10'
Typeid = '1' matchtype = 'string '}
{/Dede: item}

{! -- Collection list acquisition rules --}

{Dede: list source = 'var' sourcetype = 'LIST'
Varstart = ''varend = ''}
{Dede: url value = 'HTTP: // www.chinaz.com/webbiz/seo/index.html'#/dede:url}
{Dede: need}/Seo/0 {/dede: need}
{Dede: cannot} {/dede: cannot}
{Dede: linkarea} <div id = "list_container"> [var: region] var contents = document. getElementsByClassName ('list _ news_content '); {/dede: linkarea}
{/Dede: list}

{! -- Webpage Content Retrieval rules --}

{Dede: art}
{Dede: sppage sptype = 'Next'} <B> 1 </B> [var: Paging area] <font face = "webdings"> 4 {/dede: sppage}

{Dede: note field = 'dede _ archives. title' value = '[var: content] 'comment = 'Article title'
Isunit = ''isdown = ''}

{Dede: match}
{Dede: function} {/dede: function}

{/Dede: note}

{Dede: note field = 'dede _ addonarticle. body' value = '[var: content] 'comment = 'Article Content'
Isunit = '1' isdown = '1 '}

{Dede: match} <div class = "text_body" id = "textbody"> [var: content] <div class = "text_tag" >{/ dede: match}
{Dede: trim} <div align = "center"> (. *) </div> {/dede: trim}
{Dede: trim} CHINAZ {/dede: trim}
{Dede: function} {/dede: function}

{/Dede: note}

{Dede: note field = 'dede _ archives. write' value = '[var: content] 'comment = 'author'
Isunit = ''isdown = ''}

{Dede: match}: [var: content] | hour {/dede: match}
{Dede: trim} <a ([^>] *) >{/ dede: trim}
{Dede: trim} </a> {/dede: trim}

{Dede: function} {/dede: function}

{/Dede: note}

{Dede: note field = 'dede _ archives. source' value = '[var: content] 'comment = 'Article source'
Isunit = ''isdown = ''}

{Dede: match} Source: [var: content] | for {/dede: match}
{Dede: trim} <a ([^>] *) >{/ dede: trim}
{Dede: trim} </a> {/dede: trim}

{Dede: function} {/dede: function}

{/Dede: note}

{Dede: note field = 'dede _ archives. pubdat' value = '[var: content] 'comment = 'publication time'
Isunit = ''isdown = ''}

{Dede: match} {/dede: match}

{Dede: function} if (@ me! = "") @ Me = GetMkTime (@ me );
Else @ me = time (); {/dede: function}

{/Dede: note}

{Dede: note field = 'dede _ archives. sortrank 'value =' [var: content] 'comment = 'sort level'
Isunit = ''isdown = ''}

{Dede: match} {/dede: match}

{Dede: function} @ me = time (); {/dede: function}

{/Dede: note}

{Dede: note field = 'dede _ archives. litpic 'value =' [var: content] 'comment = 'thumbnails'
Isunit = ''isdown = ''}

{Dede: match} {/dede: match}

{Dede: function} @ me = @ litpic; {/dede: function}

{/Dede: note}

{Dede: note field = 'dede _ archives. senddate' value = '[var: content] 'comment = 'entry time'
Isunit = ''isdown = ''}

{Dede: match} {/dede: match}

{Dede: function} @ me = time (); {/dede: function}

{/Dede: note}
{/Dede: art}

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.