Labels Milestones
BackReally 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'], 'dilbert.com/strip/') !== FALSE) { // Timothy Winchester (People I Know elseif (strpos($article['link'], 'cad-comic.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@class="webcomic-image"]//img)', $article); } Some comics supported elseif (strpos($article['link'], 'gunnerkrigg.com/?p') !== FALSE) { // Wondermark (alt tag elseif (strpos($article['link'], 'paintraincomic.com/comic/') !== FALSE) { // Poly In Pictures elseif (strpos($article['link'], 'polyinpictures.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } // Questionable Content (cleanup // only keep everything starting at the first if (preg_match("@.*(
- 6.030216e-001 7.977249e-001 -0.000000e+000 vertex 7.097801e+000 1.470900e-002 1.747200e+001.
- For: MCV_1,5/5-GF-3.81; number of pins: 07; pin.