diff --git a/plugins/FeedsSimplePieParser.inc b/plugins/FeedsSimplePieParser.inc index 4f6278a91391185d3d848cc11f1d95dc323f7ab4..227996ed3be4613ea4399100957de534912286af 100644 --- a/plugins/FeedsSimplePieParser.inc +++ b/plugins/FeedsSimplePieParser.inc @@ -51,7 +51,10 @@ class FeedsSimplePieParser extends FeedsParser { if (empty($item['guid'])) { $item['guid'] = $item['url']; } - $item['author'] = $simplepie_item->get_author(); + $author = $simplepie_item->get_author(); + $item['author_name'] = $author->name; + $item['author_link'] = $author->link; + $item['author_email'] = $author->email; // Enclosures $enclosures = $simplepie_item->get_enclosures(); if (is_array($enclosures)) { @@ -104,7 +107,9 @@ class FeedsSimplePieParser extends FeedsParser { return array( 'title' => t('Title'), 'description' => t('Description'), - 'author' => t('Author'), + 'author_name' => t('Author name'), + 'author_link' => t('Author link'), + 'author_email' => t('Author email'), 'timestamp' => t('Published date'), 'date_raw' => t('Published date (raw)'), 'url' => t('Item URL (link)'),