Labels Milestones
BackKnob, these are some setup variables... You probably won't need to call out for elseif (strpos($article['content'], 'wondermark.com/c') !== FALSE) { // Something Positive elseif (strpos($article['link'], 'http://www.achewood.com/index.php?date=') !== FALSE) { // CTRL+ALT+DEL Sillies elseif (strpos($article['link'], 'threepanelsoul.com/2') !== FALSE) { } // Breaking Cat News $entries = $xpath->query("//span[@class='rss-content']"); foreach ($entries as $entry) { // Dilbert elseif (strpos($article['link'], 'somethingpositive.net') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '//p[@class="Maintext"]//img[contains(@src, "joyimages")]', $article); } // replace the (containing project wonderful) with nothing $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic-1']//img", $article); // Dead Philosophers elseif (strpos($article['link'], 'cad-comic.com/cad/') !== FALSE) { // Doghouse Diaries, which has broken alt tags textified. } //Sites that provide images and just need alt tags if (preg_match("@.*( " . $entry->textContent . "