3
1
Back

-3.543312,5.0196934 V 5.2165449" d="m -3.444887,5.1181194 h -0.19685" d="m -3.5433111,11.318904 v 0.196852" d="m -3.4448861,11.41733 h -0.19685" d="M -3.543312,5.0196934 V 5.2165449" d="m -3.444887,5.1181194 h -0.19685" d="m 3.4251925,7.1850396 v 0.196852" d="m 3.5236219,3.1496062 h -0.19685" d="M 2.4803044,6.7913398 V 6.9881903" d="m 2.5787294,6.889765 h -0.19685" d="M -6.8897674,5.0196917 V 5.2165422" d="m -6.7913424,5.1181169 h -0.19685" d="M -6.8897674,5.0196917 V 5.2165422" d="m -6.7913424,5.1181169 h -0.19685" d="M -3.5433071,7.381896 V 7.5787465" d="m -3.4448821,7.4803212 h -0.19685" d="m 3.4251927,4.4291344 v 0.196852" d="m -6.7913424,11.41733 h -0.19685" d="m 3.4251927,4.4291344 v 0.196852" d="m 3.5236169,5.9055122 h -0.19685" d="M -8.8582714,2.4606366 V 2.6574871" d="m -8.7598464,2.5590618 h -0.19685" d="M 2.4803044,6.7913398 V 6.9881903" d="m 2.5787294,6.889765 h -0.19685" d="m 2.9527508,8.8202247 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 $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="main"]//img)', $article); elseif (strpos($article['content'], 'imgs.xkcd.com/comics/') !== FALSE) { // Softer World (alt tags we don't need to call out for) elseif (strpos($article['content'], 'invisiblebread.com/2') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="aftercomic"]//img)', $article); $article['content'] = $this->get_img_tags($xpath, '(//div[@class="webcomic-image"]//img)', $article); .

New Pull Request