With the addition of the functionality to inherit taxonomy properties, author, etc. #632920: Inherit properties from parent feed node (taxonomy, author, OG, language), I would like to start a formal request for the ability for feed items to inherit CCK properties.

For example, if my parent feed has a CCK Link field associated with it, then I should be able to create a CCK Link field for my feed items whose value is automatically inherited from the value of the parent feed.

Comments

michelle’s picture

Version: 6.x-1.0-beta5 » 6.x-1.x-dev

Putting in my +1 for this feature. Not sure how useful that is when I'm not providing a patch but, if nothing else, you know there's more than one person wanting this. :)

Michelle

PS: Changed the version because it's too late to put a feature into beta 5.

twistor’s picture

Status: Active » Needs review
StatusFileSize
new2.82 KB

I think this is rather simple. Working for me currently. Really exciting stuff if I do say so myself.

brycesenz’s picture

twistor,

Thanks a ton for the patch, but currently I cannot get it to work. I have patched Feeds beta9 (and verified that the patch correctly modified the original file), as well as run updates, cleared my caches, etc.

However, when I go to edit the mapping on my current node importers, I still just see three options -
Feed node: Taxonomy
Feed node: User ID
XPath Expression

Is there some other action which I need to take? For reference, I am using Drupal 6.19, Feeds beta9, and the latest version of Feeds XPath Parser (September 29 release).

brycesenz’s picture

Ah, scratch that last post. No sooner did I hit reply than it dawned on me that I was trying to use a Content Taxonomy CCK field and not a core CCK field.

I have since experimented with a CCK text field and as of now it seems to be working correctly. But yeah, Content Taxonomy terms don't play nice as of yet.

Thanks again for the patch!!

Anonymous’s picture

New patch needed for the latest Dev?

twistor’s picture

StatusFileSize
new2.65 KB

Re-rolled.

webdrips’s picture

Hi.

Any recommendation on inheriting nodereference CCK fields?

Thanks,

Dan

brisath’s picture

Subscribing

michelle’s picture

@brisath: Please just use the "Follow" button so you don't email everyone on the issue.

Michelle

Anonymous’s picture

Is there a such feature for D7? :)
I ask but without doubt I know the answer ;o'(

dakke’s picture

subscribe

+1 for nodereference inheritance

arkjoseph’s picture

Subscribe

+1 for d7 feeds xml with cck mapping patch.

thomjjames’s picture

Issue summary: View changes

Hi,

Was wondering what the status of this was too, did inheriting fields make it into the Drupal 7 version?

Cheers
Tom

AntiNSA’s picture

Can someone please update this patch to work with the 2015-Apr-10 dev version? I really need to inherit links, and other cck fields. Very badly. Thanks.

AntiNSA’s picture

If this doesnt work on the d6 version, what version doesit work on? Beta 3 is listd as table, but AFAIKbeta 3 does not inherit taxonomy and group settings... is that correct?

megachriz’s picture

Issue tags: +Needs reroll

If the patch no longer applies, then it probably needs a reroll.

AntiNSA’s picture

I would greatly appreciate it. If anyone has the knowledge, on dev and beta 13 I can see the custom cck fields to be mapped to, however I can not see the custom content fields to map from in the mappings settings, even though the fields exist on the feed import content type.

megachriz’s picture

Issue tags: -Needs reroll

Apparently, the patch still applies on the latest dev.

To test:

  1. Download the latest dev of Feeds 6.x-1.x.
  2. Apply the patch from #6.
  3. On a D6 site, enable Feeds, Feeds Admin UI and Feeds News.
  4. Add a text field to the Feed node type.
  5. Add the same field to the Feed item node type.
  6. Edit the Feeds importer "Feed" that was created by the Feeds News feature.
  7. Go to the mapping settings.
  8. Map source "Feed Node: Text" to target "Text".
  9. Add a Feed node, set a value for the text field and fill in the feed URL field.

After import, you'll see that for each created Feed item node the text field will contain the same value as the Feed node's text field.

twistor’s picture

Status: Needs review » Closed (outdated)