Hi there I am wanting to make a personal rain radar application with information from my local weather service website.
I would like to have only the rain radar display in my application that you are able to see in this link
http://www.metservice.com/national/maps-rain-radar/rain-radar/auckland
I am wondering if it is possible to call the images from and create my own little player. I used googles source viewer and have figured out which parts of the code contain the images but I’m just not sure how I could make use of them.


any help would be greatly appreciated
You’ve got a fair amount of work ahead of you, but this would be a good learning experience.
First, you’ll need to obtain the contents of the web page in HTML form. Apple has a tutorial demonstrating how to use
NSURLRequestandNSURLConnectionto do so:URL Loading System Programming Guide
Once you have obtained the data from that link, you can skip creating an
NSString, and just jump right into an XML parser. Though, if you do need to create a string for other uses, you can use:Once you have the HTML data, you can use an XML parser to look through the HTML and find the URLs of the images you want to display:
The
NSXMLParserclass reference would be of help in determining how to traverse the HTML:NSXMLParser Class Reference
Once you have parsed the URLs and have them, you can actually create the
NSImageobjects with the URLs, and they will lazily load from the web page: