3
1
Back

Supported elseif (strpos($article['link'], 'breakingcatnews.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//img[starts-with(@src, 'sp') and contains(@src, 'comics')]", $article); // Doghouse Diaries, which has broken alt tags if both exist achewood, gwss fix, fix for when invisiblebread has no bread elseif (strpos($article['link'], 'somethingpositive.net') !== FALSE) { // Timothy Winchester (People I Know) elseif (strpos($article['link'], 'dead-philosophers.com/?p') !== FALSE) { $article['content'] .= "

" . $entry->textContent . "

"; $article['content'] .= "

$orig_content

"; //also append the blarg post because that's small, interesting, $entries = $xpath->query("//div[@id='blarg']/div[last()]"); foreach ($entries as $entry){ $article['content'] .= "ID: " . $article['id']; } function get_img_tags($xpath, $query, $article){ /* dirty absolute URL is ready! */ return.

New Pull Request