3
1
Back

If (strpos($article["content"], "bonus panel!") !== FALSE) { //also append the blarg post because that's small, interesting, //also append the blarg post because that's small, interesting, $entries = $xpath->query("//div[@id='signoff-wrapper']"); } //Sites that provide images and just need alt tags elseif (strpos($article['link'], '//theoatmeal.com/comics/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comicbody"]//img)', $article) . $article['content']; // $article['content'] = $img_tag . $article['content']; elseif (strpos($article["link"], "trenchescomic.com/comic/post/") !== FALSE ) { $xpath = new DOMXpath($doc); elseif (strpos($article['link'], 'cad-comic.com/cad/') !== FALSE) { From ef87dc7d41f5e6b2301711b754023b93f16ed69f.

New Pull Request