Upon creating a new feed, the feed node's body is blank (that is, the body of the parent feed node, not the feed items). In FeedAPI, this was populated with the channel description from the xml/rss feed. How can I get the same behaviour going in Feeds?

I'd really appreciate any suggestions on how I could implement this - or is it a bug that's preventing it from happening by default? I'd like solve it as I foresee the need to map other things like 'language' from feeds to my parent feed nodes...

(Though I'm not a great programmer, I did manage to successfully create a module which extends the Simplepie parser for my needs using the 'Developer's guide to Feeds' - so I may be able to crack this with a little help!)

Thanks for a great module.

Comments

liban’s picture

Version: 6.x-1.0-beta10 » 7.x-2.0-alpha3

Same issue with Feeds 7. I'm unable to get anything besides the title and the URL.

Thanks for your help

RobKoberg’s picture

Same problem. For me, this issue has something to do with Organic Groups' Organic groups field access module. When this module is enabled you cannot view or edit a node's body or other custom fields. Do you have that module enabled? This report is similar to mine at: http://drupal.org/node/1080276

nyah’s picture

I'm not using Organic Groups. Here's the site...
http://www.owlpod.com/
It's a free online podcast player/aggregator built to work on all platforms (e.g. iPad/iPhone/Android/etc).

At the moment, when someone adds a feed it doesn't populate the feed node body with the feed's description from the <description> tag. Once created, I don't have any problem manually editing the feed node and pasting in the description, though I would like this to be totally automated. Also, if the <description> tag was not present in the feed, the <itunes:summary> tag could be used instead. Where do I start to fix this?

RobKoberg’s picture

Perhaps it is another module. To debug, I would disable everything except what is enabled by a standard install and the modules necessary for feeds. Does it work then? If so, start re-enabling your modules, clearing cache (just in case) and checking your feed items to see when the body goes away.

Also, do you have devel installed? If so, you can go to an imported feed item, then go to the devel tab so you can drill down into the node object.

nyah’s picture

Thanks. I get the same result on a fresh install of Drupal 6.20.

Ooxo’s picture

Hi here is my 2 cents on this problem

After some research seems to me it links to this same problem [1056280]
Once I change the format "0" to "full_html", a "clear cache" and Voila the description appeared

UPDATE field_data_field_feed_item_description SET field_feed_item_description_format = replace( field_feed_item_description_format, '0', 'full_html' );
UPDATE field_revision_field_feed_item_description SET field_feed_item_description_format = replace( field_feed_item_description_format, '0', 'full_html' );

hope it helps

Of course you have to redo the operation each time a new feed is created.... told you only 2 cents ;)

nyah’s picture

Version: 7.x-2.0-alpha3 » 6.x-1.0-beta10

I think this solution is referring to a problem with feed item descriptions. The original post was regarding the description of the parent feed node.

TheHarbor’s picture

Version: 6.x-1.0-beta10 » 7.x-2.x-dev

I have the same question and am not sure why a seemingly common feature -- getting the Parent/Feed Channel data into the Parent/Feed Channel node -- does not seem to be mentioned anywhere.

The Feeds module creates a Parent/Feed Channel node and then Item/Child nodes. But only the Item/Child nodes seem to be automatically generated and mappable.

I do see mention of extending parsers and the automatic creation of (Parent?) node here: https://drupal.org/node/622700 but it is not clear (partially due to limits of terminology [see below]) how you can either:

-- A) extend the parser to modify the Parent/Feed Channel node and not the Child/Item Node...

-- or B) automatically populate the Parent/Feed Channel node while letting the module do all the normal Child/Item Node mapping it normally does as defined by the normal module admin set up.

1) Ideally, on the Basic Settings tab of the admin ui it should have some mapping for that Parent/Feed Channel node.

2) Failing that, it would be nice to extend code to programmatically and automatically update the Parent/Feed Channel info when first importing the feed.

3) Another note: using Rules module it is possible to get $source info upon import [using Feed's Rules-module-related patch] - this object includes the Parent/Feed Channel node id and some numerical info related to FeedsFetcherResult... though still sifting through whether I can take that FeedsFetcherResult numerical value and actually extract useable data from it to inject into that node id entity. If so, this might be a good solution.

Suggestion: Terminology Clarity

I'd also say that some simple updates to language on the module admin interface and on the documentation could drastically improve this module: clearly state what is a Parent/ Channel Node and what is a Child / Item Node.

In the admin interface: It is not overly clear in the 'Basic settings' that 'Attach to content type' is for the Parent/Channel node creation while the "Settings for Node processor"'s "Bundle" is for the Item Level node creation.

The same is true for this documentation: https://drupal.org/node/622700 and throughout issues filed.

Thanks for any help!

TheHarbor’s picture

Issue tags: +rules, +Feeds, +import channel data

1) Has anyone successfully imported feed channel-level title, description, image and/or channel meta info and mapped it to the parent feed node using the Feeds Module... Rules Module... or some other combo?

Seems like there might be others who have had to jump through this hurdle before but I can't find any solutions out there...? Thanks for any leads.

2) Or has anyone successfully used the $source object and/or "FeedsFetcherResult" that's provided to the Rules Module to get detailed data from the importing feed? Thanks.