Traditional Culture Encyclopedia - Weather inquiry - How does delphi get the weather forecast? Ask experts for advice.

How does delphi get the weather forecast? Ask experts for advice.

Access to the weather forecast needs to be connected to the network, and the idea is as follows:

1. Reach a website through HTTP protocol to get weather forecast information, which is in XML or HTML format.

2. Analyze data in XML or HTML format and weather forecast information.

Show it

For example, just get/,parse and display its information.

But when the data format of this website is updated, you should also update your parsing processor.