3
1
Back

Lines if (strpos($article["link"], "penny-arcade.com") !== FALSE || strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE){ $xpath = new DOMDocument(); $doc->loadHTML($article['content']); $xpath = new DOMDocument(); elseif (strpos($article['link'], 'girlswithslingshots.com/comic/') !== FALSE) { elseif (strpos($article['link'], 'girlswithslingshots.com/comic/') !== FALSE) { $article['content'] .= "
$orig_content
"; } // $article['content'] = preg_replace('#(width|height)="150"#', '', $article['content']); Clean up code formatting; added a few comics; standardized appending 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) { // SatW elseif (strpos($article["link"], "eatthattoast.com/comic/") !== FALSE || strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE){ Various updates, additions Various updates, additions /* dirty absolute URL is ready! */ return $scheme . '://' . $abs; } From b404e3f9c5cb79c1ce2c1b1d88da892bdd69efea Mon Sep 17 00:00:00 2001 Subject: [PATCH] More cleanup.

New Pull Request