Answers.Body: <p>I have found that the best format for me is XML, it's easy to write and read. I've moved a number of EE2 sites to Craft by writing export templates using XML and importing into Craft with Feedme.</p>
  <p>It's relatively simple, but can be tedious and time consuming as there are often tweaks needed either in the XML or the feedme settings.</p>
  <p>I have a blog article I wrote a while ago that may help. <a href="https://caffeinecreations.ca/blog/importing-entries-into-a-multi-lingual-craft-cms-website/" rel="nofollow noreferrer">Importing Entries into a Multi Lingual Craft CMS Website</a></p>
  <p>I did not use the Smart Export Pro plugin but wrote my XML export templates by hand, I wasn't aware of that this existed.</p>
  <hr />
  <p>I haven't used Content Elements but you say that it is similar to Craft Matrix so in that case I would look at the docs for importing into a Matrix field.https://docs.craftcms.com/feed-me/v4/guides/importing-into-matrix.html#setup-your-feed.</p>
  <p>I have used this once to import into Craft 3 from a Craft 2 site with the code below. You should be able to use this as a model for your EE feed that you want to put into a Craft matrix. Below is the relevant bit from a larger feed.</p>
  <pre class="lang-xml prettyprint-override"><code>    &lt;recollection_asset_type_matrix&gt;
        {% for block in entry.recollectionAssetType %}
          &lt;matrix_block&gt;
            {% switch block.type %}
  
              {# video #}
              {% case &quot;video&quot; %}
                &lt;subtitle_file&gt;{{ block.subtitleFile.first().url() }}&lt;/subtitle_file&gt;
                &lt;subtitle_label&gt;&lt;![CDATA[{{ block.subtitleLabel }}]]&gt;&lt;/subtitle_label&gt;
                &lt;vimeo_url&gt;&lt;![CDATA[{{ block.vimeoFilmURL }}]]&gt;&lt;/vimeo_url&gt;
                &lt;runtime&gt;&lt;![CDATA[{{ block.runTime }}]]&gt;&lt;/runtime&gt;
                &lt;poster_image&gt;{{ block.posterImage.first().url() }}&lt;/poster_image&gt;
              
              {# picture gallery #}
              {% case &quot;pictureGallery&quot; %}
                &lt;gallery_bg_image&gt;{{ block.backgroundImage.first().url() }}&lt;/gallery_bg_image&gt;
                &lt;gallery_audio_file&gt;{{ block.audioFile.first().url() }}&lt;/gallery_audio_file&gt;
                &lt;gallery_images&gt;
                  {% for image in block.images %}
                    &lt;image&gt;{{ image.url() }}&lt;/image&gt;
                  {% endfor %}
                &lt;/gallery_images&gt;
              
              {# memoir #}
              {% case &quot;memoir&quot; %}
                &lt;memoir_tagline&gt;&lt;![CDATA[{{ block.tagline }}]]&gt;&lt;/memoir_tagline&gt;
                &lt;memoir_bg_image&gt;{{ block.backgroundImage.first().url() }}&lt;/memoir_bg_image&gt;
                &lt;memoir_copy&gt;&lt;![CDATA[{{ block.copy }}]]&gt;&lt;/memoir_copy&gt;
                &lt;memoir_audio_file&gt;{{ block.audioFile.first().url() }}&lt;/memoir_audio_file&gt;
  
            {% endswitch %}
          &lt;/matrix_block&gt;
        {% endfor %}
      &lt;/recollection_asset_type_matrix&gt;
  </code></pre>
  <p>Unfortunately this import is long done so I am unable to take screenshots of the feedme settings.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-03-23T12:23:16.323Z
Answers.LastActivityDate: 2021-03-23T12:23:16.323Z
Answers.UserDisplayName: CreateSean
Body: <p>I've been asked to export some data from an old EEv2 site into a Craft site. I thought I should be able to export the data from EE into CSV or XML and then use FeedMe to import it.</p>
  <p>But one of the fields on the EE site was using Content Elements which is similar to Matrix or the EE Fluid field.</p>
  <p>So before I convert that data into a format that is compatible with EE6, I need to know what format it should be in to get it into Craft.</p>
  <p>The Content Elements field was made of headings, an Assets field, a pill field which set alignment for the image, and a Wygwam (RTE) field.</p>
  <p>Is the best option to set this up as a Matrix field in EE? Or would I be better using a Fluid field?</p>
  <p>Also, has anyone done any exports from EE to Craft using <a href="https://devot-ee.com/add-ons/smart-export-pro" rel="nofollow noreferrer">Smart Export</a> which involved Matrix fields in Craft? If so, any things to look out for?</p>
  
Tags: <assets><plugin-feedme><import>
Title: Importing data from an old EE site
ThreadText: # Importing data from an old EE site
  
  (Asked by: username_0 on 2021-03-23)
  
  I've been asked to export some data from an old EEv2 site into a Craft site. I thought I should be able to export the data from EE into CSV or XML and then use FeedMe to import it.
  
  But one of the fields on the EE site was using Content Elements which is similar to Matrix or the EE Fluid field.
  
  So before I convert that data into a format that is compatible with EE6, I need to know what format it should be in to get it into Craft.
  
  The Content Elements field was made of headings, an Assets field, a pill field which set alignment for the image, and a Wygwam (RTE) field.
  
  Is the best option to set this up as a Matrix field in EE? Or would I be better using a Fluid field?
  
  Also, has anyone done any exports from EE to Craft using [Smart Export](https://devot-ee.com/add-ons/smart-export-pro) which involved Matrix fields in Craft? If so, any things to look out for?
  
  **Tags:** assets, plugin-feedme, import
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2021-03-23. Score: 3 | Accepted answer
  
  I have found that the best format for me is XML, it's easy to write and read. I've moved a number of EE2 sites to Craft by writing export templates using XML and importing into Craft with Feedme.
  
  It's relatively simple, but can be tedious and time consuming as there are often tweaks needed either in the XML or the feedme settings.
  
  I have a blog article I wrote a while ago that may help. [Importing Entries into a Multi Lingual Craft CMS Website](https://caffeinecreations.ca/blog/importing-entries-into-a-multi-lingual-craft-cms-website/)
  
  I did not use the Smart Export Pro plugin but wrote my XML export templates by hand, I wasn't aware of that this existed.
  
  ---
  
  I haven't used Content Elements but you say that it is similar to Craft Matrix so in that case I would look at the docs for importing into a Matrix field.https://docs.craftcms.com/feed-me/v4/guides/importing-into-matrix.html#setup-your-feed.
  
  I have used this once to import into Craft 3 from a Craft 2 site with the code below. You should be able to use this as a model for your EE feed that you want to put into a Craft matrix. Below is the relevant bit from a larger feed.
  
  ```xml
      <recollection_asset_type_matrix>
        {% for block in entry.recollectionAssetType %}
          <matrix_block>
            {% switch block.type %}
  
              {# video #}
              {% case "video" %}
                <subtitle_file>{{ block.subtitleFile.first().url() }}</subtitle_file>
                <subtitle_label><![CDATA[{{ block.subtitleLabel }}]]></subtitle_label>
                <vimeo_url><![CDATA[{{ block.vimeoFilmURL }}]]></vimeo_url>
                <runtime><![CDATA[{{ block.runTime }}]]></runtime>
                <poster_image>{{ block.posterImage.first().url() }}</poster_image>
              
              {# picture gallery #}
              {% case "pictureGallery" %}
                <gallery_bg_image>{{ block.backgroundImage.first().url() }}</gallery_bg_image>
                <gallery_audio_file>{{ block.audioFile.first().url() }}</gallery_audio_file>
                <gallery_images>
                  {% for image in block.images %}
                    <image>{{ image.url() }}</image>
                  {% endfor %}
                </gallery_images>
              
              {# memoir #}
              {% case "memoir" %}
                <memoir_tagline><![CDATA[{{ block.tagline }}]]></memoir_tagline>
                <memoir_bg_image>{{ block.backgroundImage.first().url() }}</memoir_bg_image>
                <memoir_copy><![CDATA[{{ block.copy }}]]></memoir_copy>
                <memoir_audio_file>{{ block.audioFile.first().url() }}</memoir_audio_file>
  
            {% endswitch %}
          </matrix_block>
        {% endfor %}
      </recollection_asset_type_matrix>
  
  ```
  
  Unfortunately this import is long done so I am unable to take screenshots of the feedme settings.
  
  
  ---
  
  