php - What is the easiest way to integrate iPhone app with Web Sites that don't have web service -


I'm about to offer an iPhone app for travel agency. They probably use web services, but if I can not do what is the easiest way to integrate the iPhone app, which reads and sends data to a website without web service. The site is built with php (I do not know php is a java guy). What can I do for this? Clients A travel agency has a website to make hotels

You can connect to the site and its HTML You can still use NSURLConnection to get it. All you need to do is keep a good parser which can deal with the website and use the browser as a person.

If the site is not cooperating with you, then this is not really a good idea. Either it breaks the terms of their service or they can randomly change their site and your app will break, generally it is not because they are trying to break your app - they are not about it They know, and they're just trying to keep their site up to date.

If you are collaborating, you do not need to go far as a SOAP webservice - or even a complicated API that does not even require them to just have PHP Parsing is easy and it is not guaranteed to change.


Comments

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -