3
1
Back

FALSE ) { // CTRL+ALT+DEL Sillies elseif (strpos($article['link'], 'cad-comic.com/sillies/') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='imgdiv']//img", $article); //also get blog entry $entries = $xpath->query("//div[@id='blarg']/div[last()]"); foreach ($entries as $entry){ $article['content'] .= "Alt: " . $img->getAttribute('title') . ""; } } // Something Positive elseif (strpos($article['link'], 'alicegrove.com') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@class='timeline-description']", $article); $article['content'] .= "

" . $entry->textContent . "

"; } } //noop elseif (strpos($article['link'], 'awkwardzombie.com/index.php?comic') !== FALSE) { $article['content'] .= "Bonus comic:" . $aftercomic . "

"; } } // Timothy Winchester (People I Know foreach ($imgs as $img) { if (!$alt_text || $alt_text == $article['title'] || strpos($article['title'], $title_text) !== False) .

New Pull Request