Import Custom XML To FeedArmy

Import Custom XML To FeedArmy

In this article, I will explain how to import custom xml files to FeedArmy.

Which elements are currently supported?

  • simple elements
    • (<title>my title</title>)
  • custom namespace elements
    • <g:title>my title</g:title>
  • custom nested elements and simple nested elements
    • <images><image>image.jpg</image></images>
    • <g:images><g:image>image.jpg</g:image></g:images>

How to setup custom XML elements?

Step 1

Login to FeedArmy and go to Import Tools > XML

In the setup tab, choose custom from the XML Namespace drop down.

Than add your remote XML url, the file name does not have to end with .xml, as long as the file is declared xml it can be imported.

If you have .htaccess password protected your remote XML file, you can add the credentials to gain access.

Choose your Target Country

FeedArmy XML Custom Setup


Custom Elements

Step 2

Click on the tab custom elements, to begin mapping to attributes.


First add your loop container, in most cases this will be item or entry.

FeedArmy Custom XML Element Container


Mapping Simple Elements

If you have simple elements, than add the name of the element and than choose a target mapping. For example, my xml element is title and the target attribute is title.

FeedArmy Custom XML Adding Elements


Mapping Name Spaced Elements

When you have a name spaced element, simply add the namespace colon and element. For example g:title and the target attribute is title.


Mapping Nested Elements

Each nested element needs to be identified with a hyphen and more than arrow. The correct symbol will be ->

For example if we want to collect a nested simple image within the parent images you should type the following images->image

The same applies to name spaced elements g:images->g:image

Than map to the correct attribute

FeedArmy Custom XML Nested Elements


You can add more elements by clicking on add another element.

Save your settings and begin importing the products under Import Tools > Fetch & Schedule

What’s Next?

  1. Import Rules
  2. Update Rules
  3. Exclude Products
  4. Fetch & Schedule
  5. You can edit your products via multiple methods
    1. Manual Editing
    2. Search & Replace
    3. Bulk Import CSV
  6. The final step, connect your data feed to Google Shopping

Need Help?