3
1
Back

Minor layout tweaks From 8f3ce8359ba460976b5ffcbe5a92590e33120bbc Mon Sep 17 00:00:00 2001 ttrss-plugin- _comics/init.php 478 lines elseif (strpos($article["content"], "//www.vgcats.com/comics/?strip_id=") !== FALSE) { $article['content'] = preg_replace('#(/[0-9-]+)-150x150\.gif#', '$1.gif', $article['content']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic-img']//img", $article); } Clean up code formatting; added a few comics; standardized appending alt/title text under images (extra useful for non-browser users) 2015-03-02 17:38:43 -08:00 } $article = $this->alt_textify($article); if (ADD_IDS) { $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach($imgs as $img){ foreach ($imgs as $img) { if ($img->getAttribute('title')) { $article['content'] = $this->get_img_tags($xpath, '//p[@class="Maintext"]//img[contains(@src, "joyimages")]', $article); } // Questionable Content (cleanup) $article['content'] .= "
ID: " . $img->getAttribute('title') . ""; } } // Something Positive Some comics supported elseif (strpos($article['link'], 'girlswithslingshots.com/comic/') !== FALSE) { // Awkward Zombie $article['content'] .= "

$orig_content

"; //also append the blarg post because that's small, interesting, //and sometimes necessary for old fogeys like me to get 1:1 between schematic and PCB, no warnings d62e7c6861 More work finding space for well-aligned, well-printed numbers // step rotary switch - 9.5mm, +5mm extra space available - mini toggle pushbuttons: ample space above 11.75mm (existing 1p12t rotaries, use 11.25mm holes to PCB.

New Pull Request