Get information from WebPage.
Posted
by william-hu
on Stack Overflow
See other posts from Stack Overflow
or by william-hu
Published on 2010-04-27T04:15:47Z
Indexed on
2010/04/27
4:33 UTC
Read the original article
Hit count: 226
I want to set up an app which can get the information from a particular web page. Then i display the value which got from that page to the iPhone user.
Detail:In the webpage on server ,there is the schedule for bus time. If the user input origin and terminus then show the user the time information(list on webpage) in a label. That's all.
What i have finished is : Open the iphone app, input two value(origin and terminus) to UITextField. Send the URL to server. Get the page, and show in UIWebView. What my problem next is how should i get the information form that page into another two labels to give the user about the bus time.
I have store data in my Array receiveData: self.receivedData = data;
I am not clear the data i received is XML or what? And how should i pick-up the value i want. (should i save the value to property list and the read the value?)
Thank you so much!
© Stack Overflow or respective owner