3
1
Back

| 206 Update README.md 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: * Least I Could Do (wtf image size? If(preg_match("@.*()@", $article['content'], $matches)){ $img = $matches[1]; } } } // Pain Train alt tag, Alice Grove bigger img Pain Train alt tag, Alice Grove (get bigger image // $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); function mangle_article($article) { // Timothy Winchester (People I Know) elseif (strpos($article['link'], 'twolumps.net/d/') !== FALSE) { // Scenes From A Multiverse (to get alt tags) // Scenes From A Multiverse (to get alt tags) } // Scenes From A Multiverse (to get alt tags) } // Three Panel Soul $xpath = $this->get_xpath_dealie($article['link']); // $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic-1']//img", $article); } */ // // Whether to create cutouts around the top knob top_row = height - 25; // build up seven rows; middle one unused row_2 = row_1 + vertical_space/7; row_3 = working_increment*2 + row_1; row_3 = row_2 + vertical_space/7; row_7 = row_6 + vertical_space/7; row_3 = row_2 + vertical_space/7; row_6 = row_5 + vertical_space/7; row_5 = working_increment*4 + row_1; //special-case the top to indicate current.

New Pull Request