Labels Milestones
Back"//div[@class='comic-wrap']", $article); //Sites that provide images and just need alt tags textified. } //Sites that provide images and just need alt tags if both exist elseif (strpos($article['link'], 'http://www.geekculture.com/joyoftech/') !== FALSE) { // CTRL+ALT+DEL Sillies elseif (strpos($article['link'], 'cad-comic.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $orig_content = strip_tags($article['content']); //also append the blarg post because that's small, interesting, //and sometimes necessary for old fogeys like me to get what game it's about $orig_content = strip_tags($article['content']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='content']/img", $article); } Added The Trenches; yet more code style tweaking elseif (strpos($article["link"], "eatthattoast.com/comic/") !== FALSE ) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@class='comicpage']//img[contains(@src, 'ENG_')]", $article); } // Least I Could Do (wtf image size? If (preg_match("@.*(
- -2.129190e-001 3.650234e-001 9.063241e-001 vertex 1.743102e+000 -5.031560e+000.
- 4.353410e-003 2.095953e-001 facet normal 0.773058 0.634335 0.
- -4.052033e+000 -1.693851e+000 2.484855e+001 facet normal 0.643699 0.528205 0.553761.
- -0.768498 -0.630632 0.108232 facet normal 6.417346e-001.