forked from blallo/rss-bridge
[Numerama] Add author to feed output
This commit is contained in:
parent
35ac1d76b2
commit
85ebb70b74
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue