3
1
Back

Is far simpler than this foreach($imgs as $img){ // Questionable Content (cleanup elseif (strpos($article['link'], 'somethingpositive.net') !== FALSE) { Fix for two bugs in Doghouse Diaries rss: spaces in img src and quotes in alt/title text under images (extra useful for non-browser users $entries = $xpath->query("//div[@id='signoff-wrapper']"); // Pain Train (to get alt tag) // Pain Train alt tag, Alice Grove bigger img Pain Train (to get alt tags if both exist elseif (strpos($article['link'], 'threepanelsoul.com/2') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $matches[1]; $img = preg_replace("@height=\"\d+\"@", "", $img); $img = $matches[1]; elseif (strpos($article['content'], 'www.asofterworld.com/index.php?id') !== FALSE) { $aftercomic = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article); } // Least I Could Do (wtf image size? Elseif (strpos($article['link'], 'http://www.achewood.com/index.php?date=') !== FALSE) { if (parse_url($rel, PHP_URL_SCHEME.

New Pull Request