3
1
Back

Yet more code style tweaking // The Trenches elseif (strpos($article["link"], "manicpixienightmaregirls.com/") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '//td/img[contains(@src, "/comics/images/")]', $article); // Least I Could Do (wtf image size?) elseif (strpos($article['link'], 'www.geekculture.com/joyoftech/') !== FALSE) { //also append the blarg post because that's small, interesting, $entries = $xpath->query("//div[@id='comic-notes']"); foreach ($entries as $entry) { $article['content'] = preg_replace('#(/[0-9-]+)-150x150\.gif#', '$1.gif', $article['content']); $article['content'] = $this->get_img_tags($xpath, "//img[@class='comic']", $article); //also get blog entry $entries = $xpath->query("//div[@class='entry']"); foreach ($entries as $entry) { $article['content'] .= "
Alt: " . $img->getAttribute('title') . ""; } } // Scenes From A Multiverse (to.

New Pull Request