mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2024-11-26 19:36:52 +03:00
Fix author tag in source ('author' -> 'creator')
This commit is contained in:
parent
1afdf9cef7
commit
58322137d3
1 changed files with 2 additions and 2 deletions
|
@ -7,7 +7,7 @@ class NextInpactBridge extends BridgeAbstract {
|
|||
$this->name = "NextInpact Bridge";
|
||||
$this->uri = "http://www.nextinpact.com/";
|
||||
$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->uri = $this->StripCDATA($element->find('guid', 0)->plaintext);
|
||||
$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->content = $this->ExtractContent($item->uri);
|
||||
$this->items[] = $item;
|
||||
|
|
Loading…
Reference in a new issue