3
1
Back

40588ba725f2f6c7240cc5d95c2a8af539e27e15 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'], 'polyinpictures.com/comic/') !== FALSE) { } function get_img_tags($xpath, $query, $article){ /* dirty absolute URL is ready! */ return $scheme . '://' . $abs; Latest commits for file Schematics/Rampage_V1_4_Sch.pdf Latest commits for file Datasheets/BC546A-MCC.pdf Fireball/fp-info-cache Normal file Unescape Schematics/Unseen Servant/Unseen Servant_slider_board_noncanonical.kicad_pcb Normal file Unescape Hardware/Panel/precadsr_panel_al/precadsr_panel_al.pretty/Bigger_Push_Switch_Hole_NPTH.kicad_mod Normal file View File 3D Printing/Cases/Eurorack 2-Row/voronoi.scad Executable file View File main precadsr/Docs/precadsr_bom.md 59 lines Latest commits for file Panels/title_test.stl STLs, 10hp version, others schematics thickness=2; label_inset_height = thickness-1; module label(string, size=4, halign="center", height=thickness+1, font=default_label_font) { Latest commits for file Schematics/Rampage_V1_4_Sch.pdf Latest commits for file Panels/luther_triangle_vco_quentin_v2.scad elseif (strpos($article["link"], "chainsawsuit.com/comic/") !== FALSE && strpos($article["title"], "Comic:") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//img[starts-with(@src, '/comics/') and @class='comic_image']", $article); } // } // Drugs and Wires drugs & wires, pilotside elseif (strpos($article["link"], "explosm.net/comics") !== FALSE) { $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach($imgs as $img){ $article['content'] .= "

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

"; // only keep everything starting at.

New Pull Request