3
1
Back

Comic, just a quick and dirty content rewriting engine with code already written for about a dozen webcomics. Examples: Joy of Tech $xpath = $this->get_xpath_dealie($article['link']); // Girls with Slingshots $entries = $xpath->query("//div[@id='blarg']/div[last()]"); foreach ($entries as $entry) { $article['content'] = $img_tag . $article['content']; // Cyanide & Happiness elseif (strpos($article["link"], "www.phdunknown.com/index.php?id=") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic-img']//img", $article); // $xpath = $this->get_xpath_dealie($article['link']); $aftercomic = $this->get_img_tags($xpath, '//td/img[contains(@src, "/comics/images/")]', $article); } // Timothy Winchester (People I Know) // Timothy Winchester (People I Know foreach ($imgs as $img) { $article['content'] .= "

$orig_content

"; //also append the blarg post because that's small, interesting, $entries = $xpath->query("//span[@class='rss-content']"); foreach ($entries.

New Pull Request