In devel, I noticed that no fields were being loaded

feedapi_field_inherit (Array, 1 element)
fields (Array, 0 elements)

I also noticed that in
function feedapi_field_inherit_nodeapi(&$node, $op, $a3 = NULL, $a4 = NULL)

That case 'insert' is empty:
if (feedapi_enabled_type($node->type)) {
switch ($op) {
case 'insert':

I thought this was just me not understanding the module, but now I think it is not working.

1Create a node type, my_node
2. add a content type, field_my_contenttype
3. add a cck field, field_my_cck
4. create a feed type, my_feed
5. add a content type from my_node, field_my_contenttype
6. add a cck field from my_node, field_my_cck
7. goto feed item created by my_feed
8. view feedapi field inherit drop down
9 it is EMPTY. there should be field_my_cck and field_my_contenttype there.

Am I missing something?

thanks,
Chris

Comments

ademarco’s picture

When you enable FeedAPI you get the content type "Feed". This content type contains the feed URL from where the different feed items will be fetched and mapped into different nodes, using FeedAPI Element Mapper.

Now, let's say you want to aggregate news from Times magazine feed and map each of them in a different node of type "News". The purpose of this module is to let every "News" node to inherit one or more fields from the "Feed" node.

Imagine you have one feed about fashion and one about sports: you create a CCK field called "News Type" containing "Fashion", "Sport", "Politic", etc... and you add it to BOTH "Feed" and "News" content type. Now, in the "Feed" node referring to sport you select "Sport" in "News Type" and you check the "News Type" in the Feed Inherent fieldset as field to be inherited from the "Feed". In case of a fashion feed you'll select "Fashion".

At this point all the new "News" nodes created from "Feed" will inherent the "News Type" value.

Hope this helps.

markmainsail’s picture

Category: bug » support

I followed the steps you outline above.

I've made sure that the inherit feature is selected for all feeds
-created a field 'category'
-made this required for the feed content type
-added the field to the node type that the feed creates
-created a new feed.
-assigned a category--the new field in action.
-refreshed the feed.

the individual feed items have not inherited the category. The checkbox list of choices appears in editing of the feed item but it is not selected. And the view i've created which filters based on the category can not recognize the field items unless i manually assign each one a category.

have i missed something? thankyou.

Also, I've found that the publish/not publish does not inherit either. All feed items are published regardless of whther the feed itself is set to be published or not published. Again, have i missed something??

whatdoesitwant’s picture

Creating a field on the feed content type and adding same field on the item content type seems to allow feedapi_field_inherit to do its job when i set up a new feed. What I do not seem to be able to do is having feedapi_field_inherit work its magic for the default title field. Is feedapi_field_inherit not able to do so or am i doing something wrong (as usual)?

abhax’s picture

Hey people,

here hows you do it dude.

first go to taxanomy and select edit the vocabulary and select the feed and content type where you want to inhert the taxanomy. eg blog
and make it required.

no need to create a new field for it dude.

after that just select the

FeedAPI Inherit - pass on taxonomy, author, language and organic group information from feed to feed items.
Feed item nodes inherit taxonomy settings from parent feed.
Feed item nodes will be authored by the same user as the parent feed.

make sure feed inherit module enabled and that should pretty much do it for inheriting taxanomy from parent feed.

hope it helps