From 346b7ac8bb57999f5fe6d439465143a21c523d47 Mon Sep 17 00:00:00 2001 From: Alex Barth <alex_b@53995.no-reply.drupal.org> Date: Thu, 17 Dec 2009 15:24:15 +0000 Subject: [PATCH] #657374 dtomasch: Common Parser does not get RSS Authors correctly. --- CHANGELOG.txt | 2 ++ libraries/common_syndication_parser.inc | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 5457ee36..33ad9b63 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -3,6 +3,8 @@ Feeds 6.x 1.0 XXXXXXX, 20XX-XX-XX --------------------------------- +- #657374 dtomasch: Common Parser does not get RSS Authors correctly. + Feeds 6.x 1.0 Alpha 9, 2009-12-14 --------------------------------- diff --git a/libraries/common_syndication_parser.inc b/libraries/common_syndication_parser.inc index bd887495..f7b7760f 100644 --- a/libraries/common_syndication_parser.inc +++ b/libraries/common_syndication_parser.inc @@ -374,8 +374,8 @@ function _parser_common_syndication_RSS20_parse($feed_XML) { $body = "{$news['title']}"; } - if (!empty($feed_XML->channel->title)) { - $original_author = "{$feed_XML->channel->title}"; + if (!empty($news['author'])) { + $original_author = "{$news['author']}"; } if (!empty($news['link'])) { -- GitLab