How to regularly obtain news information through a news collection program-php Tutorial

Source: Internet
Author: User
About how to regularly obtain news information through the news collection program. This post was last edited by jiang396 from 2012-12-1712: 39: 00. Project Introduction: create a collection program, the ability to regularly obtain the latest news from the rss news list. But the rss content is occasionally released, so you need to regularly scan the rss list through the program. how can I write the timer program? Php & nbsp; or & nbsp; js? In addition, this post describes how to regularly obtain news information through the news collection program.

This post was last edited by jiang396 at 12:39:00 on

Project Introduction: develop a collection program to regularly obtain the latest news from the rss news list.

But the rss content is occasionally released, so you need to regularly scan the rss list through the program. how can I write the timer program? Php or js? In addition, do you need to keep the background page open for the program to maintain the ** seconds timer function? if you disable this page, is there no way to keep the timer from the background?


------ Solution --------------------
I recommend that you use the train collection software and install it on the server. you can keep it on. The locomotive collection function is very powerful
------ Solution --------------------
Cron periodically executes the script and caches the URL into the database to check whether the script is updated.
------ Solution --------------------
This can be triggered during user access.

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.