3
1
Back

$article['content'] .= "
Alt: " . $article['id']; } return $article; } $article = $this->alt_textify($article); if (GDORN_DEBUG && $article['debug']) { } // CTRL+ALT+DEL elseif (strpos($article['link'], 'cad-comic.com/comic/') !== FALSE) { $article['content'] .= "
$orig_content
"; // Awkward Zombie $entries = $xpath->query("//div[@class='entry']"); if (preg_match("@.*(.*)@", $article['content'], $matches)) { $article['content'] .= "

" . $entry->ownerDocument->saveXML($entry) . "

"; } } // Three Panel Soul elseif (strpos($article['link'], 'alicegrove.com') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = preg_replace('#(/[0-9-]+)-150x150\.gif#', '$1.gif', $article['content']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } // Wondermark (alt tag elseif (strpos($article['link'], 'paintraincomic.com/comic/') !== FALSE) { elseif (strpos($article['content'], 'wondermark.com/c') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@class="webcomic-image"]//img)', $article); } // Three Panel Soul elseif (strpos($article['link'], 'cad-comic.com/sillies/') .

New Pull Request