You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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[News 3]]></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 4]]></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.
Additional info
Craft version: 3.6.11.2
PHP version: 7.3.5
Database driver & version: MySQL 5.7.28
Plugins & versions: FeedMe, Field Manager, Redactor, VZ URL
The text was updated successfully, but these errors were encountered:
Description
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:
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:
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.Additional info
The text was updated successfully, but these errors were encountered: