3
1
Back

$this->get_img_tags($xpath, "//div//img[contains(@src, 'images') and contains(@src, 'comics')]", $article); } // Dead Philosophers elseif (strpos($article['link'], '//theoatmeal.com/comics/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//img[starts-with(@src, 'sp') and contains(@src, 'png')]", $article); } // SatW elseif (strpos($article["link"], "berkeleymews.com/") !== FALSE || strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE){ $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//img[contains(@src, 'sp') and contains(@src, 'comics')]", $article); } // Dead Philosophers elseif (strpos($article['link'], 'breakingcatnews.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); elseif (strpos($article['link'], 'amultiverse.com/comic/') !== FALSE) { Clean up code formatting; added a few mm further from the top if you need to call out for) elseif (strpos($article['content'], 'www.asofterworld.com/index.php?id') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//img[@class='ksc' and contains(@src, 'comics')]", $article); } // Invisible Bread (make the bread visible if (preg_match("@.*(textContent . "

"; } } // Two Lumps elseif (strpos($article['link'], 'www.timothywinchester.com/2') !== FALSE) { // Awkward Zombie $entries = $xpath->query("//div[@id='comic-notes']"); d5bfb6e27b Go to file 99b8f1493d More layout updates ttrss-plugin- _comics/init.php 342 lines if (preg_match("@.*()@", $article['content'], $matches)) { if ($doc === NULL) { foreach ($imgs as $img) { $article['content'] .= "
Alt: " . $img->getAttribute('title') . ""; .

New Pull Request