3
1
Back

// Three Panel Soul elseif (strpos($article['link'], 'www.geekculture.com/joyoftech/') !== FALSE) { $xpath = new DOMDocument(); // replace the (containing project wonderful) with nothing $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']/noscript/img", $article); } Some comics supported elseif (strpos($article['link'], 'cad-comic.com/sillies/') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, "//div//img[contains(@src, 'images') and contains(@src, 'png')]", $article); } /* OotS uses some kind of referer check which prevents fetch_file_contents() from retrieving the image. // Order of the Stick elseif (strpos(strtolower($article['link']), 'giantitp.com/comics/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $orig_content = strip_tags($article['content']); $article['content'] = $this->get_img_tags($xpath, '(//div[@class="container"]//center//img)', $article); // Least I Could Do (wtf.

New Pull Request