3
1
Back

"//div[@class='comicpage']//img[contains(@src, 'ENG_')]", $article); $article['content'] .= "
Alt: " . $article['id']; } return $article; } function mangle_article($article) { Added BCN, Something Positive // Something Positive elseif (strpos($article['link'], 'gunnerkrigg.com/?p') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); elseif (strpos($article["link"], "eatthattoast.com/comic/") !== FALSE ) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comicbody']//img", $article); } // there's an arrow shaped hole you can.

New Pull Request