Bläddra i källkod

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

logmanoriginal 7 år sedan
förälder
incheckning
58322137d3
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. 2 2
      bridges/NextInpactBridge.php

+ 2 - 2
bridges/NextInpactBridge.php

@@ -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;