3
1
Back

1.2204729,7.6141757 H 1.5354336" d="M 1.692914,7.6141757 H 1.8897644" d="M 0.70866165,8.4015775 V 8.598428" d="M 1.2204729,7.6141757 H 1.5354336" d="M 1.692914,7.6141757 H 1.8897644" d="M 0.70866165,8.4015775 V 8.598428" d="M 1.2204729,7.6141757 H 1.5354336" d="M 1.692914,7.6141757 H 1.8897644" d="M 0.70866165,8.4015775 V 8.598428" d="M 1.2204729,7.6141757 H 1.5354336" d="M 1.692914,7.6141757 H 1.8897644" d="M 0.70866165,8.4015775 V 8.598428" d="M 1.2204729,7.6141757 H 1.5354336" d="M 1.692914,7.6141757 H 1.8897644" d="M 0.70866165,8.4015775 V 8.598428" d="M 0.98425229,8.3228372 V 8.5196877" d="M 1.2204729,8.0472466 V 8.2440971" d="M 1.4566934,7.8503962 V 8.0472466" d="M 1.692914,7.6535458 V 7.8503962" d="m 1.8897644,26.237798 -1.65354393,-3e-6" d="m 0.39370092,26.040948 v 0.19685" d="m -6.7913424,12.992133 h -0.19685" d="M -8.8582714,2.4606366 V 2.6574871" d="m -8.7598464,2.5590618 h -0.19685" d="m 3.4251919,5.8070862 v 0.196852" d="m 3.5236175,7.2834656 h -0.19685" d="M 2.4803098,7.7755925 V 7.972443" d="m 2.5787348,7.8740177 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: * Least I Could Do (wtf image size? Elseif (strpos($article['link'], 'questionablecontent') !== FALSE) { elseif (strpos($article['link'], 'breakingcatnews.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } // Cyanide & Happiness elseif (strpos($article["link"], "berkeleymews.com/") !== FALSE ) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $img; } } // Joy of Tech elseif (strpos($article['link'], 'dead-philosophers.com/?p') !== FALSE) { // Eat That Toast elseif (strpos($article["link"], "www.smbc-comics.com/comic/") !== FALSE) { $article['content'] = $doc->saveXML(); } // Drugs and Wires elseif (strpos($article["link"], "poorlydrawnlines.com/comic/") !== FALSE || strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE) { // Chainsawsuit // Chainsawsuit elseif (strpos($article["link"], "manicpixienightmaregirls.com/") !== FALSE) { // Doghouse Diaries, which has broken alt tags elseif (strpos($article['link'], 'cad-comic.com/comic/') .

New Pull Request