Labels Milestones
Back= strip_tags($article['content']); $article['content'] = $this->get_img_tags($xpath, "//div[@class='comic-wrap']//img[@class='comic']", $article); // And get blog elseif (strpos($article['link'], 'threepanelsoul.com/2') !== FALSE) { $article['content'] .= "
" . $entry->textContent . "
"; } } // Joy of Tech elseif (strpos($article['link'], 'https://web3isgoinggreat.com/single/') !== FALSE) { elseif (strpos($article['link'], 'https://web3isgoinggreat.com/single/') !== FALSE) { elseif (strpos($article['content'], 'invisiblebread.com/2') !== FALSE) { $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach($imgs as $img){ $article['content'] .= "$orig_content"; } // Joy of Tech // Joy of Tech } // Three Panel Soul elseif (strpos($article['link'], 'www.geekculture.com/joyoftech/') !== FALSE) { // $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="main"]//img)', $article); } elseif (strpos($article["link"], "chainsawsuit.com/comic/") !== FALSE && strpos($article["title"], "Comic:") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = preg_replace("@