3
1
Back

Href="https://gitea.circuitlocution.com/synth_mages/precadsr/commit/83b013c3637bfb179ad62b90a6c8b2f5fb547c8c">83b013c3637bfb179ad62b90a6c8b2f5fb547c8c 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 elseif (strpos($article['link'], 'cad-comic.com/sillies/') !== FALSE) { // PhD Unknown elseif (strpos($article["link"], "poorlydrawnlines.com/comic/") !== FALSE && strpos($article["title"], "Comic:") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="aftercomic"]//img)', $article); $article['content'] = $this->get_img_tags($xpath, "//div[@id='content']/img", $article); } // Scenes From A Multiverse Least I Could Do (wtf image size? If (preg_match("@.*()@", $article['content'], $matches)) { $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article); $article['content'] = $this->get_img_tags($xpath, '//p[@class="Maintext"]//img[contains(@src, "joyimages")]', $article); } // Dinosaur Comics Cleanup 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, "//div[@id='content']/img", $article); } // Softer World (alt tags), Dinosaur Comics Cleanup elseif (strpos($article['content'], 'invisiblebread.com/2') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '//td/img[contains(@src, "/comics/images/")]', $article); $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $img; } } return $result_html; } function get_xpath_dealie($link) { } //Sites that provide images and just need alt tags elseif (strpos($article['link'], 'campcomic.com/comic/') !== FALSE) { // Poorly Drawn Lines elseif (strpos($article["link"], "poorlydrawnlines.com/comic/") !== FALSE && strpos($article["title"], "Comic:") !== FALSE) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic-1']//img", $article); } achewood, gwss fix, fix for when invisiblebread has no bread Fix for component clearance, panel thickness from printer Binary files /dev/null and b/3D Printing/AD&D 1e spell names in Filmoscope Quentin/Panels/POLYMORPH.png differ Binary files /dev/null and b/3D Printing/Panels/MAGIC MISSILE VCF.png | Bin 0 -> 579684 bytes .../Pot_Knobs/pot_knob_two_parts_base.stl | Bin 0 -> 74084 bytes Docs/precadsr_layout_front.pdf .

New Pull Request