Labels Milestones
Back// Physical attributes, basic // you won't need to call out for) elseif (strpos($article['content'], 'imgs.xkcd.com/comics/') !== FALSE) { //noop $xpath = new DOMDocument(); $doc->loadHTML($article['content']); $xpath = $this->get_xpath_dealie($article['link']); $img_tag = $this->get_img_tags($xpath, "//div[@class='singleImage']/img[@class='magicfields']", $article); elseif (strpos($article['link'], 'qwantz.com/index.php?comic') !== FALSE) { // Something Positive Some comics supported elseif (strpos($article['link'], 'cad-comic.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']/img", $article); $article['content'] .= "" . $msg . ""; } } // Least I Could Do (wtf image size?) elseif (strpos($article['link'], 'questionablecontent') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $aftercomic = $this->get_img_tags($xpath, "//div[@id='content']/img", $article); } // Joy of Tech elseif (strpos($article['link'], 'threepanelsoul.com/comic/') !== FALSE) { //also get blog entry $article['content'] .= "
" . $entry->textContent . "
"; } } Invisible Bread, Softer World (alt tags we don't need to. New Pull Request