In common_syndication_parser.inc, _parser_common_syndication_RSS20_parse(), the $body var needs to be unset somewhere towards the beginning of the foreach() on line 348. In the event that there are one or some 'descriptions' for news feeds but not others, the last used 'description' for a previously processed item will continue to be set as the 'body' element for subsequent items with no 'description'.

Attached is a patch that does an

unset($body)

at the top of the foreach().

CommentFileSizeAuthor
unset_body.patch499 bytesawjrichards

Comments

dddave’s picture

Status: Active » Needs review
alex_b’s picture

Version: 6.x-1.0-alpha11 » 6.x-1.x-dev
Status: Needs review » Reviewed & tested by the community

This is looking good. The indent should be double spaces instead of a tab (see drupal coding standards).

Will fix this on commit.

alex_b’s picture

Status: Reviewed & tested by the community » Closed (duplicate)

Sorry, this has been fixed a while ago: http://drupalcode.org/viewvc/drupal/contributions/modules/feeds/librarie...

All should work fine.