3
1
Back

$article['content']; $article['content'] = $this->get_img_tags($xpath, "//img[@class='ksc' and contains(@src, 'comics')]", $article); // Manic Pixie Nightmare Girls elseif (strpos($article["link"], "poorlydrawnlines.com/comic/") !== FALSE && strpos($article["title"], "Comic:") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $img_tag = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article); } Some comics supported elseif (strpos($article['link'], 'breakingcatnews.com/comic/') !== FALSE) { // Scenes From A Multiverse (to get alt tags textified. } //Sites that provide images and just need alt tags if both exist elseif (strpos($article['link'], 'somethingpositive.net') !== FALSE) { // And get blog entry $article['content'] .= "

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

"; } } Invisible Bread, Softer World (alt tags), Dinosaur Comics Cleanup elseif (strpos($article['link'], 'gunnerkrigg.com/?p') !== FALSE) { elseif (strpos($article['link'], 'qwantz.com/index.php?comic') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $img; if (preg_match("@.*()@", $article['content'], $matches)) { // $img_tag = $this->get_img_tags($xpath, "//img[@class='ksc' and contains(@src.

New Pull Request