Labels Milestones
BackFiles, * this is far simpler than this foreach($imgs as $img){ foreach ($imgs as $img) { if ($title_text == $article['title'] || strpos($article['title'], $title_text) !== false){ } elseif (strpos($article["link"], "eatthattoast.com/comic/") !== FALSE && // SatW elseif (strpos($article["link"], "poorlydrawnlines.com/comic/") !== FALSE ) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $img_tag . $article['content']; } Various updates, additions /* dirty absolute URL */ $abs = preg_replace($re, '/', $abs, -1, $n)) {} /* absolute URL is ready! */ return $scheme . '://' . $abs; } From 2cddc4d62d38c9e1b69839f92a19e7915eecbceb Mon Sep.
New Pull Request