Answers.Body: <p>I used FeedMe successfully and this is what I used. The images have to be already present as assets in Craft(ftp and then update asset indexes). Having the full url in the images part stumped me too. In this example I pulled the images twice because in my EE build I was using the first image of many to create a preview image and in craft I actually created a preview image field.</p>
  
  <pre><code>&lt;entry&gt;
      &lt;entry_date&gt;{entry_date format="{DATE_ATOM}"}&lt;/entry_date&gt;
      &lt;title&gt;{title}&lt;/title&gt;
      &lt;slug&gt;{url_title}&lt;/slug&gt;
      &lt;price&gt;{product_price}&lt;/price&gt;
      &lt;dimensions&gt;{product_dimensions}&lt;/dimensions&gt;
      &lt;description&gt;{product_description}&lt;/description&gt;
      &lt;notes&gt;{private_notes}&lt;/notes&gt;
      &lt;location&gt;{product_location:title}&lt;/location&gt;
      &lt;number&gt;{product_number}&lt;/number&gt;
      &lt;message&gt;&lt;![CDATA[{product_message}{option}, {/product_message}]]&gt;&lt;/message&gt;
      &lt;status&gt;{status}&lt;/status&gt;
      &lt;category&gt;&lt;![CDATA[{categories}{category_name}, {/categories}]]&gt;&lt;/category&gt;
  
      &lt;images&gt;&lt;![CDATA[ 
      {finalproductimages}
          {filename}.{extension},
      {/finalproductimages}]]&gt;&lt;/images&gt;
  
      &lt;preview&gt;&lt;![CDATA[ 
      {finalproductimages limit="1"}
          {filename}.{extension},
      {/finalproductimages}]]&gt;&lt;/preview&gt;
  
  
  
  &lt;/entry&gt;
  </code></pre>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-06-29T12:54:39.080Z
Answers.Text: Hi @AbbeyDesign, Thanks for your reply. I'm gonna test FeedMe with your export script.
Answers.UserDisplayName: Martijn La Feber
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-06-29T12:02:25.397Z
Answers.LastActivityDate: 2016-06-29T12:02:25.397Z
Answers.UserDisplayName: AbbeyDesign
Body: <p>The source website is in ExpressionEngine and I know how to get data out, but I don't know how to structure it and succesfully import entries into Craft where assets and categories also imported. I have tried the plugin FeedMe (XML) and I also tried the plugin Import (SVG).</p>
  
  <p>How to work with categories and sub categories an how to use multiple assets with import? Thanks in advance!</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
      &lt;products&gt;
          &lt;entry&gt;
              &lt;title&gt;My product title&lt;/title&gt;
              &lt;slug&gt;my-product-title&lt;/slug&gt;
              &lt;body&gt;&lt;![CDATA[&lt;p&gt;My body text&lt;/p&gt;]]&gt;&lt;/body&gt;
              &lt;assets&gt;
                  &lt;![CDATA[
                      http://www.mywebsite.nl/root/path/image1.png,
                      http://www.mywebsite.nl/root/path/image2.png
                  ]]&gt;
              &lt;/assets&gt;
              &lt;category&gt;
                  &lt;![CDATA[
                     Lightning,
                     Cities,
                     Standard,
                     Special
                  ]]&gt;
              &lt;/category&gt;
          &lt;/entry&gt;
      &lt;/products&gt;
  </code></pre>
  
Tags: <import><plugin-feedme><plugin-import>
Title: How do I create a well formed CSV or XML to succesfully import entries with assets and categories?
ThreadText: # How do I create a well formed CSV or XML to succesfully import entries with assets and categories?
  
  (Asked by: username_0 on 2016-06-29)
  
  The source website is in ExpressionEngine and I know how to get data out, but I don't know how to structure it and succesfully import entries into Craft where assets and categories also imported. I have tried the plugin FeedMe (XML) and I also tried the plugin Import (SVG).
  
  How to work with categories and sub categories an how to use multiple assets with import? Thanks in advance!
  
  ```
  <?xml version="1.0" encoding="UTF-8"?>
      <products>
          <entry>
              <title>My product title</title>
              <slug>my-product-title</slug>
              <body><![CDATA[<p>My body text</p>]]></body>
              <assets>
                  <![CDATA[
                      http://www.mywebsite.nl/root/path/image1.png,
                      http://www.mywebsite.nl/root/path/image2.png
                  ]]>
              </assets>
              <category>
                  <![CDATA[
                     Lightning,
                     Cities,
                     Standard,
                     Special
                  ]]>
              </category>
          </entry>
      </products>
  
  ```
  
  **Tags:** import, plugin-feedme, plugin-import
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2016-06-29. Score: 2
  
  I used FeedMe successfully and this is what I used. The images have to be already present as assets in Craft(ftp and then update asset indexes). Having the full url in the images part stumped me too. In this example I pulled the images twice because in my EE build I was using the first image of many to create a preview image and in craft I actually created a preview image field.
  
  ```
  <entry>
      <entry_date>{entry_date format="{DATE_ATOM}"}</entry_date>
      <title>{title}</title>
      <slug>{url_title}</slug>
      <price>{product_price}</price>
      <dimensions>{product_dimensions}</dimensions>
      <description>{product_description}</description>
      <notes>{private_notes}</notes>
      <location>{product_location:title}</location>
      <number>{product_number}</number>
      <message><![CDATA[{product_message}{option}, {/product_message}]]></message>
      <status>{status}</status>
      <category><![CDATA[{categories}{category_name}, {/categories}]]></category>
  
      <images><![CDATA[ 
      {finalproductimages}
          {filename}.{extension},
      {/finalproductimages}]]></images>
  
      <preview><![CDATA[ 
      {finalproductimages limit="1"}
          {filename}.{extension},
      {/finalproductimages}]]></preview>
  
  </entry>
  
  ```
  
  > **Comments:**
  > **username_0**: Hi @username_1, Thanks for your reply. I'm gonna test FeedMe with your export script.  
  
  ---
  
  