3
1
Back

D="M -3.543312,5.0196934 V 5.2165449" d="m -3.444887,5.1181194 h -0.19685" d="M -3.5433071,7.381896 V 7.5787465" d="m -6.7913384,7.4803212 h -0.19685" d="M 2.4803055,8.7598422 V 8.9566927" d="m 2.5787305,8.8582674 h -0.19685" d="m -6.8897674,11.318904 v 0.196852" d="m -6.7913424,11.41733 h -0.19685" d="M -6.8897634,7.381896 V 7.5787465" d="m -6.7913384,7.4803212 h -0.19685" d="m -6.8897674,11.318904 v 0.196852" d="m 3.5236169,5.9055122 h -0.19685" d="M -8.8582714,2.4606366 V 2.6574871" d="m -5.2952793,2.5590618 h -0.19685" d="m 3.4251925,7.1850396 v 0.196852" d="m 3.5236219,3.1496062 h -0.19685" d="m -2.5590543,2.521019 v 0.07874" d="M 2.992121,8.8569411 H 2.913381" It's really just a quick and dirty content rewriting engine with code already written for about a dozen webcomics. Examples: * Least I Could Do (wtf image size?) $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@class='comicpage']//img[contains(@src, 'uploads')]", $article); elseif (strpos($article['link'], 'jesusandmo.net') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); elseif (strpos($article['link'], 'threepanelsoul.com/2') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } // Dinosaur Comics (alt tags+blog), CAD, attempt at OOTS (but that one fails due to referer checks elseif (strpos($article['link'], 'gunnerkrigg.com/?p') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '//td/img[contains(@src, "/comics/images/")]', $article); $article['content'] .= "
Alt: " . $article['id']; } return.

New Pull Request