3
1
Back

D="m -3.5433111,11.318904 v 0.196852" d="m -3.4448861,11.41733 h -0.19685" d="M 2.4803057,3.0511816 V 3.2480321" d="m 2.5787307,3.1496068 h -0.19685" d="M 3.4251924,8.759842 V 8.9566925" d="m 3.5236174,8.8582672 h -0.19685" d="M -6.8897674,5.0196917 V 5.2165422" d="m -6.7913424,5.1181169 h -0.19685" d="m -2.5590543,2.521019 v 0.07874" d="m -2.5196841,2.5590618 h -0.07874" d="m -0.59055042,2.521019 v 0.07874" d="M 2.992121,8.8582675 H 2.913381" It's really just a quick and dirty content rewriting engine with code already written for about a dozen webcomics. Examples: Joy of Tech elseif (strpos($article['link'], 'https://web3isgoinggreat.com/single/') !== FALSE) { $doc = new DOMXpath($doc); $imgs = $xpath->query('//img'); //doesn't get simpler than this } //No matches if ($img->getAttribute('title')) { $article['content'] .= "
$orig_content
"; // Awkward Zombie $orig_content = strip_tags($article['content']); $article['content'] = $doc->saveXML(); } Some comics supported elseif (strpos($article['link'], 'awkwardzombie.com/index.php?comic') !== FALSE) { //no-op else { return $this->mangle_article($article); } catch (Exception $e) { $article['content'] = $this->get_img_tags($xpath, "//p[@id='comic_body']//a//img", $article); } // Three Panel Soul elseif (strpos($article['link'], 'dilbert.com/strip.

New Pull Request