3
1
Back

2015-03-02 17:38:43 -08:00 } $article = $this->alt_textify($article); if (GDORN_DEBUG && $article['debug']) { foreach ($article['debug'] as $msg) { $article['content'] .= "

$orig_content

"; //also append the blarg post because that's small, interesting, $entries = $xpath->query("//div[@id='signoff-wrapper']"); } //Sites that provide images and just need alt tags textified. } //Sites that provide images and just need alt tags elseif (strpos($article['link'], 'girlswithslingshots.com/comic/') !== FALSE) { // Dilbert elseif (strpos($article['link'], 'cad-comic.com/cad/') !== FALSE) { // Two Lumps $orig_content = strip_tags($article['content']); $article['content'] .= "

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

"; // Wondermark (alt tag already present elseif (strpos($article['link'], 'dilbert.com/strip/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '//p[@class="Maintext"]//img[contains(@src, "joyimages")]', $article); } // Invisible Bread (make the bread visible if (preg_match("@.*( New Pull Request