3
1
Back

Updates, additions elseif (strpos($article["link"], "poorlydrawnlines.com/comic/") !== FALSE ) { // Awkward Zombie elseif (strpos($article['link'], 'breakingcatnews.com/comic/') !== FALSE) { $article['content'] .= "

" . $entry->ownerDocument->saveXML($entry) . ""; // Softer World (alt tags we don't need to call out for) elseif (strpos($article['content'], 'wondermark.com/c') !== FALSE) { // round shaft hole cylinder(r=shaft_radius,h=shaft_height, $fn=shaft_smoothness); if(shaft_is_flatted == true } } // Poorly Drawn Lines // Berkeley Mews // $img_tag = $this->get_img_tags($xpath, "//div[@class='img-comic-container']//img", $article); } Assorted updates Assorted updates elseif (strpos($article["link"], "www.smbc-comics.com/comic/") !== FALSE) { // $xpath = $this->get_xpath_dealie($article['link']); $orig_content = strip_tags($article['content']); $article['content'] = $this->get_img_tags($xpath, '(//div[@class="webcomic-image"]//img)', $article); } // Three Panel Soul elseif (strpos($article['link'], 'campcomic.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//img[@class='comic']", $article); //also get blog $entries = $xpath->query("//div[@class='entry']"); if (preg_match("@.*(.*)@", $article['content'], $matches)) { if (preg_match("@.*()@", $article['content'], $matches)) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } // Three Panel Soul // Two Lumps elseif (strpos($article['link'], 'campcomic.com/comic/') !== FALSE) { .

New Pull Request