3
1
Back

$this->get_content($link); //Sites that provide images and just need alt tags elseif (strpos($article['link'], '//theoatmeal.com/comics/') !== FALSE) { // Girls with Slingshots $xpath = $this->get_xpath_dealie($article['link']); $img_tag = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article); } // PhD Unknown elseif (strpos($article["link"], "poorlydrawnlines.com/comic/") !== FALSE ) { union() { difference() { Fix for two bugs in Doghouse Diaries rss: spaces in img src and quotes in alt/title text under images (extra useful for non-browser users Added The Trenches; yet more code style tweaking // The Better To Find You With (http://sorcery101.net/) elseif (strpos($article["link"], "chainsawsuit.com/comic/") !== FALSE && // Cyanide & Happiness elseif (strpos($article["link"], "www.smbc-comics.com/comic/") !== FALSE) { $xpath = $this->get_xpath_dealie($bread_page_url); $extraimage = $xpath->query("//img[@class='extrapanelimage']")->item(0); $new_element = $doc->createElement("img"); $new_element->setAttribute('src', $extraimage->getAttribute('src')); $bread->parentNode->replaceChild($new_element, $bread); $article['content'] = $this->get_img_tags($xpath, "//div[@class='comicpage']//img[contains(@src, 'ENG_')]", $article); } // Three Panel Soul // Two Lumps elseif (strpos($article['link'], 'girlswithslingshots.com/comic/') !== FALSE) { //also append the blarg post because that's small, interesting, //and sometimes necessary for old fogeys like me to get what game it's about.

New Pull Request