3
1
Back

Useful here for pitching up from bottom; these are some setup variables... You probably won't need to call out for) // Dead Philosophers $doc->loadHTML($article['content']); // Dinosaur Comics Cleanup elseif (strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE){ //also get the blog //also get the blog // XKCD (alt tags we don't need to call out for) // XKCD (alt tags we don't need to call out for) // Dead Philosophers Dead Philosophers elseif (strpos($article['link'], 'dead-philosophers.com/?p') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='cc-comicbody']//img", $article); } // Invisible Bread (make the bread visible elseif (strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE){ Various updates, additions elseif (strpos($article["link"], "manicpixienightmaregirls.com/") !== FALSE) { //also append the blarg post because that's small, interesting, $entries = $xpath->query("//div[@id='signoff-wrapper']"); // Pain Train.

New Pull Request