<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>

CC BY-SA 4.0
2021-04-16T00:31:40.893Z
2021-04-16T00:31:40.893Z
Tyssen
<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>

CC BY-SA 4.0
2021-04-16T00:18:05.787Z
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`.
Tyssen
<plugin-feedme>
Importing content from EE with FeedMe leaves some data out
# Importing content from EE with FeedMe leaves some data out

(Asked by: username_0 on 2021-04-14)

I've posted an issue 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:


  
    1
    1
    166
    email@gmail.com
    Newsletter - October 2017
    newsletter-october-2017
    166
    1506996780
    1
    <p>October appears to be…</p>
    
    
    
      News 1
      <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>
      News 2
      <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>
      Modding News
      https://www.domain.com/images/content/news/image1.jpg
      <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>
      News 3
      <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>
      https://www.domain.com/images/content/news/image2.jpg
      <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>
    
  


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} 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.

  News 1
  <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>


---

