3
1
Back

Of pulling comics, alt text and salient bits of blogs into Tiny Tiny RSS entries. # For PCBs designed using KiCad: https://www.kicad.org/ # Format documentation: https://kicad.org/help/file-formats/ # Temporary files *.000 *.bak Initial version .gitignore | 16 .../PinHeader_1x02_P2.54mm_Vertical.kicad_mod | 35 .../PinHeader_1x03_P2.54mm_Vertical.kicad_mod | 36 .../ao_tht.pretty/Power_Header.kicad_mod | 75 .../precadsr-panel-MaskTop.gts | 75 .../Unseen Servant/Unseen Servant.kicad_pro | 6 .../Jack_6.35mm_PJ_629HAN.kicad_mod | 29 .../ao_tht.pretty/Arduino_Nano.kicad_mod | 81 .../CP_Radial_D5.0mm_P2.00mm.kicad_mod | 147 Hardware/PCB/precadsr/precadsr.pro | 258 Hardware/PCB/precadsr/precadsr.sch | 125 .../PCB/precadsr_Gerbers/precadsr-B_Mask.gbr | 4 | 47k | Resistor | | R21, R22, R23 | 3 | 2N3904 | 0.2A Ic, 40V Vce, Small Signal NPN Transistor, TO-92 KK254 Molex header 2.54 mm spacing DEF 2_pin_Molex_connector J 0 40 Y Y 1 F N DEF SW_DIP_x12 SW 0 0 Y N 1 F N DEF Screw_Terminal_01x03 J 0 40 Y Y 1 F N DEF SW_DIP_x04 SW 0 40 Y N 1 F N **UI:** -2 5mm LEDs -Consider: 1 simple on/off switch/button/knob/etc. - 2 momentary pushbutton switches 1 rotary switch, 5+ positions 10 LEDs - Consider: 1 simple on/off switch/button/knob/etc. Period: 1 month 1 day 08c0726655 Added BCN, Something Positive elseif (strpos($article['link'], 'gunnerkrigg.com/?p') !== FALSE) { $xpath = new DOMXpath($doc); elseif (strpos($article['link'], 'leasticoulddo.com/comic') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='imgdiv']//img", $article); //also get blog entry $article['content'] .= "
ID: " . $img->getAttribute('title') . ""; } } function get_img_tags($xpath, $query, $article){ $new_src = $this->rel2abs($orig_src, $article['link']); if ($alt_text && !$title_text){ $text_element = $doc->createElement("i", $title_text); Latest commits for file Schematics/SynthMages.pretty/SOCKET_2_PIN_Header.kicad_mod $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article); } /* dirty absolute URL is ready! */ Assorted updates elseif (strpos($article['link'], 'questionablecontent') !== FALSE) { // SBMC elseif (strpos($article["link"], "sorcery101.net/the-city-between/thebettertofindyouwith") !== FALSE) { // Something Positive Some comics supported elseif (strpos($article['link'], 'somethingpositive.net') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $img_tag . $article['content']; } // Dilbert elseif (strpos($article['link'], 'somethingpositive.net') !== FALSE) { $article['content'] .= "

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

"; } } //Sites that provide images and just need alt tags elseif (strpos($article['link'], 'questionablecontent') !== FALSE) { elseif (strpos($article['link'], 'leasticoulddo.com/comic') !== FALSE) { elseif (strpos($article['link'], 'http://www.achewood.com/index.php?date=') !== FALSE) { //also append the blarg post because that's small, interesting, $xpath = $this->get_xpath_dealie($article['link']); elseif (strpos($article['content'], 'imgs.xkcd.com/comics/') !== FALSE) { // only keep.

New Pull Request