Answers.Body: <p>So the answer was that each of my blocks needed to be wrapped by another element, e.g.</p>
  <pre><code>&lt;modularContent&gt;
    &lt;block&gt;&lt;blockHeading&gt;&lt;![CDATA[News 1]]&gt;&lt;/blockHeading&gt;&lt;/block&gt;
    &lt;block&gt;&lt;blockContent&gt;&lt;![CDATA[&lt;p&gt;Lorem ipsum dolor sit amet, consectetur adipisicing elit. Iure rerum in tempore sit ducimus doloribus quod commodi eligendi ipsam porro non fugiat nisi eaque delectus harum aspernatur recusandae incidunt quasi.&lt;/p&gt;]]&gt;&lt;/blockContent&gt;&lt;/block&gt;
  &lt;/modularContent&gt;
  </code></pre>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-04-16T00:31:40.893Z
Answers.LastActivityDate: 2021-04-16T00:31:40.893Z
Answers.UserDisplayName: Tyssen
Body: <p>I've posted <a href="https://github.com/craftcms/feed-me/issues/835" rel="nofollow noreferrer">an issue</a> on the FeedMe repo, but I'm not sure whether that's the correct place for it. Also, there are quite a few issues on there with no reply for a few weeks.</p>
  <p>The problem I'm having is I'm importing some data from an EE channel that contains a fluid field into a Craft section that has a matrix field and some of the data isn't being imported and the order of rows is wrong too. This is an example of what I'm trying to import:</p>
  <pre><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
  &lt;entries&gt;
    &lt;entry&gt;
      &lt;count&gt;1&lt;/count&gt;
      &lt;total_results&gt;1&lt;/total_results&gt;
      &lt;unique&gt;166&lt;/unique&gt;
      &lt;author&gt;email@gmail.com&lt;/author&gt;
      &lt;title&gt;&lt;![CDATA[Newsletter - October 2017]]&gt;&lt;/title&gt;
      &lt;url_title&gt;newsletter-october-2017&lt;/url_title&gt;
      &lt;entry_id&gt;166&lt;/entry_id&gt;
      &lt;entry_date&gt;1506996780&lt;/entry_date&gt;
      &lt;status&gt;1&lt;/status&gt;
      &lt;summary&gt;&lt;![CDATA[&lt;p&gt;October appears to be…&lt;/p&gt;]]&gt;&lt;/summary&gt;
      &lt;forumThread&gt;&lt;/forumThread&gt;
      &lt;coverImage&gt;&lt;/coverImage&gt;
      &lt;modularContent&gt;
        &lt;blockHeading&gt;&lt;![CDATA[News 1]]&gt;&lt;/blockHeading&gt;
        &lt;blockContent&gt;&lt;![CDATA[&lt;p&gt;Lorem ipsum dolor sit amet, consectetur adipisicing elit. Iure rerum in tempore sit ducimus doloribus quod commodi eligendi ipsam porro non fugiat nisi eaque delectus harum aspernatur recusandae incidunt quasi.&lt;/p&gt;]]&gt;&lt;/blockContent&gt;
        &lt;blockHeading&gt;&lt;![CDATA[News 2]]&gt;&lt;/blockHeading&gt;
        &lt;blockContent&gt;&lt;![CDATA[&lt;p&gt;Lorem ipsum dolor sit amet, consectetur adipisicing elit. Iure rerum in tempore sit ducimus doloribus quod commodi eligendi ipsam porro non fugiat nisi eaque delectus harum aspernatur recusandae incidunt quasi.&lt;/p&gt;]]&gt;&lt;/blockContent&gt;
        &lt;blockHeading&gt;&lt;![CDATA[Modding News]]&gt;&lt;/blockHeading&gt;
        &lt;blockImage&gt;https://www.domain.com/images/content/news/image1.jpg&lt;/blockImage&gt;
        &lt;blockContent&gt;&lt;![CDATA[&lt;p&gt;Lorem ipsum dolor sit amet, consectetur adipisicing elit. Iure rerum in tempore sit ducimus doloribus quod commodi eligendi ipsam porro non fugiat nisi eaque delectus harum aspernatur recusandae incidunt quasi.&lt;/p&gt;]]&gt;&lt;/blockContent&gt;
        &lt;blockHeading&gt;&lt;![CDATA[News 3]]&gt;&lt;/blockHeading&gt;
        &lt;blockContent&gt;&lt;![CDATA[&lt;p&gt;Lorem ipsum dolor sit amet, consectetur adipisicing elit. Iure rerum in tempore sit ducimus doloribus quod commodi eligendi ipsam porro non fugiat nisi eaque delectus harum aspernatur recusandae incidunt quasi.&lt;/p&gt;]]&gt;&lt;/blockContent&gt;
        &lt;blockImage&gt;https://www.domain.com/images/content/news/image2.jpg&lt;/blockImage&gt;
        &lt;blockContent&gt;&lt;![CDATA[&lt;p&gt;Lorem ipsum dolor sit amet, consectetur adipisicing elit. Iure rerum in tempore sit ducimus doloribus quod commodi eligendi ipsam porro non fugiat nisi eaque delectus harum aspernatur recusandae incidunt quasi.&lt;/p&gt;]]&gt;&lt;/blockContent&gt;
      &lt;/modularContent&gt;
    &lt;/entry&gt;
  &lt;/entries&gt;
  </code></pre>
  <p>With the above, the matrix field is being populated with all of the images first, then all of the text content, and none of the headings.</p>
  <p>I'm pretty sure all the mapping is correct. The heading block shows up and I've assigned it to blockHeading.</p>
  <p>I'm also getting the following error relating to the date:</p>
  <blockquote>
  <p>News: Date parse error: 1506996780 - Could not parse '1506996780': DateTime::__construct(): Failed to parse time string (1506996780) at position 8 (8): Unexpected character.</p>
  </blockquote>
  <p>In EE, that's being output by <code>&lt;entry_date&gt;{entry_date}&lt;/entry_date&gt;</code> which is the same as a feed template I did for another channel that imports in Craft with no errors.</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-04-16T00:18:05.787Z
Comments.Text: The date formatting issue is solved by getting EE to output dates in one of the formats that FeedMe specifies like `mm/dd/yyyy` rather than choosing `auto`.
Comments.UserDisplayName: Tyssen
Tags: <plugin-feedme>
Title: Importing content from EE with FeedMe leaves some data out
ThreadText: # Importing content from EE with FeedMe leaves some data out
  
  (Asked by: username_0 on 2021-04-14)
  
  I've posted [an issue](https://github.com/craftcms/feed-me/issues/835) on the FeedMe repo, but I'm not sure whether that's the correct place for it. Also, there are quite a few issues on there with no reply for a few weeks.
  
  The problem I'm having is I'm importing some data from an EE channel that contains a fluid field into a Craft section that has a matrix field and some of the data isn't being imported and the order of rows is wrong too. This is an example of what I'm trying to import:
  
  ```
  <?xml version="1.0" encoding="UTF-8"?>
  <entries>
    <entry>
      <count>1</count>
      <total_results>1</total_results>
      <unique>166</unique>
      <author>email@gmail.com</author>
      <title><![CDATA[Newsletter - October 2017]]></title>
      <url_title>newsletter-october-2017</url_title>
      <entry_id>166</entry_id>
      <entry_date>1506996780</entry_date>
      <status>1</status>
      <summary><![CDATA[<p>October appears to be…</p>]]></summary>
      <forumThread></forumThread>
      <coverImage></coverImage>
      <modularContent>
        <blockHeading><![CDATA[News 1]]></blockHeading>
        <blockContent><![CDATA[<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Iure rerum in tempore sit ducimus doloribus quod commodi eligendi ipsam porro non fugiat nisi eaque delectus harum aspernatur recusandae incidunt quasi.</p>]]></blockContent>
        <blockHeading><![CDATA[News 2]]></blockHeading>
        <blockContent><![CDATA[<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Iure rerum in tempore sit ducimus doloribus quod commodi eligendi ipsam porro non fugiat nisi eaque delectus harum aspernatur recusandae incidunt quasi.</p>]]></blockContent>
        <blockHeading><![CDATA[Modding News]]></blockHeading>
        <blockImage>https://www.domain.com/images/content/news/image1.jpg</blockImage>
        <blockContent><![CDATA[<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Iure rerum in tempore sit ducimus doloribus quod commodi eligendi ipsam porro non fugiat nisi eaque delectus harum aspernatur recusandae incidunt quasi.</p>]]></blockContent>
        <blockHeading><![CDATA[News 3]]></blockHeading>
        <blockContent><![CDATA[<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Iure rerum in tempore sit ducimus doloribus quod commodi eligendi ipsam porro non fugiat nisi eaque delectus harum aspernatur recusandae incidunt quasi.</p>]]></blockContent>
        <blockImage>https://www.domain.com/images/content/news/image2.jpg</blockImage>
        <blockContent><![CDATA[<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Iure rerum in tempore sit ducimus doloribus quod commodi eligendi ipsam porro non fugiat nisi eaque delectus harum aspernatur recusandae incidunt quasi.</p>]]></blockContent>
      </modularContent>
    </entry>
  </entries>
  
  ```
  
  With the above, the matrix field is being populated with all of the images first, then all of the text content, and none of the headings.
  
  I'm pretty sure all the mapping is correct. The heading block shows up and I've assigned it to blockHeading.
  
  I'm also getting the following error relating to the date:
  
  > News: Date parse error: 1506996780 - Could not parse '1506996780': DateTime::\_\_construct(): Failed to parse time string (1506996780) at position 8 (8): Unexpected character.
  
  In EE, that's being output by `<entry_date>{entry_date}</entry_date>` which is the same as a feed template I did for another channel that imports in Craft with no errors.
  
  **Tags:** plugin-feedme
  
  > **Comments:**
  > **username_0**: The date formatting issue is solved by getting EE to output dates in one of the formats that FeedMe specifies like `mm/dd/yyyy` rather than choosing `auto`.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2021-04-16. Score: 1 | Accepted answer
  
  So the answer was that each of my blocks needed to be wrapped by another element, e.g.
  
  ```
  <modularContent>
    <block><blockHeading><![CDATA[News 1]]></blockHeading></block>
    <block><blockContent><![CDATA[<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Iure rerum in tempore sit ducimus doloribus quod commodi eligendi ipsam porro non fugiat nisi eaque delectus harum aspernatur recusandae incidunt quasi.</p>]]></blockContent></block>
  </modularContent>
  
  ```
  
  
  ---
  
  