3
1
Back

Contents Synth Wizards Modules Faceplate Style Notes Very much WIP; take these as suggestions until we get a bit 057198b8de MK VCO and Luthers Update README.md 32ece2d681b26731bad50902587b988d6a79e43e updated README.md updated README.md 40588ba725f2f6c7240cc5d95c2a8af539e27e15 Update README.md 83b013c3637bfb179ad62b90a6c8b2f5fb547c8c Update README.md 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'], 'dead-philosophers.com/?p') !== FALSE) { //noop elseif (strpos($article['content'], 'imgs.xkcd.com/comics/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $aftercomic = $this->get_img_tags($xpath, "//div[@id='comic-1']//img", $article); // $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//img[contains(@src, 'sp') and contains(@src, 'comics')]", $article); } // Least I Could Do (wtf image size? Elseif (strpos($article['link'], 'jesusandmo.net') !== FALSE) { $xpath = new DOMXpath($doc); elseif (strpos($article['link'], 'questionablecontent') !== FALSE) { $xpath.

New Pull Request