I have tried this module but find it lacks anything of use for my purpose. I work for a company with thousands upon thousands of records. We use xpath to build imports because csv's will remove all the body formatting. With xpath or csv it would be almost impossible with ten domains and thousands of records to build out a spreadsheet to import. This makes it useless for my purpose which is sad because it is so needed in the community. Have you thought of a mapping by name instead and one field called domain? I know that will not resolve the multi domain issue as easily, but a comma separated list that is expanded with feeds tamper should resolve that issue. Then any sort of import export can be built with views only instead of needing to manually tweak a csv file.
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | domain_feeds-multiple-2300331-6.patch | 1.48 KB | eric_a |
| #5 | domain_feeds-multiple-2300331-5.patch | 1.24 KB | eric_a |
Comments
Comment #1
eric_a commentedPerhaps something like the attached patch. Note that this is untested and in its current form depends on #2240163: Make domain_feeds work with the latest release of feeds.
Comment #2
eric_a commentedOops, my last-minute target name change from "domains" to "domains:multiple" wasn't fully implemented.
Comment #3
eric_a commentedNow only processing existing domains.
Comment #4
eric_a commentedNow both explicitly setting and unsetting domains.
Comment #5
eric_a commentedOops.
Comment #6
eric_a commentedHere's a version that adds support for mapping to users as well.
Comment #9
jim.m commented@Eric_A thanks for the patch. I've rewritten it a little, but generally your idea isn't touched. I've also noted that we don't check for entity type in our hook_feeds_processor_targets_alter implementation and in case of both user and node targets it would bring some confusion, so I've refactored the method a little bit and added checking code for it.
Comment #10
eric_a commentedThanks!
I'll try to do a reroll of #2240163: Make domain_feeds work with the latest release of feeds soon.