1

I am new to drupal. To import xml data into drupal, i followed these steps given in this website which i mentioned it below.

http://www.drupalprogrammer.co.uk/2012/12/use-feeds-module-to-import-xml-data-in.html

After doing all these things, it shows "There are no new nodes."

Can any one pls give me an idea or solution to import xml data into drupal 7.26?

  • 1
    Possible duplicate of Nodes being imported from the Feed module not being published. Also, please edit your question to make it independent on external resources. Tell us what you did. Don't ask us to go and read manuals outside Drupal Answers and Drupal.org - content there can change or disappear without warning rendering your questions or our answers nonsense. That's something we don't want to see happening. – Mołot Feb 28 '14 at 9:44
  • Feeds is successfully used by over 60000 sites. Instead of looking for an alternative straight away, I would try to solve the problem you are having with feeds. Do you have any content when you go to the admin content listing at /admin/content ? – rooby Mar 15 '14 at 2:52
  • Feeds can be a bit difficult / tricky to set up at first – the first time I used it it took me hours/days to bend it the way I needed it. Then importing 10k nodes went quite smoothly. It's worth digging deeper … – tillinberlin Apr 6 '15 at 11:30
0

Feeds is a very old way to import contents into Drupal. You must use the Migrate module (with Migrate extras) for import all type of contents from some different sources. Read the base migrate documentation (https://drupal.org/migrate) and after that try this: https://drupal.org/node/1152156 This is the better approach for import somethings (the module is integrated in Drupal 8 for its power)

|improve this answer|||||
  • 1
    This is not true at all. Feeds is still perfectly acceptable for importing from xml. In some cases migrate is better and in some cases feeds is better. It depends what you need to do. – rooby Mar 15 '14 at 2:48
  • 1
    Feeds has a lot of problems with Entity Translations and File Entity. Migrated and migrated extras instead solve these problems – Cristian Mar 15 '14 at 16:08
  • But the question says nothing about translations and is importing nodes, not file entities. and the way you have worded your answer says "You must use the migrate module..." and that feeds is no good anymore because it is old, neither of which are true. You would be better to mention in your answer these things that the migrate module potentially does better, but they are still both very valid approaches. Also the feeds module is still actively maintained even though it has been around for a while. – rooby Mar 16 '14 at 0:58
  • 1
    Also, full entity handling has now been added to the feeds module so it should work for file entities. I have used it for other entity api entities via the data module in the past by using the patch that has now been committed. There are also a number of issues in progress for translation support so that is something that will likely come at some point. - There is also the fact the the migrate module is enormously more complex to use than feeds and is not really accessible to non coders because you have to code your migrations, you can't just click around the UI. – rooby Mar 16 '14 at 1:03
0

The problem is with the Context, it will be "/Orders/Order", change it and nodes will be imported. This will solve the problem.

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.