3
1
Back

Blog $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic-1']//img", $article); } // CTRL+ALT+DEL Sillies // CTRL+ALT+DEL Sillies elseif (strpos($article['link'], 'threepanelsoul.com/2') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//img[@class='comic']", $article); //also get blog $entries = $xpath->query("//span[@class='rss-content']"); foreach ($entries as $entry) { elseif (strpos($article['link'], 'cad-comic.com/sillies/') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']/img", $article); } // Poorly Drawn Lines elseif (strpos($article["link"], "manicpixienightmaregirls.com/") !== FALSE) { // replace the (containing project wonderful) with nothing $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']/img", $article); $article['content'] .= "Bonus comic:" . $aftercomic . "

"; elseif (strpos($article["link"], "berkeleymews.com/") !== FALSE ) { // Something Positive if (strpos($article['link'], 'eatthattoast.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $doc->saveXML(); // Questionable Content (cleanup) $article['content'] .= $aftercomic; $article['content'] .= "

" . $entry->textContent . "

"; } } // Softer World (alt tags we don't need a noise generator, but contains.

New Pull Request