3
1
Back

$para_element->appendChild($text_element); } elseif (strpos($title_text, $alt_text) !== false){ $text_element = $doc->createElement("i", $alt_text); } elseif (strpos($article["link"], "trenchescomic.com/comic/post/") !== FALSE ) { // Poly In Pictures } // Dilbert elseif (strpos($article['link'], 'dead-philosophers.com/?p') !== FALSE) { elseif (strpos($article["link"], "explosm.net/comics") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '//p[@class="Maintext"]//img[contains(@src, "joyimages")]', $article); } Clean up code formatting; added a few comics; standardized appending alt/title text Fix for.

New Pull Request