3
1
Back

In progress; better README to come soon. Meanwhile: **Untested hardware and software — Do not assume anything works!** This is a few comics; standardized appending alt/title text under images (extra useful for non-browser users) Clean up code formatting; added a few comics; standardized appending alt/title text Added The Trenches; yet more code style tweaking elseif (strpos($article["link"], "sorcery101.net/the-city-between/thebettertofindyouwith") !== FALSE) { // Dilbert elseif (strpos($article['link'], 'amultiverse.com/comic/') !== FALSE) { $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'] = $this->get_img_tags($xpath, "//div[@id='content']/img", $article); } // Least I Could Do (wtf image size? If (preg_match("@.*()@", $article['content'], $matches)) { $img = $matches[1]; } } //noop elseif (strpos($article['content'], 'invisiblebread.com/2') !== FALSE) { //also append the blarg post because that's small, interesting, //and sometimes necessary for voltage dividers feeding chip inputs don't do manual connection to GND if you want to dig into the linked page for content, e.g. Alt tags. */ global $fetch_last_content_type; $html .

New Pull Request