3
1
Back

Bt.ttf' // The Oatmeal elseif (strpos($article['link'], 'questionablecontent') !== FALSE) { elseif (strpos($article['link'], 'somethingpositive.net') !== FALSE) { //also get blog elseif (strpos($article['link'], 'jesusandmo.net') !== FALSE) { elseif (strpos($article['content'], 'imgs.xkcd.com/comics/') !== FALSE) { // PhD Unknown elseif (strpos($article["link"], "poorlydrawnlines.com/comic/") !== FALSE ) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $matches[1]; } } // Poorly Drawn Lines elseif (strpos($article["link"], "eatthattoast.com/comic/") !== FALSE && strpos($article["title"], "Comic:") !== FALSE) { $article['content'] .= "

$orig_content

"; //also append the blarg post because that's small, interesting, $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@class="webcomic-image"]//img)', $article); // Scenes From A Multiverse (to get alt tag) elseif (strpos($article['link'], 'somethingpositive.net') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $img; } //Sites that provide images and just need alt tags if both exist elseif (strpos($article['link'], 'dead-philosophers.com/?p') !== FALSE) { elseif (strpos($article['link'], 'somethingpositive.net') !== FALSE) { // Dinosaur Comics Cleanup elseif (strpos($article['link'], 'https://web3isgoinggreat.com/single/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $img_tag . $article['content']; } // Breaking Cat News elseif (strpos($article['link'], 'breakingcatnews.com/comic/') !== FALSE) { // Three Panel.

New Pull Request