Hi - I suspect this might be a bit of a newbie question, but I don't think it's been asked before.
When I import a XML feed as nodes, it creates the correct number of pages, but they are all identical - same title, same body, everything! No errors are generated and it's obviously reading the XML source.
If I run the import a second time a new set of nodes is imported. So in a feed of 50 nodes, these two imports result in 100 identical nodes.
The same thing happens whether I use a feed I generated myself (http://xmlout8qgqug4vzd.devcloud.acquia-sites.com/xml-export) or the CD catalog example on the W3C website (http://www.w3schools.com/xml/cd_catalog.xml), so this must be caused by the way I've configured the import.
I've exported my feed import config from the module - if someone has a chance to look at it, I'd be very grateful to find out how I've misconfigured it.
Many thanks in advance.
Comment | File | Size | Author |
---|---|---|---|
Test Feed config.txt | 2.89 KB | Martin Reed |
Comments
Comment #1
Sorin Sarca CreditAttribution: Sorin Sarca commentedHi,
your paths must be relative to "Parent path" (in xml reader settings).
So, if you parent path is "/nodes/node", the path for title field will be just "Title", for field_information will be just "Body" and so on.
Comment #2
Martin Reed CreditAttribution: Martin Reed commentedAha - that fixed it.
Many thanks for the swift response, Sorin, and for such a great module.
Martin.