3
1
Back

True); define('ADD_IDS', False); define("GDORN_DEBUG", False); class _comics extends Plugin { function about() { return $this->mangle_article($article); } catch (Exception $e) { $article['content'] .= "
Alt: " . $img->getAttribute('title') . ""; } //noop } // Joy of Tech elseif (strpos($article['link'], 'twolumps.net/d/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $orig_content = strip_tags($article['content']); $article['content'] = $this->get_img_tags($xpath, '//p[@class="Maintext"]//img[contains(@src, "joyimages")]', $article); } Various updates, additions // PhD Unknown elseif (strpos($article["link"], "sorcery101.net/the-city-between/thebettertofindyouwith") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article); // $article['content'] = $this->get_img_tags($xpath, "//img[starts-with(@src, 'sp') and contains(@src, 'uploads') and contains(@src, 'png')]", $article); } // Timothy Winchester (People I Know foreach ($imgs as $img) { if (two_holes_type == "center") { } //Sites that provide images and just need alt tags elseif (strpos($article['link'], 'gunnerkrigg.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.

New Pull Request