3
1
Back

Layout Based on https://github.com/oguzbilgic/fpd, which has broken alt tags elseif (strpos($article['content'], 'imgs.xkcd.com/comics/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $orig_content = strip_tags($article['content']); $article['content'] = $this->get_img_tags($xpath, "//img[starts-with(@src, 'sp') and contains(@src, 'comics')]", $article); } // Joy of Tech $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, "//p[@id='comic_body']//img", $article); $article['content'] .= "
Alt: " . $article['id']; } return $article; } if(ADD_IDS){ $article['content'] .= "" . $msg . ""; } if (strpos($article['link'], 'eatthattoast.com/comic/') !== FALSE) { Gunnerkrigg and cleanup of alt-tag-only sites Invisible Bread, Softer World.

New Pull Request