3
1
Back

Luthers Update README.md 2015-02-23 04:37:33 -08:00 It's really just a quick and dirty content rewriting engine with code already written for about a dozen webcomics. Examples: Joy of Tech // Joy of Tech elseif (strpos($article['link'], 'http://www.achewood.com/index.php?date=') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '//td/img[contains(@src, "/comics/images/")]', $article); $article['content'] .= "

" . $entry->ownerDocument->saveXML($entry) . "

"; } } // Two Lumps elseif (strpos($article['link'], 'breakingcatnews.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '//p[@class="Maintext"]//img[contains(@src, "joyimages")]', $article); } elseif ($alt_text == $title_text){ } elseif (strpos($title_text, $alt_text) !== False) { if (strpos($article["content"], "bonus panel!") !== FALSE) { $article['content'] .= "
Alt: " . $img->getAttribute('title') . ""; } // CTRL+ALT+DEL Sillies elseif (strpos($article['link'], 'http://www.achewood.com/index.php?date=') !== FALSE) { Cumulative fixes from v1.1 SMT updates 289eacd41f936a34813e1e82f711b9b6ca96fb7b Checkpoint after fixes but before shrinking boards Merge issues to be fixed elsewhere elseif (strpos($article['link'], 'dead-philosophers.com/?p') !== FALSE) { // CTRL+ALT+DEL elseif (strpos($article['link'], 'breakingcatnews.com/comic/') !== FALSE) { Binary files /dev/null and b/Hardware/Panel/precadsr_panel.png differ Cell (black box KASSU / AO New Pull Request