Skip to content

Commit

Permalink
Reverts temporarilly the change of the featured images since it's not…
Browse files Browse the repository at this point in the history
… working in LIVE.
  • Loading branch information
p0lemic authored Mar 29, 2021
2 parents 7f0f86b + a1b5d90 commit c5f238c
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/RSS_PHP/rss_php.php
Original file line number Diff line number Diff line change
Expand Up @@ -125,13 +125,6 @@ private function extractDOM($nodeList,$parentNodeName=false) {
$this->channel[$values->nodeName] = $tempNode[$nodeName];
}
}
if($values->nodeName == 'media:content') {
for($i=0;$values->attributes->item($i);$i++) {
if ($values->attributes->item($i)->name == 'url') {
$tempNode[$nodeName] = $values->attributes->item($i)->nodeValue;
}
}
}
} elseif(substr($values->nodeName,1) == 'text') {
$tempValue = trim(preg_replace('/\s\s+/',' ',str_replace("\n",' ', $values->textContent)));
if($tempValue) {
Expand Down

0 comments on commit c5f238c

Please sign in to comment.