Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How does Imperial cms collect Information

2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

This article mainly introduces how the Imperial cms collects information, which has certain reference value and can be used for reference by friends who need it. I hope you will learn a lot after reading this article. Next, let the editor take you to learn about it.

How does Imperial cms collect information?

Imperial cms is a station building system that we use a lot of PHP. In the process of building a station, if we do not have a source of information, we can only rely on repeated copy and pasting by hand, which is time-consuming and laborious, so we have to use the collection function of Imperial cms to complete the information entry. In order to gain an in-depth understanding of the Imperial cms collection function, let's take the "Sina News" column as an example to conduct actual combat collection.

First, add acquisition nodes

1. Add nodes:

2. Select the columns to be collected:

3. Enter the add Node form:

4. Choose a name in the node name box, and then copy the address of the news list from various parts of Sina to be collected:

5. Come down and find many options, such as "collect page address mode 2, content page address prefix." Ignore him first, and then explain them in detail one by one, and go directly to the "Information Link area regularity" here:

6. Here is the regular link area of the collected list information. We click to view the news list "Source File" of Sina:

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

8. Switch to Dreamweaver code mode

Is the information link area:

9. Get the regular link area of the information:

10. Get the regular link on the information page:

11. Note: if the information page link is a relative address, for example, the "content page address prefix" should be added with a domain name:

12. Now you want to collect the title and content of the content page:

13. Check the news page "Source File" and find the title tag:

14. Get the title rule:

15. Here is the content area to be collected:

16. Obtain news content rules:

(note: in the news content rule, wildcard characters are used in the news content rule. Because the did value of each story is different, you can use * instead of it, and "*" can replace any character. )

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

Second, whether the preview collection node is correct

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

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

3. List of collected content pages:

4. Collect content page:

III. Collection

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

2. The system is collecting:

3. After collection, the local temporary storage information is displayed, and the temporary storage information can be modified or deleted:

4. Modify the information page as shown in the figure:

5. Review the collected information and enter it into the database, and click "enter all Information Button":

6. Determine the action:

7. Prompt after the information has been stored:

After the information has been stored, click "manage Information":

We can see the news information that has just been collected into the database:

Finally, refresh the home page, column, and content page to "data Update" to complete the information collection of the website.

Thank you for reading this article carefully. I hope it will be helpful for everyone to share how Imperial cms collects information. At the same time, I also hope you will support us, pay attention to the industry information channel, and find out if you have any problems. Detailed solutions are waiting for you to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report