Can Feeds be used to update pre-existing Drupal content rather than merely to import new content?

If not, would it be theoretically possible for me to use Feeds to do this without too much fuss?

If so, may I suggest that this fact be made more apparent on the Feeds module info and docs pages?

The use case here is that I'm building an Ubercart store for a friend. He previously was using Magento, which apparently has a feature which allows him to export his products as a CSV file, which he can then edit with a spreadsheet program to adjust prices and whatnot and then re-import into his Magento store to update his products. I've been asked if it would be possible to replicate this functionality with Drupal/Ubercart, and I'm wondering if Feeds could help me out with that.

Comments

Garrett Albright’s picture

Category: feature » support

If not, would it be theoretically possible for me to use Feeds to do this without too much fuss?

Let me clarify that: Would it be possible for me to write a module which uses Feeds' API to do this without too much fuss?

alex_b’s picture

Status: Active » Closed (fixed)

Content = nodes?

Take a look at plugins/FeedsNodeProcessor.inc - right now, this plugin "updates" existing content by completely overriding it with new information. This means merging is not supported.

You will most likely have to do some codding. FeedsNodeProcessor may be a good starting point, it can be easily extended. To get yourself aquainted with the Feeds API, use the handbook: http://drupal.org/node/622696