Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
I'd like to use the csv to import nodes with their authors by username. Currently, you can achieve this by using Mapping for Node processor to add a source field for uid to the csv. It'd be nice if you could also do this by username. The only other way to do this by username is in the node processor settings, and it only allows one username per batch, either specific author or anonymous. Anyway, it's just a nice to have as the essential functionality is already there.
Comment | File | Size | Author |
---|---|---|---|
#11 | user_name_and_email_targets-1241754-11.patch | 1.35 KB | Robin Monks |
#2 | 1241754-user-name-and-email-targets.patch | 1.37 KB | twistor |
Comments
Comment #0.0
j0e CreditAttribution: j0e commentedclarification
Comment #0.1
j0e CreditAttribution: j0e commentedfurther clarification since functionality does exist via mapping
Comment #1
j0e CreditAttribution: j0e commentedI'm changing my posted issue to (very) minor, since the functionality already exists in some capacity. It's something to bear in mind though for future updates to the module since variable authorship is not readily apparent from the node processor page, but is available through uid in mapping. At the very least, this post will serve as a tutorial for people searching for how to implement this. Thanks for this excellent module.
Comment #2
twistor CreditAttribution: twistor commentedAdded in mapping to email as well.
Comment #3
twistor CreditAttribution: twistor commentedComment #4
j0e CreditAttribution: j0e commentedGreat, thanks, will have to check this out.
Comment #5
Shawn DeArmond CreditAttribution: Shawn DeArmond commentedYes. Wicked awesome. Perfect. Cool. Just what I need.
Please commit!
Comment #6
franzLooks nice, but I'm pretty sure there was another issue on this too.
Comment #7
franzMarked #1189000: submitting patch to map to username OR user ID OR current user in same field as duplicate of this.
Comment #8
franzPatch is failing latest code, needs reroll.
Comment #9
Robin Monks CreditAttribution: Robin Monks commentedI like this patch, I like it a lot. Why isn't it committed yet? >.>
Comment #10
franzEr... Can you read my comment above?
Comment #11
Robin Monks CreditAttribution: Robin Monks commentedApparently I am blind, sorry; hope this makes up for blindness, rough re-roll for testing.
Comment #12
franzThanks, committed.
Comment #14
twistor CreditAttribution: twistor commentedbackport to 6.x
http://drupalcode.org/project/feeds.git/commit/3e6afa9
Comment #14.0
twistor CreditAttribution: twistor commentedclarification