3
1
Back

$bread); $article['content'] = $img; } //Sites that provide images and just need alt tags elseif (strpos($article['link'], 'threepanelsoul.com/2') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, '//td/img[contains(@src, "/comics/images/")]', $article); // Berkeley Mews elseif (strpos($article["link"], "poorlydrawnlines.com/comic/") !== FALSE && strpos($article["title"], "Comic:") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//p[@id='comic_body']//img", $article); } Assorted updates elseif (strpos($article['link'], '//theoatmeal.com/comics/') !== FALSE) { // Girls with Slingshots * Three Panel Soul elseif (strpos($article['link'], 'paintraincomic.com/comic/') !== FALSE) { // Dead Philosophers elseif (strpos($article['link'], 'amultiverse.com/comic/') !== FALSE) { // CTRL+ALT+DEL Sillies elseif (strpos($article['link'], 'questionablecontent') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $matches[1]; } } if(ADD_IDS){ $article['content'] .= "

" . $entry->textContent . "

"; } } function mangle_article($article.

New Pull Request