title: Getting XML File Into Parse.Com Class
body: <p>I am trying to take a directory that is currently an RSS in XML format, and upload it as a class into Parse.com.  The structure of the XML is:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"&gt;
      &lt;channel&gt;
          &lt;atom:link rel="self" type="application/rss+xml" href="http://www.316apps.com/NewallaSermons/Directory.xml" /&gt;
          &lt;lastBuildDate&gt;Thu, 16 Aug 2012 09:26:14 -0500&lt;/lastBuildDate&gt;
          &lt;title&gt;Newalla Church of Christ Directory&lt;/title&gt;
          &lt;description&gt;&lt;![CDATA[Directory of Members for Newalla Church of Christ]]&gt;&lt;/description&gt;
  
          &lt;language&gt;en&lt;/language&gt;
          &lt;copyright&gt;2012 Newalla Church of Christ&lt;/copyright&gt;
  
          &lt;item&gt;
              &lt;title&gt;Last Name&lt;/title&gt;
              &lt;description&gt;First Name&lt;/description&gt;
              &lt;author&gt;Address&lt;/author&gt;
              &lt;comments&gt;Phone Number&lt;/comments&gt;
              &lt;link&gt;&lt;/link&gt;
  &lt;pubDate&gt;Sun, 09 Sep 2012 18:00:00 -0500&lt;/pubDate&gt;
          &lt;/item&gt;
          &lt;item&gt;
              &lt;title&gt;Another Last Name&lt;/title&gt;
              &lt;description&gt;Another First Name&lt;/description&gt;
              &lt;author&gt;Another Address&lt;/author&gt;
              &lt;comments&gt;Another Phone Number&lt;/comments&gt;
              &lt;link&gt;&lt;/link&gt;
  &lt;pubDate&gt;Sun, 09 Sep 2011 18:00:00 -0500&lt;/pubDate&gt;
          &lt;/item&gt;
  
      &lt;/channel&gt;
  &lt;/rss&gt;
  </code></pre>
  
  <p>Parse.com allows importing of JSON or CSV Files.  I have used an online converter for the JSON file, but when I import it, everything comes out as one row in the Parse table, instead of one row for each item.  It basically puts all after results into one line.  Suggestions?</p>
  
  <p>The format of my JSON is:</p>
  
  <pre><code>{
      "results": [
          {
              "rss": {
                  "channel": {
                      "link": [
                          {
                              "_rel": "self",
                              "_type": "application/rss+xml",
                              "_href": "http://www.316apps.com/NewallaSermons/Directory.xml",
                              "__prefix": "atom"
                          },
                          "http://www.316apps.com"
                      ],
                      "lastBuildDate": "Thu, 16 Aug 2012 09:26:14 -0500",
                      "title": "Newalla Church of Christ Directory",
                      "author": {
                          "__prefix": "itunes",
                          "__text": "Newalla Church of Christ"
                      },
                      "generator": "Podcast Maker v1.4.1 - http://www.lemonzdream.com/podcastmaker",
                      "description": {
                          "__cdata": "Directory of Members for Newalla Church of Christ"
                      },
                      "summary": {
                          "__prefix": "itunes",
                          "__text": "Directory of Members for Newalla Church of Christ"
                      },
                      "language": "en",
                      "copyright": "2012 Newalla Church of Christ",
                      "item": [
                          {
                              "title": "First Name",
                              "description": "Last Name",
                              "author": "Address",
                              "comments": "Phone",
                              "link": "",
                              "pubDate": "Sun, 09 Sep 2012 18:00:00 -0500"
                          },
                          {
                              "title": "Another Last Name",
                              "description": "Another First",
                              "author": "Another Address",
                              "comments": "Another Phone",
                              "link": "",
                              "pubDate": "Sun, 09 Sep 2011 18:00:00 -0500"
                          },
  
                  "_xmlns:itunes": "http://www.itunes.com/dtds/podcast-1.0.dtd",
                  "_xmlns:atom": "http://www.w3.org/2005/Atom",
                  "_version": "2.0"
              }
          }
      ]
  }
  </code></pre>