Skip to main content
deleted 1 character in body
Source Link
Viktor
  • 319
  • 2
  • 10

I'm trying to import book objects from the XML file you can see XML file Here. I will tell step by step what I did to achieve this, so it would be easier to help me.

  1. Created a Book content type with all the corresponding fields from the XML file
  2. Installed Feeds importer and XPath parser modules with their dependant modules
  3. Created a Feed importer called bookImport
  4. In the Basic settings I attached it to Book content type
  5. The fetcher is a default one - HTTP
  6. For parser I chose XPath XML parser
  7. Processor is Node. As I want to create new Nodes for every single book
  8. In the Node processor settings I chose Book bundle and everything else is left as it was by default.
  9. In the mapping I mapped all the xpathparser:0* source values to target ones from Book content type.

When trying to import, in the XPath Parser Settings for context I put book and leave everything (all the other book fields empty), I turn on my error messages and after cliclkingclicking Import I get these two lines:

context :
There are no new nodes.

I've been trying to solve this for 2 days now without any luck, any help would be highly appreciated and I hope my post is informative enough, if there is something missing, please let me know and I will update!

I'm trying to import book objects from the XML file you can see XML file Here. I will tell step by step what I did to achieve this, so it would be easier to help me.

  1. Created a Book content type with all the corresponding fields from the XML file
  2. Installed Feeds importer and XPath parser modules with their dependant modules
  3. Created a Feed importer called bookImport
  4. In the Basic settings I attached it to Book content type
  5. The fetcher is a default one - HTTP
  6. For parser I chose XPath XML parser
  7. Processor is Node. As I want to create new Nodes for every single book
  8. In the Node processor settings I chose Book bundle and everything else is left as it was by default.
  9. In the mapping I mapped all the xpathparser:0 source values to target ones from Book content type.

When trying to import, in the XPath Parser Settings for context I put book and leave everything (all the other book fields empty), I turn on my error messages and after cliclking Import I get these two lines:

context :
There are no new nodes.

I've been trying to solve this for 2 days now without any luck, any help would be highly appreciated and I hope my post is informative enough, if there is something missing, please let me know and I will update!

I'm trying to import book objects from the XML file you can see XML file Here. I will tell step by step what I did to achieve this, so it would be easier to help me.

  1. Created a Book content type with all the corresponding fields from the XML file
  2. Installed Feeds importer and XPath parser modules with their dependant modules
  3. Created a Feed importer called bookImport
  4. In the Basic settings I attached it to Book content type
  5. The fetcher is a default one - HTTP
  6. For parser I chose XPath XML parser
  7. Processor is Node. As I want to create new Nodes for every single book
  8. In the Node processor settings I chose Book bundle and everything else is left as it was by default.
  9. In the mapping I mapped all the xpathparser:* source values to target ones from Book content type.

When trying to import, in the XPath Parser Settings for context I put book and leave everything (all the other book fields empty), I turn on my error messages and after clicking Import I get these two lines:

context :
There are no new nodes.

I've been trying to solve this for 2 days now without any luck, any help would be highly appreciated and I hope my post is informative enough, if there is something missing, please let me know and I will update!

Source Link
Viktor
  • 319
  • 2
  • 10

Can't import from XML using Feeds importer and XPath parser

I'm trying to import book objects from the XML file you can see XML file Here. I will tell step by step what I did to achieve this, so it would be easier to help me.

  1. Created a Book content type with all the corresponding fields from the XML file
  2. Installed Feeds importer and XPath parser modules with their dependant modules
  3. Created a Feed importer called bookImport
  4. In the Basic settings I attached it to Book content type
  5. The fetcher is a default one - HTTP
  6. For parser I chose XPath XML parser
  7. Processor is Node. As I want to create new Nodes for every single book
  8. In the Node processor settings I chose Book bundle and everything else is left as it was by default.
  9. In the mapping I mapped all the xpathparser:0 source values to target ones from Book content type.

When trying to import, in the XPath Parser Settings for context I put book and leave everything (all the other book fields empty), I turn on my error messages and after cliclking Import I get these two lines:

context :
There are no new nodes.

I've been trying to solve this for 2 days now without any luck, any help would be highly appreciated and I hope my post is informative enough, if there is something missing, please let me know and I will update!