Go Back   MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Jan 16, 2009, 10:21 PM   #1
Storm9
macrumors member
 
Join Date: Dec 2007
How to get data from website into my program?

Does anyone know how I can get data like say text from a website and use that in my program?
Storm9 is offline   0 Reply With Quote
Old Jan 16, 2009, 10:26 PM   #2
mcavjame
macrumors 65816
 
mcavjame's Avatar
 
Join Date: Mar 2008
Location: phased to this universe
Do you mean dynamically, or a one time copy?
__________________
potd
mcavjame is offline   0 Reply With Quote
Old Jan 16, 2009, 10:58 PM   #3
Storm9
Thread Starter
macrumors member
 
Join Date: Dec 2007
Quote:
Originally Posted by mcavjame View Post
Do you mean dynamically, or a one time copy?
dynamically, basically say I want to get stock quotes from finance.yahoo.com
Storm9 is offline   0 Reply With Quote
Old Jan 17, 2009, 01:23 PM   #4
dejo
Moderator
 
dejo's Avatar
 
Join Date: Sep 2004
Location: The Centennial State
Quote:
Originally Posted by Storm9 View Post
dynamically, basically say I want to get stock quotes from finance.yahoo.com
You can either use NSURLRequest to retrieve the HTML and then parse out what you need or you can see if they have some kind of XML feed (and use NSXMLParser) or a JSON feed (and use the JSON library that you can find references to floating around this forum).
dejo is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Some pointers needed on how to program a photo gallery website simsaladimbamba Web Design and Development 4 Mar 28, 2014 09:28 PM
Image editing program/website Tripron Mac Basics and Help 2 Nov 27, 2013 04:52 PM
Connecting Website Data to SequalPro saberahul Mac Programming 1 May 24, 2013 04:59 PM
More information from Safari Website Data Durrty iPhone Tips, Help and Troubleshooting 1 Jan 21, 2013 11:58 AM
App that Uses Data from Website RagingGoat iPhone/iPad Programming 4 Sep 5, 2012 02:25 PM

Forum Jump

All times are GMT -5. The time now is 05:51 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC