Home >CMS Tutorial >Empire CMS >How does Empire CMS collect information?

How does Empire CMS collect information?

藏色散人
藏色散人Original
2019-12-12 09:10:484279browse

How does Empire CMS collect information?

How does Empire CMS collect information?

Empire cms is a website building system that we use PHP a lot. During the website building process, if you don’t have an information source, you can only rely on manual repeated copying and pasting, which is time-consuming and labor-intensive, so We will use the collection function that comes with Empire CMS to complete the entry of information. In order to have an in-depth understanding of the imperial cms collection function, let's take the "Sina Local News" column as an example to conduct actual collection.

1. Add collection nodes

1. Add nodes:

How does Empire CMS collect information?

2. Select the column to be added for collection:

How does Empire CMS collect information?

3. Enter the add node form:

How does Empire CMS collect information?

#4. Give a name in the node name box, and then enter the Sina to be collected. Copy the address of the news list from various places:

How does Empire CMS collect information?

5. When you come down, you will find many options, such as "Collect page address method two, content page address prefix..." Ignore him first. I will explain them one by one in detail later, and go directly to the "Information Link Area Regularity":

How does Empire CMS collect information?

#6. Here is the list of information link area regularities to set up for collection. We click to view all places in Sina News list "source file":

How does Empire CMS collect information?

7. Copy the source file code to Dreamweaver, and select the information link area to be collected in Dreamweaver :

How does Empire CMS collect information?

8. Switch to Dreamweaver code mode,

is the information link area:

How does Empire CMS collect information?

9. Get the information link area regular rules:

How does Empire CMS collect information?

10. Get the information page link regular rules:

How does Empire CMS collect information?

11. Note: If the information page link is a relative address, for example, then the "content page address prefix" must add the domain name:

How does Empire CMS collect information?

##12. Now we need to collect the title and content of the content page:

How does Empire CMS collect information?

## 13. View the "source file" of the news page and look for the title tag:

How does Empire CMS collect information?14. Obtain the title rule:

How does Empire CMS collect information?15. Here is the content area to be collected:

How does Empire CMS collect information?16. Get news content regular:

How does Empire CMS collect information? (Note: d_id='*' in the news content regular uses a wildcard, because each news The d_id value is different, so you can use * to replace it, "*" can replace any character.)

17. Click the submit button to complete the entire collection node:

How does Empire CMS collect information?

2. Check whether the preview collection node is correct

1. Return to the management node after submitting the button:

2. Click "Preview" to collect and enter the node preview results:

How does Empire CMS collect information?

3. Collection content page list:

How does Empire CMS collect information?

4. Collection content page page:

How does Empire CMS collect information?

##3. Collection

1. After previewing the collection node, return "Management Node", click the "Start Collection" link to start collection:

How does Empire CMS collect information?

2. The system is collecting:

How does Empire CMS collect information?

3. After the collection is completed, the local temporary storage information is displayed. At this time, the temporary storage information can be modified or deleted:

How does Empire CMS collect information?

4. Modify information page As shown in the picture:

How does Empire CMS collect information?

5. Review the collected information and put it into the database, click the "Input all information button":

How does Empire CMS collect information?

6. Confirm operation:

How does Empire CMS collect information?

7. Information storage completion prompt:

How does Empire CMS collect information?

Information storage After finishing, come down and click "Manage Information":

How does Empire CMS collect information?

We can see the news information just collected and stored:

How does Empire CMS collect information?

Finally, go to "Data Update" to refresh the home page, columns, and content pages to complete the website information collection.

The above is the detailed content of How does Empire CMS collect information?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
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