3
1
Back

$entry->getAttribute('title'); $alt_text = trim($img->getAttribute('alt')); if (!$alt_text || strpos($article['title'], $alt_text) !== False) { if ($img->getAttribute('title')) { $article['content'] .= "

$orig_content

"; //also append the blarg post because that's small, interesting, $entries = $xpath->query("//div[@id='comic-notes']"); foreach ($entries as $entry) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); // Drugs and Wires elseif (strpos($article["link"], "www.smbc-comics.com/comic/") !== FALSE) { //no-op else { // Poly In Pictures elseif (strpos($article['link'], 'https://web3isgoinggreat.com/single/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article); $article['content'] = $this->get_img_tags($xpath, "//div[@id='imgdiv']//img", $article); //also get the blog.

New Pull Request