Labels Milestones
BackTo referer checks elseif (strpos($article['link'], 'polyinpictures.com/comic/') !== FALSE) { // Breaking Cat News elseif (strpos($article['link'], 'dilbert.com/strip/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']/img", $article); elseif (strpos($article['link'], 'cad-comic.com/sillies/') !== FALSE) { // Poly In Pictures } // Scenes From A Multiverse (to get alt tags) elseif (strpos($article['link'], 'www.timothywinchester.com/2') !== FALSE) { elseif (strpos($article['link'], 'campcomic.com/comic/') !== FALSE) { $xpath = new DOMXpath($doc); $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach($imgs as $img){ foreach ($imgs as $img) { $article['content'] .= "
$orig_content
"; //also append the blarg post because that's small, interesting, //also append the blarg post because that's small, interesting, $entries = $xpath->query("//div[@id='blarg']/div[last()]"); foreach ($entries as $entry) { $article['content'] .= "" . $entry->ownerDocument->saveXML($entry) . "
"; elseif (strpos($article["link"], "poorlydrawnlines.com/comic/") !== FALSE ) . New Pull Request