3
1
Back

Trenches elseif (strpos($article["link"], "trenchescomic.com/comic/post/") !== FALSE ) { // Breaking Cat News // Breaking Cat News elseif (strpos($article['link'], 'twolumps.net/d/') !== FALSE) { elseif (strpos($article["link"], "poorlydrawnlines.com/comic/") !== FALSE || strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE){ //also get the blog //also get blog $entries = $xpath->query("//div[@class='entry']"); foreach ($entries as $entry){ foreach ($entries as $entry){ $article['content'] .= "
" . $msg . ""; } } if(ADD_IDS){ $article['content'] .= "

" . $entry->textContent . "

"; } } //Sites that provide images and just need alt tags elseif (strpos($article['link'], 'dilbert.com/strip/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $matches[1]; $img = preg_replace("@height=\"\d+\"@", "", $img); $img = preg_replace("@height=\"\d+\"@", "", $img); $img.

New Pull Request