From 85ebb70b74592f688186c1e606782dd048cb1a38 Mon Sep 17 00:00:00 2001 From: Mitsukarenai Date: Tue, 13 Oct 2015 17:59:55 +0200 Subject: [PATCH] [Numerama] Add author to feed output --- bridges/NumeramaBridge.php | 1 + 1 file changed, 1 insertion(+) diff --git a/bridges/NumeramaBridge.php b/bridges/NumeramaBridge.php index b53ed7a..cc7e2f2 100644 --- a/bridges/NumeramaBridge.php +++ b/bridges/NumeramaBridge.php @@ -35,6 +35,7 @@ class NumeramaBridge extends BridgeAbstract{ if($limit < 5) { $item = new \Item(); $item->title = html_entity_decode(NumeramaStripCDATA($element->find('title', 0)->innertext)); + $item->author = NumeramaStripCDATA($element->find('dc:creator', 0)->innertext); $item->uri = NumeramaStripCDATA($element->find('guid', 0)->plaintext); $item->timestamp = strtotime($element->find('pubDate', 0)->plaintext); $item->content = NumeramaExtractContent($item->uri);