3
1
Back

(strpos($article['link'], 'paintraincomic.com/comic/') !== FALSE) { $doc = new DOMXpath($doc); $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach ($imgs as $img) { $article['content'] = $img; } 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 Added The Trenches; yet more code style tweaking elseif (strpos(strtolower($article['link']), 'giantitp.com/comics/') !== FALSE) { $imgs = $xpath->query('//img'); //doesn't get simpler than this } //No matches //No matches //No matches if ($img->getAttribute('title')) { $article['content'] .= "$orig_content"; // Awkward Zombie // Awkward Zombie $entries = $xpath->query("//span[@class='rss-content.

New Pull Request