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

CC BY-SA 3.0
2016-06-29T12:54:39.080Z
Hi @AbbeyDesign, Thanks for your reply. I'm gonna test FeedMe with your export script.
Martijn La Feber
CC BY-SA 3.0
2016-06-29T12:02:25.397Z
2016-06-29T12:02:25.397Z
AbbeyDesign
<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>

<import><plugin-feedme><plugin-import>
How do I create a well formed CSV or XML to succesfully import entries with assets and categories?
# 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!

    
        
            My product title
            my-product-title
            <p>My body text</p>
            
                
                    http://www.mywebsite.nl/root/path/image1.png,
                    http://www.mywebsite.nl/root/path/image2.png
                
            
            
                
                   Lightning,
                   Cities,
                   Standard,
                   Special

**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_date format="{DATE_ATOM}"}
    {title}
    {url_title}
    {product_price}
    {product_dimensions}
    {product_description}
    {private_notes}
    {product_location:title}
    {product_number}
    {product_message}{option}, {/product_message}
    {status}
    {categories}{category_name}, {/categories}

     
    {finalproductimages}
        {filename}.{extension},
    {/finalproductimages}

     
    {finalproductimages limit="1"}
        {filename}.{extension},
    {/finalproductimages}

> **Comments:**
> **username_0**: Hi @username_1, Thanks for your reply. I'm gonna test FeedMe with your export script.  

---

