China webmaster site ForDede4.0 collection rules _ PHP Tutorial

Source: Internet
Author: User
China webmaster station forde4.0 collection rules. For reprint, please indicate that im286.com is out of date. This Post address: www. im286.comviewthread. php? Tid1991813 only two points behind the times, the special contribution of the Chinese webmaster station ForDede4.0 collection rules, hope to reprint please indicate out of the times 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}

[Var: Region] var contents = document. getElementsByClassName ('list _ news_content '); {/dede: linkarea}
{/Dede: list}

{! -- Webpage content retrieval rules --}

{Dede: art}
{Dede: sppage sptype = 'next '}1[Var: Paging area] 4 {/dede: sppage}

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

{Dede: match} [var: content] {/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}

[Var: content]

{/Dede: match}
{Dede: trim}

(.*)

{/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}] *)> {/dede: trim}
{Dede: trim} {/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}] *)> {/dede: trim}
{Dede: trim} {/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}

Why? Tid = 1991813 is outdated after only two minutes. I would like to present the collection rules of ForDede4.0 on the Chinese webmaster station...

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.