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 columns, you only need to set "source URL" and"ArticleThe website must contain "these two items into the URLs and directories 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}