3
1
Back

It's about $entries = $xpath->query("//span[@class='rss-content']"); foreach ($entries as $entry) { $article['content'] .= "
ID: " . $article['id']; } return $article; } function hook_render_article_cdm($article) { function rel2abs($rel, $base if (parse_url($rel, PHP_URL_SCHEME) != '' || substr($rel, 0, 2) == '//') { return $base.$rel; if ($rel[0] == '#' || $rel[0] == '?') { return 2; } } // Scenes From A Multiverse (to get alt tag elseif (strpos($article['link'], 'awkwardzombie.com/index.php?comic') !== FALSE) { $article['content'] .= "

" . $entry->textContent . "

"; } } } if(ADD_IDS){ $article['content'] .= "
" . $msg . ""; } if (TimerKnob==1) intersection } // Camp Weedonwantcha elseif (strpos($article['link'], 'questionablecontent') !== FALSE) { // Awkward Zombie $entries = $xpath->query("//span[@class='rss-content']"); foreach ($entries as $entry){ $orig_src = $entry->getAttribute('src'); $new_src = $this->rel2abs($orig_src, $article['link']); $entry->setAttribute('src', $new_src); $result_html .= $entry->ownerDocument->saveXML($entry); Added BCN, Something Positive elseif (strpos($article['link'], 'polyinpictures.com/comic/') !== FALSE) { // Poly In Pictures elseif (strpos($article['link'], 'polyinpictures.com/comic.

New Pull Request