XML with iPhone app !

Posted by totato on Stack Overflow See other posts from Stack Overflow or by totato
Published on 2010-05-04T15:09:56Z Indexed on 2010/05/04 15:18 UTC
Read the original article Hit count: 198

Filed under:
|

hi .. I just work on web-based application for iPhone, And I try to retrieve data from my website to my app. can I edit XML code for my website as I want to be in my iPhone app? for example, XML for my website is:

<item>
<title>Announcement title</title>
<link>iphone feed</link>
<description>Announcement type</description>
<category>Students</category>
<pubDate>April 5, 2010, 12:50 pm</pubDate>
  <guid>iphone feed</guid>
</item>

but I can't retrieve all of this to the tableview in my app. So, I will edit the code to be like this:

<item>
 <category name="staff">
<Announcement title="welcome back">
<description>
      hope all of you enjoy in the vacation, and welcome back to university
</description>
</Announcement>
</category>
</item>

Is this the right way?

© Stack Overflow or respective owner

Related posts about Xml

Related posts about iphone