3
1
Back

Doc From 13c8bcac477b612d33e1b1cfe89a6f9adc0a8935 Mon Sep 17 00:00:00 2001 Subject: [PATCH] Fix 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 elseif (strpos($article['content'], 'wondermark.com/c') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = preg_replace('#(/[0-9-]+)-150x150\.gif#', '$1.gif', $article['content']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='content']/img", $article); } Clean up code formatting; added a few comics; standardized appending alt/title text 3D Printing/Panels/AD&D 1e spell names in Filmoscope Quentin/Panels/HOLD PORTAL.png From dcaec240831d28b722a7d7988287c76a1461e439 Mon Sep 17 00:00:00 2001 Subject: [PATCH] Checkpoint after fixes but before shrinking boards 007cc05932dfa23f85127799f5505afc7b25772e Stuff all teh scad files in Still trying to add glide Latest commits for file Panels/FireballSpell_Large.webp Images/PXL_20210831_000922493.jpg Normal file Unescape Hardware/Panel/precadsr-panel-Gerbers/precadsr-panel-CuTop.gtl Normal file Unescape From d433f7c09a85cc6fc15536169665e257a929b9f6 Mon Sep 17 00:00:00 2001 ttrss-plugin- _comics/init.php 356 lines class _comics extends Plugin { function about() { return $rel; } if ($rel[0] == '/') { $path = preg_replace('#/[^/]*$#', '', $path); if ($rel[0] == '/') { $path = ''; foreach ($entries as $entry){ $article['content'] .= "
ID: " . $img->getAttribute('title') . ""; } // Questionable Content (cleanup) elseif (strpos($article['link'], 'www.geekculture.com/joyoftech/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $img; } //Sites that provide images and just need alt tags textified. $doc->loadHTML($article['content']); //no-op $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach($imgs as $img){ // Softer World (alt tags), Dinosaur Comics Cleanup $entries = $xpath->query("//span[@class='rss-content']"); foreach ($entries as $entry){ $orig_src = $entry->getAttribute('src'); $new_src = $this->rel2abs($orig_src, $article['link']); $entry->setAttribute('src', $new_src); $result_html .= "
Alt: " . $img->getAttribute('title') . ""; } } 0 0 Y N 2 F N DEF SW_Push_Open_Dual_x2 SW 0 0 Y N 1 F N DEF SW_DPST SW 0 40 N N 1 F N DEF SW_Push_45deg SW 0 40 Y Y 1 F N DEF 3_pin_Molex_header J 0 40 Y Y 1 F N DEF SW_DIP_x10 SW 0 1 Y Y 5 N DEF LM3900N U 0 40 Y N 1 F N DEF SW_SPDT SW 0 0 Y N 1 F N DEF MountingHole H 0 40 Y Y 1 F N DEF Graphic GRAF 0 40 Y Y 1 F N DEF SW_DIP_x01 SW 0 40 Y N 1 F N DEF SW_Push_SPDT SW 0 40 Y N 2 F N DEF 2_pin_Molex_header J 0 40 Y N 1 F N DEF SW_DIP_x04 SW 0 40 Y N 2 F N DEF SW_Rotary4x3 SW 0 0 vertex -2.69268 2.0165 6.59 vertex 0 -9 3.82299 vertex -3.54289 8.26214 3.82299 facet normal 0.625096 -0.250125 0.739387 facet normal -0.114987 0.957361 0.265023 facet.

New Pull Request