3
1
Back

Fetch_file_contents($link); $content_type = $fetch_last_content_type; function rel2abs($rel, $base) { if (preg_match("@.*?(.*)@", $article['content'], $matches)) { if ($img->getAttribute('title')) { $article['content'] = $img_tag . $article['content']; elseif (strpos($article["link"], "chainsawsuit.com/comic/") !== FALSE && // Cyanide & Happiness elseif (strpos($article["link"], "manicpixienightmaregirls.com/") !== FALSE) { $article['content'] .= "

$orig_content

"; //also append the blarg post because that's small, interesting, $entries = $xpath->query("//span[@class='rss-content']"); foreach ($entries as $entry){ $article['content'] .= "
Alt: " . $img->getAttribute('title') .

New Pull Request