3
1
Back

Entry $entries = $xpath->query("//span[@class='rss-content']"); foreach ($entries as $entry){ foreach ($entries as $entry){ $article['content'] .= "" . $entry->textContent . "

"; } } //noop elseif (strpos($article['content'], 'www.asofterworld.com/index.php?id') !== FALSE || strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $img_tag = $this->get_img_tags($xpath, "//div[@class='comic-wrap']//img[@class='comic']", $article); elseif (strpos($article['link'], 'leasticoulddo.com/comic') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = str_replace('comicsthumbs', 'comics', $article['content']); foreach ($entries as $entry) { $article['content'] .= "

" . $entry->ownerDocument->saveXML($entry) . "

"; elseif (strpos($article["link"], "explosm.net/comics") !== FALSE) { if (!$alt_text || $alt_text == $article['title'] || strpos($article['title'], $alt_text) !== false){ } elseif ($alt_text == $article['title'] || strpos($article['title'], $alt_text) !== false){ } elseif (strpos($title_text, $alt_text) !== false){ } elseif (strpos($article["link"], "trenchescomic.com/comic/post/") !== FALSE ) { // only keep everything starting at the first New Pull Request