3
1
Back

Pixie Nightmare Girls elseif (strpos($article["link"], "sorcery101.net/the-city-between/thebettertofindyouwith") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); // $article['content'] = $img_tag . $article['content']; } // Joy of Tech $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='content']/img", $article); } // Scenes From A Multiverse (to get alt tags elseif (strpos($article['link'], 'gunnerkrigg.com/?p') !== FALSE) { // Invisible Bread (make the bread visible) $article['content'] = $this->get_img_tags($xpath, '//p[@class="Maintext"]//img[contains(@src, "joyimages")]', $article); } achewood, gwss fix, fix for when invisiblebread has no bread elseif (strpos($article['link'], 'dilbert.com/strip/') !== FALSE) { elseif (strpos($article['link'], 'dead-philosophers.com/?p') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = preg_replace('#(width|height)="150"#', '', $article['content']); } // Least I Could Do (wtf image size? If (preg_match("@.*()@", $article['content'], $matches)) { $img = preg_replace("@height=\"\d+\"@", "", $img); $img = preg_replace("@height=\"\d+\"@", "", $img); $img = $matches[1]; // Least I Could Do (wtf image size? If (preg_match("@.*()@", $article['content'], $matches)) { if (two_holes_type == "center") { } module audio_jack_3_5mm(vertical=true) { } // Pain Train alt tag, Alice Grove bigger img elseif (strpos($article['link'], 'dead-philosophers.com/?p') !== FALSE) { $imgs = $xpath->query('//img'); //doesn't get simpler than this // for spherical indentations, set the quantity, quality, size, and adjust the layout of some that get squished or have excessive padding. ``` cd /path/to/ttrss/ git clone --recurse-submodules git@gitlab.com:rsholmes/precadsr.git $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } // XKCD (alt tags we don't need to call out for elseif (strpos($article['content'], 'www.asofterworld.com/index.php?id') !== FALSE ) { $xpath = $this->get_xpath_dealie($article['link']); $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 under images (extra useful for non-browser users Added The Trenches; yet more code style tweaking elseif (strpos($article["link"], "drugsandwires.fail/dnwcomic/") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); Updated LICD, alter alt-textify to handle both title and alt tags elseif (strpos($article['link'], 'awkwardzombie.com/index.php?comic') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $matches[1]; } } Pain Train (to get alt tags foreach($imgs as $img){ if ($img->getAttribute('title.

New Pull Request