appcelerator

Appcelerator: Handling Remote Data with HTTPClient and XML RSS P. 2

In this screencast (part 2 of this series) we will learn how to use HTTPClient data to connect to our remote server, and read data populated by MySQL into an XML RSS feed. We will then take that data and parse it into a table in clean form for use within our appcelerator application. You can use this code to read any RSS feed or generate your own data to read into your application.

8 thoughts on “Appcelerator: Handling Remote Data with HTTPClient and XML RSS P. 2

  1. What did you use to create XML document?
    also, I don’t have a website and a server. But I am thinking to create an XML document and put it into dropbox’s public folder and copy the public URL and put it into the code. Will that work? But for that I have to create XML document can you please tell me what you used?

  2. Hi Anthony,

    thanks for this tutorial – awsome as always!
    When re-building your tutorial I noticed two things:

    #1: At 18:17 you pasted the “var doc = this.responseXML.documentElement;”-line before the “win.add(tableview);”
    I think that isn’t necessary. Please correct me if I’m wrong.

    #2: Sometimes I was running in some exceptions saying e.g. “this is not a vaild function” or something else. I solved this by deleting the “build” folder at the root of my project e.g. myproject/build/iphone/build* (* That’s the folder to delete). That forced Titanium to start a full rebuild and the exceptions dissapeared…

    Keep going…

  3. Sure, that’s actually what we did. Appcelerator connected to the web server xml which was created by a php script.

Leave a Reply

Your email address will not be published. Required fields are marked *