How does one regularly retrieve news from the Internet and store it locally? Delphi/Windows SDK/API
Http://www.delphi2007.net/DelphiNetwork/html/delphi_20061214154538128.html
How does one regularly retrieve news from the Internet and store it locally?
Example: http://www.ah.xinhuanet.com/
Every morning at AM, I regularly extract 10 pieces of news in the middle and store them in the database?
The first time I did this kind of work, I was a little confused!
No one? Online waiting
Up someone may say the page number of the analysis
1. Download the news homepage to your local device.
2. Use bsalas embeddedwb for analysis
3. Analyze the latest news
4. I made a self-check for sports.tom.com/nba. I only need to check the information of the Rocket. I have not read the information automatically downloaded and asked me to prompt me. You can set the number of minutes to refresh.
RSS aggregation for websites
1. Use XMLHTTP to open the homepage of a news website
2. Find the news link page on the page based on the website features
3. Use XMLHTTP to download the page and parse the page content and save it to your local device.
The website features and Resolution Methods of news pages are best recorded in text files. For example, regular expressions are used to adapt to website adjustments.