3
1
Back

Foreach($attributes as $attrib_name => $node){ } function rel2abs($rel, $base) { if ($doc === NULL) { if (GDORN_DEBUG && $article['debug']) { foreach ($imgs as $img) { $article['content'] .= "
ID: " . $img->getAttribute('title') . ""; } } } // Cyanide & Happiness elseif (strpos($article['link'], 'jesusandmo.net') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']/img", $article); } // Girls with Slingshots // Girls with Slingshots elseif (strpos($article['content'], 'www.asofterworld.com/index.php?id') !== FALSE && strpos($article["title"], "Comic:") !== FALSE) { elseif (strpos($article['content'], 'imgs.xkcd.com/comics/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $matches[1]; $img = preg_replace("@width=\"\d+\"@", "", $img); $article['content'] = $img; } //Sites.

New Pull Request