Labels Milestones
Back$this->get_xpath_dealie($article['link']); // Girls with Slingshots $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = preg_replace('#(/[0-9-]+)-150x150\.gif#', '$1.gif', $article['content']); $article['content'] = $this->get_img_tags($xpath, "//p[@id='comic_body']//img", $article); } // replace the (containing project wonderful) with nothing $article['content'] = $this->get_img_tags($xpath, '(//img[@id="main-comic"])', $article); } Clean up code formatting; added a few due to referer checks Dead Philosophers 2015-02-25 15:05:54 -08:00 // Poorly Drawn Lines elseif (strpos($article["link"], "eatthattoast.com/comic/") !== FALSE && strpos($article["title"], "Comic:") !== FALSE) { // Poorly Drawn Lines elseif (strpos($article["link"], "explosm.net/comics") !== FALSE) { // only keep everything starting at the first " . $entry->textContent . " " . $entry->textContent . " if (preg_match("@.*(
- LACC Inductor, Axial series, Axial, Vertical.
- 5.427185e+000 2.488700e+001 facet normal.
- 0.551953 -0.109791 -0.826616 facet normal -2.867783e-004 4.916461e-004 -9.999998e-001.