3
1
Back

"spice_external_command": "spice \"%I\"", More tweaks after pro review "spice_external_command": "spice \"%I\"", More tweaks after pro review elseif (strpos($article['link'], 'polyinpictures.com/comic/') !== FALSE) { Fix for when invisiblebread has no bread Pain Train (to get alt tags elseif (strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE){ $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comicbody"]//img)', $article) . $article['content']; } // Joy of Tech $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@class="post"]//img)', $article); // The Trenches elseif (strpos($article["link"], "trenchescomic.com/comic/post/") !== FALSE && strpos($article["title"], "Comic:") !== FALSE) { // Robot Hugs elseif (strpos($article['link'], 'dead-philosophers.com/?p') !== FALSE) { //also append the blarg post because that's small, interesting, //and sometimes necessary for old fogeys like me to get what game it's about $article['content'] .= "

" . $entry->textContent . "

"; } } // Poly In Pictures elseif (strpos($article['link'], 'cad-comic.com/cad/') !== FALSE) { $article['content'] .= "
Alt: " . $img->getAttribute('title') . ""; } } Clean up code formatting; added a few comics; standardized appending alt/title text under images (extra useful for non-browser users if (preg_match("@.*(getAttribute('title') . ""; } } .

New Pull Request