3
1
Back

Interesting, //also append the blarg post because that's small, interesting, $entries = $xpath->query("//span[@class='rss-content']"); foreach ($entries as $entry){ $article['content'] .= "
" . $msg . ""; } if (strpos($article['link'], 'eatthattoast.com/comic/') !== FALSE) { elseif (strpos($article['link'], 'twolumps.net/d/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div//img[contains(@src, 'images') and contains(@src, 'uploads') and contains(@src, 'comics')]", $article); // Manic Pixie Nightmare Girls elseif (strpos($article["link"], "poorlydrawnlines.com/comic/") !== FALSE ) { $xpath = $this->get_xpath_dealie($article['link']); // $img_tag = $this->get_img_tags($xpath, "//div[@id='comic-img']//img", $article); // Timothy Winchester (People I Know) // Timothy Winchester (People I Know elseif (strpos($article['link'], 'twolumps.net/d/') !== FALSE) { // Robot Hugs $entries = $xpath->query("//span[@class='rss-content']"); foreach ($entries as $entry) { // Softer World (alt tags), Dinosaur Comics Cleanup elseif (strpos($article['link'], 'www.timothywinchester.com/2') !== FALSE) { $aftercomic = $this->get_img_tags($xpath, "//div[@id='cc-comicbody']//img", $article); } Clean up.

New Pull Request