Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
I created this small patch for enabling entityreference fields as a feed source.
I know there is another issue about better feeds integration, but that seems to focus on the targets side.
This one only focusses on the source, so you can select the id of a entityreference field on the parent feed node.
And this works... ;)
Can someone test this?
Cheers!
-- Tom
Comment | File | Size | Author |
---|---|---|---|
#4 | 1831328-entityreference-feed-source-4.patch | 1.89 KB | betz |
#1 | 1831328-entityreference-feed-source.patch | 1.36 KB | betz |
Comments
Comment #1
betz CreditAttribution: betz commentedand the patch...
Comment #3
kclarkson CreditAttribution: kclarkson commentedAm I okay to test a patch that has failed ?
Comment #4
betz CreditAttribution: betz commentedIs this one ok?
Created with drush iq, so i guess should be...
Comment #5
betz CreditAttribution: betz commentedComment #6
Rustan CreditAttribution: Rustan commentedThis does not work for me on current dev. Nothing breaks, I just do not get the imported fields together with the rest of the data.
Edit: I think I'm using it wrong, I wanted the other patch.
Comment #7
held69 CreditAttribution: held69 commentedThanks Tom for this patch!
Tested on 7.x-1.1 and 7.x-1.x-dev
Tried importing rss feeds as groupcontent.
Mapping seems to work: Nodes seem to get imported as groupcontent.
Inhereting the groupaudience field.
However getting a warning:
Comment #8
jweirather CreditAttribution: jweirather commentedIn case anybody else is looking for this functionality, I found what I was looking for in the Feeds Entity Reference module. In my case, I was able to map Organic Groups reference fields from a source node to target feed items using the Feeds Entity Reference module. See also my comment in the second link for more info.
https://www.drupal.org/project/feeds_entityreference
https://www.drupal.org/node/2069201#comment-9448275
Comment #9
SocialNicheGuru CreditAttribution: SocialNicheGuru commentedthanks @jweirather. I wasted hours trying to find a work around.