Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 06-30-2009, 06:16 AM   #1 (permalink)
New Member
 
Join Date: Mar 2009
Posts: 7
Question Retrieving info from various services

I see numerous applications that retrieve information from various services. For example, applications tracking the progress of delivery of packages from a whole bunch of services, such as DHL, UPS, and many more. So far, I have been unable to find open protocols for retrieving this sort of information. So, how do they do it? Do they have "connections"? Do they simply parse the HTML pages that report this kind of information to users? Any ideas? Also interested in retrieving (and making changes to) information on mobile phone accounts.

Thank you.
dsable is offline   Reply With Quote
Old 06-30-2009, 11:54 AM   #2 (permalink)
Senior Member
iPhone Dev SDK Supporter
 
smasher's Avatar
 
Join Date: Jul 2008
Location: San Mateo, CA (San Fran)
Posts: 3,858
Default

Quote:
Originally Posted by dsable View Post
I see numerous applications that retrieve information from various services. For example, applications tracking the progress of delivery of packages from a whole bunch of services, such as DHL, UPS, and many more. So far, I have been unable to find open protocols for retrieving this sort of information. So, how do they do it? Do they have "connections"? Do they simply parse the HTML pages that report this kind of information to users? Any ideas? Also interested in retrieving (and making changes to) information on mobile phone accounts.

Thank you.
Many large web sites such as Amazon and Ebay provide "API"s of their own that allow you to query their data - usually by sending a http request and getting XML in return, which you can read with NSXMLParser. Others (usually news/info sites) provide daily RSS feeds that informy you of new content.

It's dangerous to parse the HTML directly - any change to the site's design could break your program.
__________________

Free Games!
smasher is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 920
14 members and 906 guests
7twenty7, ala2005, apatsufas, astalavista, davidcoderlab, donlucacorleone, JordanCahill, leticiatroutman, lzwasyc, marshusensei, marWIN77, nikhil, TheWebWizz, watermelonvodka
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,478
Threads: 89,092
Posts: 380,125
Top Poster: BrianSlick (7,091)
Welcome to our newest member, marWIN77
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 04:21 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0