3
1
Back

Substr($rel, 0, 2) == '//') { return $article; } if(ADD_IDS){ $article['content'] .= "" . $msg . ""; } if (strpos($article['link'], 'eatthattoast.com/comic/') !== FALSE) { // Timothy Winchester (People I Know elseif (strpos($article['link'], 'polyinpictures.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $img; } } //Sites that provide images and just need alt tags elseif (strpos($article['link'], 'dead-philosophers.com/?p') !== FALSE) { $doc = new DOMXpath($doc); $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach($imgs as $img){ // Softer World (alt tags), Dinosaur Comics.

New Pull Request