3
1
Back

From 48c37ce59a4bd2d9139dbe5353bbf5dd0a556754 Mon Sep 17 00:00:00 2001 Subject: [PATCH] More layout updates ttrss-plugin- _comics/init.php 468 lines elseif (strpos($article["link"], "www.phdunknown.com/index.php?id=") !== FALSE) { // Doghouse Diaries, which has broken alt tags elseif (strpos($article['link'], 'twolumps.net/d/') !== FALSE) { elseif (strpos($article['link'], '//theoatmeal.com/comics/') !== FALSE) { elseif (strpos($article['link'], 'twolumps.net/d/') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='content']/img", $article); } // XKCD (alt tags we don't need to call out for foreach ($imgs as $img) { if (parse_url($rel, PHP_URL_SCHEME) != '' || substr($rel, 0, 2) == '//') { return $base . $rel; } extract(parse_url($base)); $path = preg_replace('#/[^/]*$#', '', $path); if ($rel[0] == '/') { $path = preg_replace('#/[^/]*$#', '', $path); if ($rel[0] == '/') { $path = preg_replace('#/[^/]*$#', '', $path); if ($rel[0] == '#' || $rel[0] == '?') { return $article; } $article = $this->alt_textify($article); $entries = $xpath->query("//div[@id='signoff-wrapper']"); // Pain Train alt tag, Alice Grove (get bigger image // $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = preg_replace('#(/[0-9-]+)-150x150\.gif#', '$1.gif', $article['content']); $article['content'] = $this->get_img_tags($xpath, "//div[@class='comicpage']//img[contains(@src, 'ENG_')]", $article); } Clean up.

New Pull Request