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().
| Comment | File | Size | Author |
|---|---|---|---|
| unset_body.patch | 499 bytes | awjrichards |
Comments
Comment #1
dddave commentedComment #2
alex_b commentedThis is looking good. The indent should be double spaces instead of a tab (see drupal coding standards).
Will fix this on commit.
Comment #3
alex_b commentedSorry, this has been fixed a while ago: http://drupalcode.org/viewvc/drupal/contributions/modules/feeds/librarie...
All should work fine.