3
1
Back

Switch for two bugs in Doghouse Diaries rss: spaces in img src and quotes in alt/title text under images (extra useful for non-browser users) 2015-03-02 17:38:43 -08:00 } $article = $this->alt_textify($article); $entries = $xpath->query("//div[@id='blarg']/div[last()]"); // Scenes From A Multiverse (to get alt tag) elseif (strpos($article['link'], 'cad-comic.com/cad/') !== FALSE) { // CTRL+ALT+DEL elseif (strpos($article['link'], 'www.robot-hugs.com/') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, "//div[@class='singleImage']/img[@class='magicfields']", $article); $article['content'] = $matches[1]; $img = preg_replace("@height=\"\d+\"@", "", $img); $img = preg_replace("@height=\"\d+\"@", "", $img); $article['content'] = $this->get_img_tags($xpath, "//div[@class='comicpage']//img[contains(@src, 'ENG_')]", $article); } Clean up code formatting; added a few comics; standardized appending alt/title text 2015-04-12 23:37:10 -07:00 Latest commits for file Samba Reggae rhythms.txt 29 lines From 84596d5a5ed3dcb31f8d011b430a2595f00d25a1 Mon Sep 17 00:00:00 2001 Subject: [PATCH] edits README.md file 33729ec97f6dd2ed68c4ca06088ce0b21651948d Align panel to integer pseudo-origin, remove testing text, decrease title label font size for FIREBALL to unpaint ourselves from the top knobs top_row = height - v_margin; working_increment = (working_height-v_margin+thickness) / (9); // generally-useful spacing amount for vertical columns of stuff col_left = thickness * 2; right_rib_x = width_mm - h_margin; input_column = h_margin; bottom_row = v_margin + 12; row_2 = row_1 + v_margin + 12; row_2 = row_1 + v_margin + 12; //knob_radius top_row = height * rotate_vector_cos; points = [ [left_edge, rotate_vector_cos * rail_depth], // top horizontal rib // h_wall(h=4, l=right_rib_x); // middle horizontal rib // h_wall(h=4, l=right_rib_x); } module make_surface(filename, h) { for (a = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16]) linear_extrude(height=a/h, convexity=10) projection(cut = true) surface(filename, center=true); } // Least I Could Do (wtf image size? If(preg_match("@.*()@", $article['content'], $matches)){ $img = preg_replace("@width=\"\d+\"@", "", $img); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article); $article['content'] = $this->get_img_tags($xpath, '(//img[@id="main-comic"])', $article); } // XKCD (alt tags we don't need to call out for) elseif (strpos($article['content'], 'www.asofterworld.com/index.php?id') !== FALSE) { // replace the

(containing project wonderful) with nothing $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } Some comics supported elseif (strpos($article['link'], 'dead-philosophers.com/?p') !== FALSE) { elseif (strpos($article['link'], 'cad-comic.com/sillies/') !== FALSE) { // Joy of.

New Pull Request