Hello,
This would be nice to be able to redo the import process. Is it a feature you are interested in? What do you think?
Thanks
Hello,
This would be nice to be able to redo the import process. Is it a feature you are interested in? What do you think?
Thanks
Comments
Comment #1
tomsm commentedYou mean update the nodes?
Comment #2
benoit.borrel commented@tomsm #1
I was meaning a way to re-submit the execution of the import in order to have the nodes imported again.
For example, it would be useful in the following scenario:
Hope I replied to your question and my idea is clear this time.
Comment #3
Robrecht Jacques commentedYes that feature is planned. The way I see it is that:
- you create a task and it imports
- there are errors (or you are not happy with the result)
- ability to edit the task parameters
- abilty to then either redo the import completely (deleting the created nodes) or to attempt to import the rows with errors only.
Your usage is a bit different, but fits within the same feature.
Also planned (but even longer term) is to be able to edit the data of rows with errors and then retry the import.
Note that there are a number of problems though... eg when redoing the import would we want the same nids or not? This may be possible once imports that can update nodes is possible. But the "allow updates" is also a longer term planned feature.
Setting it as postponed for now.
Comment #4
John Gentilin commentedRobrecht,
I posted this issue a while back http://drupal.org/node/422282 still waiting
for feedback to see if this is approach is in good "drupal" form...
I have been using Node_Import to "redo" the import for a while now.. by
creating a separate module that is 10 lines long.. This approach requires
no changes to the node_import module and should be compatible with
Drupal 6 as well as 5..
Also this approach could easily be folded back into the node_import module
if we added the ability to choose unique columns as part of the option phase.
but I butchered the Options form.. I need a little help on how options work..
If there is interest, I would be willing to make this a generic function and
submit it to the node_import project..
-John G