I'm not sure where I should ask this question, but I'm trying to pull in only certain information from a site. For example, if I want to get weather only and display it on my site what is the best way to go about doing it?
Go to the site that your going to pull the information from and look for the procedures to do that. They normally have that well defined with examples etc.
And if they don't then you'll just need to parse the results. Examine the source code and you should be able to find a pattern that will work for you, something that only appears once on the page like "<td>Current Temperature: xxx</td>". Then you can use either the InStr function or a regular expression to find the right spot and extract the information.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.