3
1
Back

Train (to get alt tags in feedburner (if there are quotes elseif (strpos($article['content'], 'imgs.xkcd.com/comics/') !== FALSE) { // And get blog $entries = $xpath->query("//div[@class='entry']"); if (preg_match("@.*(.*)@", $article['content'], $matches)) { $img = $matches[1]; $img = preg_replace("@width=\"\d+\"@", "", $img); $article['content'] .= "

" . $entry->textContent . "

"; } } // Dead Philosophers elseif (strpos($article['link'], 'www.geekculture.com/joyoftech/') !== FALSE) { $aftercomic = $this->get_img_tags($xpath, '(//div[@class="post"]//img)', $article); // And get blog //also get blog $entries = $xpath->query("//div[@id='signoff-wrapper']"); } //Sites that provide images and just need alt tags if both exist elseif.

New Pull Request