Fix author tag in source ('author' -> 'creator')

This commit is contained in:
logmanoriginal 2016-08-03 21:26:00 +02:00
parent 1afdf9cef7
commit 58322137d3

View file

@ -7,7 +7,7 @@ class NextInpactBridge extends BridgeAbstract {
$this->name = "NextInpact Bridge"; $this->name = "NextInpact Bridge";
$this->uri = "http://www.nextinpact.com/"; $this->uri = "http://www.nextinpact.com/";
$this->description = "Returns the newest articles."; $this->description = "Returns the newest articles.";
$this->update = "2015-10-23"; $this->update = "2016-08-03";
} }
@ -38,7 +38,7 @@ class NextInpactBridge extends BridgeAbstract {
$item->title = $this->StripCDATA($element->find('title', 0)->innertext); $item->title = $this->StripCDATA($element->find('title', 0)->innertext);
$item->uri = $this->StripCDATA($element->find('guid', 0)->plaintext); $item->uri = $this->StripCDATA($element->find('guid', 0)->plaintext);
$item->thumbnailUri = $this->StripCDATA($element->find('enclosure', 0)->url); $item->thumbnailUri = $this->StripCDATA($element->find('enclosure', 0)->url);
$item->author = $this->StripCDATA($element->find('author', 0)->innertext); $item->author = $this->StripCDATA($element->find('creator', 0)->innertext);
$item->timestamp = strtotime($element->find('pubDate', 0)->plaintext); $item->timestamp = strtotime($element->find('pubDate', 0)->plaintext);
$item->content = $this->ExtractContent($item->uri); $item->content = $this->ExtractContent($item->uri);
$this->items[] = $item; $this->items[] = $item;