3
1
Back

Lines elseif (strpos($article["link"], "www.pilotside.us/comic/") !== FALSE) { $article['content'] .= "

" . $entry->textContent . "

"; } } } //Sites that provide images and just need alt tags elseif (strpos($article['link'], 'http://www.achewood.com/index.php?date=') !== FALSE) { // Dinosaur Comics Cleanup elseif (strpos($article['content'], 'imgs.xkcd.com/comics/') !== FALSE) { elseif (strpos($article['link'], 'threepanelsoul.com/2') !== FALSE) { // Breaking Cat News elseif (strpos($article['link'], 'cad-comic.com/cad/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//img[contains(@src, 'sp') and contains(@src, 'png')]", $article); } // there's both alt and title texts, they're both different, use both. $alt_element = $doc->createElement("i", $title_text); } else if (two_holes_type == "center") { } // Scenes From A Multiverse (to get alt tags) elseif (strpos($article['link'], 'cad-comic.com/sillies/') !== FALSE) { // And get blog $entries = $xpath->query("//div[@id='blarg']/div[last()]"); foreach ($entries as $entry) { $article['content'] .= "

" . $entry->textContent . "

"; } .

New Pull Request