3
1
Back

(strpos($article['link'], 'qwantz.com/index.php?comic') !== FALSE) { // Gunnerkrigg Court elseif (strpos($article['link'], 'cad-comic.com/cad/') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='cc-comicbody']//img", $article); } // Eat That Toast bog-standard example // Penny Arcade if(preg_match("@.*()@", $article['content'], $matches)){ if (preg_match("@.*(get_img_tags($xpath, "//div[@class='img-comic-container']//img", $article); } // Joy of Tech elseif (strpos($article['link'], 'http://www.achewood.com/index.php?date=') !== FALSE) { // Scenes From A Multiverse (to get alt tags elseif (strpos($article['link'], 'wondermark.com/c') !== FALSE) { $doc = NULL) { if (!$alt_text || $alt_text == $article['title'] || strpos($article['title'], $title_text) !== false){ $text_element = $doc->createElement("i", $alt_text); $para_element->appendChild($alt_element); $para_element->appendChild($doc->createElement("br")); $title_element = $doc->createElement("i", $alt_text); $title_element = $doc->createElement("i", $title_text); $para_element->appendChild($title_element); } Clean up code formatting; added a few comics; standardized appending alt/title text.

New Pull Request