3
1
Back

Images (extra useful for non-browser users Added The Trenches; yet more code style tweaking elseif (strpos($article["link"], "www.pilotside.us/comic/") !== FALSE) { //no-op function rel2abs($rel, $base) { if (parse_url($rel, PHP_URL_SCHEME) != '' || substr($rel, 0, 2) == '//') { return $base . $rel; } if (ADD_IDS) { $article['content'] = $this->get_img_tags($xpath, "//div[@class='singleImage']/img[@class='magicfields']", $article); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']/noscript/img", $article); } } Invisible Bread, Softer World (alt tags we don't need to call out for elseif (strpos($article['content'], 'wondermark.com/c') !== FALSE) { $imgs = $xpath->query('//img'); //doesn't get simpler than this } //No matches if ($img->getAttribute('title')) { $article['content'] .= "

$orig_content

"; //also append the blarg post because that's small.

New Pull Request