Labels Milestones
BackFrom 2c2abd88373d920f2947e97b48bd4d62ed1339f7 Mon Sep 17 00:00:00 2001 Subject: [PATCH] Fix 3-panel soul drugs & wires, pilotside elseif (strpos($article["link"], "drugsandwires.fail/dnwcomic/") !== FALSE) { $doc = new DOMDocument(); elseif (strpos($article['link'], 'dead-philosophers.com/?p') !== FALSE) { // $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@class="post"]//img)', $article); $article['content'] .= "
$orig_content"; } // Camp Weedonwantcha elseif (strpos($article['link'], 'dilbert.com/strip/') !== FALSE) { $article['content'] .= "
" . $entry->ownerDocument->saveXML($entry) . "
"; // Wondermark (alt tag already present foreach ($imgs as $img) { $article['content'] = $matches[1]; } } // Joy of Tech elseif (strpos($article['link'], 'dead-philosophers.com/?p') !== FALSE) { // Three Panel Soul elseif (strpos($article['link'], 'https://web3isgoinggreat.com/single/') !== FALSE) { $article['content'] .= "$orig_content
"; //also append the blarg post because that's small, interesting, $entries = $xpath->query("//span[@class='rss-content']"); foreach ($entries as $entry) { $article['content'] .= "$orig_content"; } // Awkward Zombie elseif (strpos($article['link'], 'somethingpositive.net') !== FALSE) { elseif (strpos($article['link'], 'jesusandmo.net') !== FALSE) { $article['content'] .= "
" . $entry->ownerDocument->saveXML($entry) . "
"; } } } Clean up code formatting; added a few comics; standardized appending alt/title text under images (extra useful for non-browser users elseif. New Pull Request