Table of Contents
[var:内容]
Home php教程 php手册 中国站长站 For Dede4.0 采集规则

中国站长站 For Dede4.0 采集规则

Jun 13, 2016 pm 12:31 PM
for http China address rule collection

转载请注明出自落伍im286.com,本贴地址:http://www.im286.com/viewthread.php?tid=1991813
只差两分就落伍了,特献出中国站长站 For Dede4.0 的采集规则,希望大家能够支持我落伍,谢谢了!!!

下面的规则为网站运营  >> 搜索优化 的采集规则,其他栏目的规则只要把“来源网址”和“文章网址需包含”这两项改成你想采集栏目的网址和目录。

如想采集站长在线 >> 好站推荐 这个栏目,你只要做如下更改:
来源网址:[url]http://www.chinaz.com/Webmaster/RecSite/Index.html[/url]
文章网址需包含:/RecSite/0
其他的不需要更改!

==================采集规则=================
{!-- 节点基本信息 --}

{dede:item name='搜索引擎'
        imgurl='/upimg' imgdir='../upimg' language='gb2312'
        isref='no' refurl='' exptime='10'
        typeid='1' matchtype='string'}
{/dede:item}

{!-- 采集列表获取规则 --}

{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:区域]var contents = document.getElementsByClassName('list_news_content');{/dede:linkarea}
{/dede:list}

{!-- 网页内容获取规则 --}

{dede:art}
{dede:sppage sptype='next'}1[var:分页区域]4{/dede:sppage}

  {dede:note field='dede_archives.title' value='[var:内容]' comment='文章标题'
   isunit='' isdown=''}

    {dede:match}

[var:内容]

{/dede:match}

    {dede:function}{/dede:function}

  {/dede:note}

  {dede:note field='dede_addonarticle.body' value='[var:内容]' comment='文章内容'
   isunit='1' isdown='1'}

    {dede:match}
[var:内容]
{/dede:match}
        {dede:trim}
(.*)
{/dede:trim}
    {dede:trim}CHINAZ{/dede:trim}
    {dede:function}{/dede:function}

  {/dede:note}

  {dede:note field='dede_archives.writer' value='[var:内容]' comment='文章作者'
   isunit='' isdown=''}

    {dede:match}者:[var:内容]| 时{/dede:match}
        {dede:trim}]*)>{/dede:trim}
    {dede:trim}
{/dede:trim}

    {dede:function}{/dede:function}

  {/dede:note}

  {dede:note field='dede_archives.source' value='[var:内容]' comment='文章来源'
   isunit='' isdown=''}

    {dede:match}来源:[var:内容] | 作{/dede:match}
        {dede:trim}]*)>{/dede:trim}
    {dede:trim}
{/dede:trim}

    {dede:function}{/dede:function}

  {/dede:note}

  {dede:note field='dede_archives.pubdate' value='[var:内容]' comment='发布时间'
   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:内容]' comment='排序级别'
   isunit='' isdown=''}

    {dede:match}{/dede:match}

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

  {/dede:note}

  {dede:note field='dede_archives.litpic' value='[var:内容]' comment='缩略图'
   isunit='' isdown=''}

    {dede:match}{/dede:match}

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

  {/dede:note}

  {dede:note field='dede_archives.senddate' value='[var:内容]' comment='录入时间'
   isunit='' isdown=''}

    {dede:match}{/dede:match}

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

  {/dede:note}
{/dede:art}
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
2 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Repo: How To Revive Teammates
4 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
4 weeks ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

17 ways to solve the kernel_security_check_failure blue screen 17 ways to solve the kernel_security_check_failure blue screen Feb 12, 2024 pm 08:51 PM

Kernelsecuritycheckfailure (kernel check failure) is a relatively common type of stop code. However, no matter what the reason is, the blue screen error causes many users to be very distressed. Let this site carefully introduce 17 types to users. Solution. 17 solutions to kernel_security_check_failure blue screen Method 1: Remove all external devices When any external device you are using is incompatible with your version of Windows, the Kernelsecuritycheckfailure blue screen error may occur. To do this, you need to unplug all external devices before trying to restart your computer.

Where can I change my Meituan address? Meituan address modification tutorial! Where can I change my Meituan address? Meituan address modification tutorial! Mar 15, 2024 pm 04:07 PM

1. Where can I change my Meituan address? Meituan address modification tutorial! Method (1) 1. Enter Meituan My Page and click Settings. 2. Select personal information. 3. Click the shipping address again. 4. Finally, select the address you want to modify, click the pen icon on the right side of the address, and modify it. Method (2) 1. On the homepage of the Meituan app, click Takeout, then click More Functions after entering. 2. In the More interface, click Manage Address. 3. In the My Shipping Address interface, select Edit. 4. Modify them one by one according to your needs, and finally click to save the address.

Understand common application scenarios of web page redirection and understand the HTTP 301 status code Understand common application scenarios of web page redirection and understand the HTTP 301 status code Feb 18, 2024 pm 08:41 PM

Understand the meaning of HTTP 301 status code: common application scenarios of web page redirection. With the rapid development of the Internet, people's requirements for web page interaction are becoming higher and higher. In the field of web design, web page redirection is a common and important technology, implemented through the HTTP 301 status code. This article will explore the meaning of HTTP 301 status code and common application scenarios in web page redirection. HTTP301 status code refers to permanent redirect (PermanentRedirect). When the server receives the client's

iCloud storage full notification: How to fix it iCloud storage full notification: How to fix it Apr 24, 2024 pm 04:43 PM

Does your iPhone show "iCloud Storage Full" whenever you download some files or airdrop something? The free plan of iCloud storage is limited to only 5GB. Therefore, the first thing you should check is the current iCloud storage situation on your phone. If there is still enough storage space and you receive a notification, these solutions will help you troubleshoot. Fix 1 – Delete iCloud Backup Remove the existing version of iCloud backup from your phone settings. Step 1 – Open Settings. Step 2 – You will find your Apple ID at the top of the Settings panel. Click on it to open it. Step 3 – Turn on “iCloud” to open iCloud settings. Step 4 – Down

What is a router address assignment lease? What is a router address assignment lease? Feb 19, 2024 pm 11:37 PM

Router is one of the very important devices in the network, which plays the role of connecting multiple devices and transmitting data. In the configuration of the router, an important parameter is the address lease time (AddressLeaseTime), whose significance is crucial for network connection and management. This article will introduce in detail the meaning and function of router address lease. The address lease period refers to the time period that the router gives the connected device an IP address. After each device is connected to the router, it will automatically obtain a temporary IP address. This address will last for a certain period of time.

How to uninstall Skype for Business on Win10? How to completely uninstall Skype on your computer How to uninstall Skype for Business on Win10? How to completely uninstall Skype on your computer Feb 13, 2024 pm 12:30 PM

Can Win10 skype be uninstalled? This is a question that many users want to know, because many users find that this application is included in the default program on their computers, and they are worried that deleting it will affect the operation of the system. Let this website help users Let’s take a closer look at how to uninstall Skype for Business in Win10. How to uninstall Skype for Business in Win10 1. Click the Windows icon on the computer desktop, and then click the settings icon to enter. 2. Click "Apply". 3. Enter "Skype" in the search box and click to select the found result. 4. Click "Uninstall". 5

How to implement HTTP streaming using C++? How to implement HTTP streaming using C++? May 31, 2024 am 11:06 AM

How to implement HTTP streaming in C++? Create an SSL stream socket using Boost.Asio and the asiohttps client library. Connect to the server and send an HTTP request. Receive HTTP response headers and print them. Receives the HTTP response body and prints it.

What are the Chinese Bitcoin trading platforms? Bitcoin Forex Trading Platform! What are the Chinese Bitcoin trading platforms? Bitcoin Forex Trading Platform! Feb 05, 2024 am 09:09 AM

What are the Chinese Bitcoin trading platforms? Bitcoin Forex Trading Platform! With the rise and widespread application of Bitcoin, China has become one of the largest Bitcoin trading markets in the world. In China, there are many Bitcoin trading platforms that provide investors with convenient and safe Bitcoin trading services. This article will provide an in-depth analysis of China’s Bitcoin trading platforms and introduce some Bitcoin foreign exchange trading platforms. 1. Classification of Bitcoin trading platforms China’s Bitcoin trading platforms can be divided into two categories: centralized trading platforms and decentralized trading platforms. Centralized trading platforms refer to platforms operated by a company or institution. These platforms usually have relatively complete trading systems and trading tools, and provide a wealth of trading varieties and trading functions. Common centralized trading platforms include Huobi, Coin

See all articles