3
1
Back

PHP_URL_SCHEME) != '' || substr($rel, 0, 2) == '//') { return $base . $rel; } if (ADD_IDS) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='cc-comicbody']//img", $article); } // CTRL+ALT+DEL Sillies // CTRL+ALT+DEL // CTRL+ALT+DEL // CTRL+ALT+DEL // Three Panel Soul elseif (strpos($article['link'], 'gunnerkrigg.com/?p') !== FALSE) { $article['content'] = str_replace('comicsthumbs', 'comics', $article['content']); foreach ($entries as $entry){ foreach ($entries as $entry){ $article['content'] .= "

" . $entry->textContent . "

"; $article['content'] .= "

" . $entry->textContent . "

"; } } // CTRL+ALT+DEL elseif (strpos($article['link'], 'wondermark.com/c') !== FALSE) { Gunnerkrigg and cleanup of alt-tag-only sites elseif (strpos($article['link'], 'dilbert.com/strip/') !== 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='singleImage']/img[@class='magicfields']", $article); $article['content'] = $this->get_img_tags($xpath, '//p[@class="Maintext"]//img[contains(@src, "joyimages")]', $article); } function mangle_article($article) { Added BCN, Something Positive // Something Positive elseif (strpos($article['link'], 'threepanelsoul.com/comic/') !== FALSE) { $doc = new DOMDocument(); $doc->loadHTML($article['content']); $xpath = $this->get_xpath_dealie($article['link']); // Girls with Slingshots // CTRL+ALT+DEL // CTRL+ALT+DEL elseif (strpos($article['link'], 'cad-comic.com/cad/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '//p[@class="Maintext"]//img[contains(@src, "joyimages")]', $article); // Drugs and Wires drugs & wires, pilotside elseif (strpos($article["link"], "chainsawsuit.com/comic/") !== FALSE && strpos($article["title"], "Comic:") !== FALSE.

New Pull Request