3
1
Back

2; // The Better To Find You With (http://sorcery101.net/ elseif (strpos($article["link"], "manicpixienightmaregirls.com/") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $orig_content = strip_tags($article['content']); //also append the blarg post because that's small, interesting, $entries = $xpath->query("//div[@id='blarg']/div[last()]"); // Scenes From A Multiverse (to get alt tags elseif (strpos($article['link'], 'http://www.geekculture.com/joyoftech/') !== FALSE) { //no-op function rel2abs($rel, $base) { if (!$alt_text || $alt_text == $article['title'] || strpos($article['title'], $title_text) !== False) { if ($img->getAttribute('title')) { $article['content'] .= "

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

"; } } } } // Softer World (alt tags), Dinosaur Comics (alt tags+blog), CAD, attempt at OOTS (but that one fails due to referer checks elseif (strpos($article['link'], 'dead-philosophers.com/?p') !== FALSE) { // Poorly Drawn Lines elseif (strpos($article["link"], "satwcomic.com/") !== FALSE) { $article['content'] = $this->get_img_tags($xpath, "//img[starts-with(@src, '/comics/') and @class='comic_image']", $article); } // Two Lumps // Two Lumps elseif (strpos($article['link'], 'campcomic.com/comic/') !== FALSE) { // XKCD (alt tags we don't lose it Add the label font so we don't need to call out for) elseif (strpos($article['content'], 'invisiblebread.com/2') !== FALSE) { // $img_tag = $this->get_img_tags($xpath, "//div[@class='comicpage']//img[contains(@src, 'Strip')]", $article); } // Three Panel Soul elseif (strpos($article['link'], 'threepanelsoul.com/2') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '//td/img[contains(@src, "/comics/images/")]', $article); } Gunnerkrigg and cleanup of alt-tag-only sites.

New Pull Request